Back to Currency

GET Method Details for GetByStatus.

Get a list of currency by status (all, inactive, active)

Definition

https://app[x].timelog.com/[account name]/api/v{version}/currency/{status}

Parameters

  • status integer An enum of ActiveStatus, can be all(-1), inactive(0) or active(1)
  • version string The requested API version

Returns

  • [200] A list of currency
    • CurrencyABB string Gets or sets the currency abb.
    • CurrencyID integer Gets or sets the currency identifier.
    • CurrentRate number Gets or sets the current rate.
    • DescriptiveName string Gets or sets the name of the descriptive.
    • IsActive boolean Gets or sets a value indicating whether this instance is active.
    {
      "CurrencyABB": "",
      "CurrencyID": 0,
      "CurrentRate": 0.0,
      "DescriptiveName": "",
      "IsActive": false
    }
  • [400] Status specified is invalid
    • Code integer Gets the code.
    • Details array Gets the details.
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }
  • [401] Invalid authentication token
  • [500] Request to GetByStatus has failed
    • Code integer Gets the code.
    • Details array Gets the details.
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }