Back to Customer

GET Method Details for SearchForTimeTracking.

Search for customer that the user can register time on, with customer information

Definition

https://app[x].timelog.com/[account name]/api/v{version}/customer/search-for-time-tracking

Parameters

  • searchText string Customer name, customer nickname, or customer number
  • searchAll boolean If set to true [search all].
  • version string The requested API version

Returns

  • [200] A list of customer
    • 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 SearchForTimeTracking 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": ""
    }