GET Method Details for GetAll.
Get all mileage registration for the user
Definition
https://app[x].timelog.com/[account name]/api/v{version}/mileage-registration
Parameters
- version string The requested API version
Returns
-
[200] A list of mileage registration belong to the user
- Car object Gets or sets the car.
- CarID integer Gets or sets the car identifier.
- Date string Gets or sets the date.
- Distance integer Gets or sets the distance.
- EndAddress string Gets or sets the end address.
- ID string Gets or sets the identifier.
- InterfaceCreated integer Gets or sets the interface created.
- InterfaceModified integer Gets or sets the interface modified.
- IsApproved boolean Gets or sets a value indicating whether this instance is approved.
- IsBillable boolean Gets or sets a value indicating whether this instance is billable.
- IsInvoiced boolean Gets or sets a value indicating whether this instance is invoiced.
- IsRoundtrip boolean Gets or sets a value indicating whether this instance is roundtrip.
- MileageRate object Gets or sets the mileage rate.
- MileageRatesID integer Gets or sets the mileage rates identifier.
- MileageRegistrationID integer Gets or sets the mileage registration identifier.
- OdometerEnd integer Gets or sets the odometer end.
- OdometerStart integer Gets or sets the odometer start.
- Project object Gets or sets the project.
- ProjectID integer Gets or sets the project identifier.
- Purpose string Gets or sets the purpose.
- StartAddress string Gets or sets the start address.
- TotalDistance number Gets or sets the total distance.
- TravelTimeRegistration object Gets or sets the travel time registration.
- UnitType integer Gets or sets the type of the unit.
- UserID integer Gets or sets the user identifier.
- [401] Invalid authentication token
-
[500] Unable to retrieve MileageRegistrations for the user
- 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.