POST api/customer/trip
Request Information
URI Parameters
None.
Body Parameters
TripManualInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| startLat | decimal number |
None. |
|
| startLon | decimal number |
None. |
|
| stopLat | decimal number |
None. |
|
| stopLon | decimal number |
None. |
|
| Vehicle | string |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| Km | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"startLat": 1.1,
"startLon": 2.1,
"stopLat": 3.1,
"stopLon": 4.1,
"Vehicle": "sample string 5",
"StartTime": "2026-03-31T11:11:10.5841789+00:00",
"EndTime": "2026-03-31T11:11:10.5841789+00:00",
"Km": 8.1
}
application/xml, text/xml
Sample:
<TripManualInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.Models"> <EndTime>2026-03-31T11:11:10.5841789+00:00</EndTime> <Km>8.1</Km> <StartTime>2026-03-31T11:11:10.5841789+00:00</StartTime> <Vehicle>sample string 5</Vehicle> <startLat>1.1</startLat> <startLon>2.1</startLon> <stopLat>3.1</stopLat> <stopLon>4.1</stopLon> </TripManualInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />