Back to Car

GET Method Details for GetByID.

Gets the by identifier.

Definition

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

Parameters

  • id string The identifier.
  • version string The requested API version

Returns

  • [200] OK
    • AllowEmployeeChangeMileageRate boolean Gets or sets a value indicating whether [allow employee change mileage rate].
    • CarID integer Gets or sets the car identifier.
    • CarType integer Gets or sets the type of the car.
    • DefaultMileageRate object Gets or sets the mileage rate.
    • EmployeeUser object Gets or sets the employee user.
    • EmployeeUserID integer Gets or sets the employee user identifier.
    • ID string Gets or sets the identifier.
    • IsActive boolean Gets or sets a value indicating whether this instance is active.
    • IsDefault boolean Gets or sets a value indicating whether this instance is default.
    • LicensePlate string Gets or sets the license plate.
    • Name string Gets or sets the name.
    {
      "AllowEmployeeChangeMileageRate": false,
      "CarID": 0,
      "CarType": 0,
      "EmployeeUserID": 0,
      "ID": "00000000-0000-0000-0000-000000000000",
      "IsActive": false,
      "IsDefault": false,
      "LicensePlate": "",
      "Name": ""
    }
  • [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": ""
    }