Retrieves a car travel with the specified key
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
car_travel| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| user_id |
Foreign key of User |
globally unique identifier |
Required |
| car_id |
Foreign key of Car |
globally unique identifier |
Required |
| hour_type_id |
Foreign key of the hour type |
globally unique identifier |
Required |
| date_from_rounded |
Date+Time travel FROM |
date |
Required |
| date_to_rounded |
Date+Time travel TO |
date |
Required |
| notes |
Additional notes field |
string | |
| to_travel_type_code |
Kind of travel. Can be |
string |
Required |
| is_approved |
Inform if this user_timesheet belongs to a week approved (readonly) |
boolean | |
| property_1_checked |
True/False status of property 1 |
boolean | |
| property_2_checked |
True/False status of property 2 |
boolean | |
| property_3_checked |
True/False status of property 3 |
boolean | |
| property_4_checked |
True/False status of property 4 |
boolean | |
| property_5_checked |
True/False status of property 5 |
boolean | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| km_distance |
Distance traveled |
integer | |
| km_private |
Personal distance traveled |
integer | |
| from_travel_type_code |
Travel type when going to location |
string | |
| from_db_table_name |
Value of linked table |
string | |
| from_id_in_table |
Foreign key to object traveling from |
globally unique identifier | |
| to_db_table_name |
Value of linked table |
string | |
| to_id_in_table |
Foreign key to object traveling from |
globally unique identifier |
Response Formats
application/json, text/json
{
"id": "ed15d39b-029e-40ea-9102-a6fd8de8f929",
"user_id": "c291b649-b38f-4341-a5b2-30f1d96fe256",
"car_id": "47d5c084-4e37-4d6b-ba4b-b7ce10971798",
"hour_type_id": "6bb31dc6-1c11-4645-aa70-95cd9546f5a7",
"date_from_rounded": "2025-10-27T01:54:37.6335534+00:00",
"date_to_rounded": "2025-10-27T01:54:37.6491596+00:00",
"notes": "sample string 7",
"to_travel_type_code": "sample string 8",
"is_approved": true,
"property_1_checked": true,
"property_2_checked": true,
"property_3_checked": true,
"property_4_checked": true,
"property_5_checked": true,
"modified_dateutc": "2025-10-27T01:54:37.6491596+00:00",
"km_distance": 16,
"km_private": 17,
"from_travel_type_code": "sample string 18",
"from_db_table_name": "sample string 19",
"from_id_in_table": "86ff2888-b3be-4a98-a181-c16da98aa0c4",
"to_db_table_name": "sample string 21",
"to_id_in_table": "1256a573-f039-4cdc-a2b8-cf1cca3a1881"
}