POST Cargo/BookingDetail
Request Information
URI Parameters
None.
Body Parameters
CargoBookingDetailRequestName | Description | Type | Additional information |
---|---|---|---|
sttNumber | string |
None. |
|
orderID | string |
None. |
|
bookingDate | date |
None. |
|
userID |
user API |
string |
None. |
accessToken |
access code getting from login |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "sttNumber": "sample string 1", "orderID": "sample string 2", "bookingDate": "2025-01-22T13:26:38.6618826+07:00", "userID": "sample string 4", "accessToken": "sample string 5" }
application/xml, text/xml
Sample:
<CargoBookingDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 5</accessToken> <userID>sample string 4</userID> <bookingDate>2025-01-22T13:26:38.6618826+07:00</bookingDate> <orderID>sample string 2</orderID> <sttNumber>sample string 1</sttNumber> </CargoBookingDetailRequest>
Response Information
Resource Description
CargoBookingDetailResponseName | Description | Type | Additional information |
---|---|---|---|
supplierName | string |
None. |
|
sttNumber | string |
None. |
|
orderID | string |
None. |
|
bookingDate | date |
None. |
|
bookingStatus | string |
None. |
|
pickupLocation | string |
None. |
|
destinationArea | string |
None. |
|
chargeableWeight | decimal number |
None. |
|
grossWeight | decimal number |
None. |
|
volumeWeight | decimal number |
None. |
|
totalPiece | integer |
None. |
|
salesPrice | decimal number |
None. |
|
totalPrice | decimal number |
None. |
|
memberMarkup | decimal number |
None. |
|
service | string |
None. |
|
shipment | string |
None. |
|
goods | string |
None. |
|
respTime |
describe time in sending response |
date |
None. |
userID |
user ID to access API |
string |
None. |
accessToken |
access token that needed to access API |
string |
None. |
status |
SUCCESS or FAILED |
string |
None. |
respMessage |
detail message of response status |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "supplierName": "sample string 1", "sttNumber": "sample string 2", "orderID": "sample string 3", "bookingDate": "2025-01-22T13:26:38.6618826+07:00", "bookingStatus": "sample string 5", "pickupLocation": "sample string 6", "destinationArea": "sample string 7", "chargeableWeight": 8.0, "grossWeight": 9.0, "volumeWeight": 10.0, "totalPiece": 11, "salesPrice": 12.0, "totalPrice": 13.0, "memberMarkup": 14.0, "service": "sample string 15", "shipment": "sample string 16", "goods": "sample string 17", "respTime": "2025-01-22T13:26:38.6618826+07:00", "userID": "sample string 19", "accessToken": "sample string 20", "status": "sample string 21", "respMessage": "sample string 22" }
application/xml, text/xml
Sample:
<CargoBookingDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 20</accessToken> <respMessage>sample string 22</respMessage> <respTime>2025-01-22T13:26:38.6618826+07:00</respTime> <status>sample string 21</status> <userID>sample string 19</userID> <bookingDate>2025-01-22T13:26:38.6618826+07:00</bookingDate> <bookingStatus>sample string 5</bookingStatus> <chargeableWeight>8</chargeableWeight> <destinationArea>sample string 7</destinationArea> <goods>sample string 17</goods> <grossWeight>9</grossWeight> <memberMarkup>14</memberMarkup> <orderID>sample string 3</orderID> <pickupLocation>sample string 6</pickupLocation> <salesPrice>12</salesPrice> <service>sample string 15</service> <shipment>sample string 16</shipment> <sttNumber>sample string 2</sttNumber> <supplierName>sample string 1</supplierName> <totalPiece>11</totalPiece> <totalPrice>13</totalPrice> <volumeWeight>10</volumeWeight> </CargoBookingDetailResponse>