Back to Country

GET Method Details for GetAll.

Get all countries

Definition

https://app[x].timelog.com/[account name]/api/v{version}/country/get-all

Parameters

  • version string The requested API version

Returns

  • [200] A list of countries
    • Country string Gets or sets the country name
    • CountryID integer Gets or sets the country ID
    • DefaultCurrencyID integer Gets or sets the default currency ID
    • ISO string Gets or sets the ISO of country
    {
      "Country": "",
      "CountryID": 0,
      "DefaultCurrencyID": 0,
      "ISO": ""
    }
  • [401] Invalid authentication token
  • [500] Request to GetAll 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": ""
    }