Back to Address

GET Method Details for GetHomeAndWork.

Gets the user Home and Work Addresses.

Definition

https://app[x].timelog.com/[account name]/api/v{version}/address/home-work

Parameters

  • version string The requested API version

Returns

  • [200] Home and Work addresses
    • Address string Gets or sets the address.
    • Address2 string Gets or sets the address2.
    • Address3 string Gets or sets the address3.
    • City string Gets or sets the city.
    • CountryName string Gets or sets the name of the country.
    • FullAddress string Gets or sets the full address.
    • FullDetailAddress string Gets or sets the full detail address.
    • Name string Gets or sets the name.
    • Postcode string Gets or sets the postcode.
    • State string Gets or sets the state.
    • Type integer Gets or sets the type.
    • TypeName string Gets or sets the name of the type.
    {
      "Address": "",
      "Address2": "",
      "Address3": "",
      "City": "",
      "CountryName": "",
      "FullAddress": "",
      "FullDetailAddress": "",
      "Name": "",
      "Postcode": "",
      "State": "",
      "Type": 0,
      "TypeName": ""
    }
  • [401] Invalid authentication token
  • [500] Request to GetHomeAndWork 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": ""
    }