POST api/v1/drivetrip
Request Information
URI Parameters
None.
Body Parameters
DriveTripSearchName | Description | Type | Additional information |
---|---|---|---|
vin | string |
Required |
|
startdate | date |
None. |
|
nextstartdate | date |
None. |
|
limit | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "vin": "sample string 1", "startdate": "2024-11-16T11:28:03.909Z", "nextstartdate": "2024-11-16T11:28:03.909Z", "limit": 2 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DriveTripName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
start | date |
None. |
|
end | date |
None. |
|
totalduration | decimal number |
None. |
|
totaldistance | integer |
None. |
|
fuelconsumption | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "start": "2024-11-16T11:28:03.927Z", "end": "2024-11-16T11:28:03.927Z", "totalduration": 4.1, "totaldistance": 5, "fuelconsumption": 6 }, { "id": "sample string 1", "start": "2024-11-16T11:28:03.927Z", "end": "2024-11-16T11:28:03.927Z", "totalduration": 4.1, "totaldistance": 5, "fuelconsumption": 6 } ]