Back to Customer

GET Method Details for GetByID.

Get the customer with the customer identifier

Definition

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

Parameters

  • customerID integer Customer identifier
  • version string The requested API version

Returns

  • [200] Customer detail
    • CustomerID integer Gets or sets the customer identifier.
    • CustomerStatusID integer Gets or sets the customer status ID
    • DefaultMileageDistance integer Gets or sets the default mileage
    • ID string Gets or sets the identifier.
    • Name string Gets or sets the name.
    • No string Gets or sets the no.
    • OrganizationNo string Gets or sets the organization no.
    • VATNo string Gets or sets the VAT No.
    {
      "CustomerID": 0,
      "CustomerStatusID": 0,
      "DefaultMileageDistance": 0,
      "ID": "00000000-0000-0000-0000-000000000000",
      "Name": "",
      "No": "",
      "OrganizationNo": "",
      "VATNo": ""
    }
  • [401] Invalid authentication token
  • [500] Request to GetByID 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": ""
    }