Back to Mileage Rate

GET Method Details for GetByID.

Gets the by identifier.

Definition

https://app[x].timelog.com/[account name]/api/v{version}/mileage-rate/{mileageRateID}

Parameters

  • mileageRateID integer The time registration identifier.
  • version string The requested API version

Returns

  • [200] A mileage rate
    • AccountNumber string Gets or sets the account number.
    • HasReimbursement boolean Gets or sets a value indicating whether this instance has reimbursement.
    • ID string Gets or sets the identifier.
    • IsActive boolean Gets or sets mileage rate status
    • IsDefaultForPrivateCar boolean Gets or sets a value indicating whether this instance is default for private car.
    • LegalEntityID integer Gets or sets the legal entity identifier.
    • MileageRateID integer Gets or sets mileage rate id
    • Name string Gets or sets mileage rate name
    • ReimbursementCurrencyID integer Gets or sets the reimbursement currency identifier.
    • SalaryCodeTaxable string Gets or sets the salary code taxable.
    • SalaryCodeTaxFree string Gets or sets the salary code tax free.
    • UnitType integer Gets or sets the type of the unit.
    {
      "AccountNumber": "",
      "HasReimbursement": false,
      "ID": "00000000-0000-0000-0000-000000000000",
      "IsActive": false,
      "IsDefaultForPrivateCar": false,
      "LegalEntityID": 0,
      "MileageRateID": 0,
      "Name": "",
      "ReimbursementCurrencyID": 0,
      "SalaryCodeTaxable": "",
      "SalaryCodeTaxFree": "",
      "UnitType": 0
    }
  • [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": ""
    }