POST apiwba/gps/createorupdatecybertrip
Request Information
URI Parameters
None.
Body Parameters
CreateOrUpdateCyberTripI| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerCode | string |
None. |
|
| Key | string |
None. |
|
| TripCodeCyber | string |
None. |
|
| ContractNumber | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerPhoneNumber | string |
None. |
|
| VehiclePlate | string |
None. |
|
| ScheduleStartTime | date |
None. |
|
| ScheduleEndTime | date |
None. |
|
| EmployeeName | string |
None. |
|
| DriverLicense | string |
None. |
|
| StartAddress | string |
None. |
|
| EndAddress | string |
None. |
|
| IsCancelled | boolean |
None. |
|
| SendZalo | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerCode": "sample string 1",
"Key": "sample string 2",
"TripCodeCyber": "sample string 3",
"ContractNumber": "sample string 4",
"CustomerName": "sample string 5",
"CustomerPhoneNumber": "sample string 6",
"VehiclePlate": "sample string 7",
"ScheduleStartTime": "2026-06-18T10:08:49.8522005+07:00",
"ScheduleEndTime": "2026-06-18T10:08:49.8522005+07:00",
"EmployeeName": "sample string 10",
"DriverLicense": "sample string 11",
"StartAddress": "sample string 12",
"EndAddress": "sample string 13",
"IsCancelled": true,
"SendZalo": true
}
application/xml, text/xml
Sample:
<CreateOrUpdateCyberTripI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps"> <ContractNumber>sample string 4</ContractNumber> <CustomerCode>sample string 1</CustomerCode> <CustomerName>sample string 5</CustomerName> <CustomerPhoneNumber>sample string 6</CustomerPhoneNumber> <DriverLicense>sample string 11</DriverLicense> <EmployeeName>sample string 10</EmployeeName> <EndAddress>sample string 13</EndAddress> <IsCancelled>true</IsCancelled> <Key>sample string 2</Key> <ScheduleEndTime>2026-06-18T10:08:49.8522005+07:00</ScheduleEndTime> <ScheduleStartTime>2026-06-18T10:08:49.8522005+07:00</ScheduleStartTime> <SendZalo>true</SendZalo> <StartAddress>sample string 12</StartAddress> <TripCodeCyber>sample string 3</TripCodeCyber> <VehiclePlate>sample string 7</VehiclePlate> </CreateOrUpdateCyberTripI>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateOrUpdateCyberTripO| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Data | boolean |
None. |
|
| StatusCode | integer |
None. |
|
| UserMessage | string |
None. |
|
| InternalMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Data": true,
"StatusCode": 3,
"UserMessage": "sample string 4",
"InternalMessage": "sample string 5"
}
application/xml, text/xml
Sample:
<CreateOrUpdateCyberTripO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps"> <Data xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">true</Data> <InternalMessage xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 5</InternalMessage> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">1</ResponseCode> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">3</StatusCode> <UserMessage xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 4</UserMessage> </CreateOrUpdateCyberTripO>