POST api/gps/maersktrip
Request Information
URI Parameters
None.
Body Parameters
JsonGpsApiInputMaersk| Name | Description | Type | Additional information |
|---|---|---|---|
| LastSync | date |
None. |
|
| CustomerCode | string |
None. |
|
| Key | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LastSync": "2026-04-04T18:19:06.7522422+07:00",
"CustomerCode": "sample string 2",
"Key": "sample string 3"
}
application/xml, text/xml
Sample:
<JsonGpsApiInputMaersk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model"> <CustomerCode>sample string 2</CustomerCode> <Key>sample string 3</Key> <LastSync>2026-04-04T18:19:06.7522422+07:00</LastSync> </JsonGpsApiInputMaersk>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MaerskTrip| Name | Description | Type | Additional information |
|---|---|---|---|
| PK_MaerskTripID | integer |
None. |
|
| VehiclePlate | string |
None. |
|
| PrivateCode | string |
None. |
|
| TransportNo | string |
None. |
|
| ContainerNo | string |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| Status | byte |
None. |
|
| IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PK_MaerskTripID": 1,
"VehiclePlate": "sample string 2",
"PrivateCode": "sample string 3",
"TransportNo": "sample string 4",
"ContainerNo": "sample string 5",
"StartTime": "2026-04-04T18:19:06.7522422+07:00",
"EndTime": "2026-04-04T18:19:06.7522422+07:00",
"Status": 64,
"IsDeleted": true
},
{
"PK_MaerskTripID": 1,
"VehiclePlate": "sample string 2",
"PrivateCode": "sample string 3",
"TransportNo": "sample string 4",
"ContainerNo": "sample string 5",
"StartTime": "2026-04-04T18:19:06.7522422+07:00",
"EndTime": "2026-04-04T18:19:06.7522422+07:00",
"Status": 64,
"IsDeleted": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMaerskTrip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiEntities.GPS">
<MaerskTrip>
<ContainerNo>sample string 5</ContainerNo>
<EndTime>2026-04-04T18:19:06.7522422+07:00</EndTime>
<IsDeleted>true</IsDeleted>
<PK_MaerskTripID>1</PK_MaerskTripID>
<PrivateCode>sample string 3</PrivateCode>
<StartTime>2026-04-04T18:19:06.7522422+07:00</StartTime>
<Status>64</Status>
<TransportNo>sample string 4</TransportNo>
<VehiclePlate>sample string 2</VehiclePlate>
</MaerskTrip>
<MaerskTrip>
<ContainerNo>sample string 5</ContainerNo>
<EndTime>2026-04-04T18:19:06.7522422+07:00</EndTime>
<IsDeleted>true</IsDeleted>
<PK_MaerskTripID>1</PK_MaerskTripID>
<PrivateCode>sample string 3</PrivateCode>
<StartTime>2026-04-04T18:19:06.7522422+07:00</StartTime>
<Status>64</Status>
<TransportNo>sample string 4</TransportNo>
<VehiclePlate>sample string 2</VehiclePlate>
</MaerskTrip>
</ArrayOfMaerskTrip>