POST apiwba/gps/createorupdatecybertrip

Request Information

URI Parameters

None.

Body Parameters

CreateOrUpdateCyberTripI
NameDescriptionTypeAdditional information
CustomerCode

string

None.

Key

string

None.

TripCodeCyber

string

None.

XNCode

integer

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.

Request Formats

application/json, text/json

Sample:
{
  "CustomerCode": "sample string 1",
  "Key": "sample string 2",
  "TripCodeCyber": "sample string 3",
  "XNCode": 4,
  "ContractNumber": "sample string 5",
  "CustomerName": "sample string 6",
  "CustomerPhoneNumber": "sample string 7",
  "VehiclePlate": "sample string 8",
  "ScheduleStartTime": "2026-06-03T09:05:45.0255859+07:00",
  "ScheduleEndTime": "2026-06-03T09:05:45.0255859+07:00",
  "EmployeeName": "sample string 11",
  "DriverLicense": "sample string 12",
  "StartAddress": "sample string 13",
  "EndAddress": "sample string 14",
  "IsCancelled": 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 5</ContractNumber>
  <CustomerCode>sample string 1</CustomerCode>
  <CustomerName>sample string 6</CustomerName>
  <CustomerPhoneNumber>sample string 7</CustomerPhoneNumber>
  <DriverLicense>sample string 12</DriverLicense>
  <EmployeeName>sample string 11</EmployeeName>
  <EndAddress>sample string 14</EndAddress>
  <IsCancelled>true</IsCancelled>
  <Key>sample string 2</Key>
  <ScheduleEndTime>2026-06-03T09:05:45.0255859+07:00</ScheduleEndTime>
  <ScheduleStartTime>2026-06-03T09:05:45.0255859+07:00</ScheduleStartTime>
  <StartAddress>sample string 13</StartAddress>
  <TripCodeCyber>sample string 3</TripCodeCyber>
  <VehiclePlate>sample string 8</VehiclePlate>
  <XNCode>4</XNCode>
</CreateOrUpdateCyberTripI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateOrUpdateCyberTripO
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorType

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorType": 2,
  "Message": "sample string 3"
}

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">
  <ErrorType>2</ErrorType>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
</CreateOrUpdateCyberTripO>