POST ShipDlu/Issued
Request Information
URI Parameters
None.
Body Parameters
ShipDLUBookingRequestName | Description | Type | Additional information |
---|---|---|---|
originPort | string |
None. |
|
destinationPort | string |
None. |
|
shipNumber | string |
None. |
|
departDate | date |
None. |
|
listPax | Collection of DLUPaxModel |
None. |
|
listVehicle | Collection of DLUVehicleModel |
None. |
|
bookerData | DLUBookerModel |
None. |
|
numCode | string |
None. |
|
shipID | string |
None. |
|
userID |
user API |
string |
None. |
accessToken |
access code getting from login |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "originPort": "sample string 1", "destinationPort": "sample string 2", "shipNumber": "sample string 3", "departDate": "2025-01-23T00:02:22.386695+07:00", "listPax": [ { "name": "sample string 1", "gender": "sample string 2", "dob": "2025-01-23T00:02:22.386695+07:00", "id": "sample string 4", "note": "sample string 5", "price": 6.0, "admin": 7.0, "paxType": "sample string 8", "paxClass": "sample string 9", "paxGroup": "sample string 10", "paxInfo": "sample string 11", "city": "sample string 12" }, { "name": "sample string 1", "gender": "sample string 2", "dob": "2025-01-23T00:02:22.386695+07:00", "id": "sample string 4", "note": "sample string 5", "price": 6.0, "admin": 7.0, "paxType": "sample string 8", "paxClass": "sample string 9", "paxGroup": "sample string 10", "paxInfo": "sample string 11", "city": "sample string 12" } ], "listVehicle": [ { "ownerName": "sample string 1", "regNo": "sample string 2", "note": "sample string 3", "city": "sample string 4", "price": 5.0, "admin": 6.0, "vehicleType": "sample string 7", "vehicleFare": 8.0, "vehicleTax": 9.0, "vehicleInfo": "sample string 10" }, { "ownerName": "sample string 1", "regNo": "sample string 2", "note": "sample string 3", "city": "sample string 4", "price": 5.0, "admin": 6.0, "vehicleType": "sample string 7", "vehicleFare": 8.0, "vehicleTax": 9.0, "vehicleInfo": "sample string 10" } ], "bookerData": { "gender": "sample string 1", "name": "sample string 2", "id": "sample string 3", "email": "sample string 4", "phone": "sample string 5", "city": "sample string 6" }, "numCode": "sample string 5", "shipID": "sample string 6", "userID": "sample string 7", "accessToken": "sample string 8" }
application/xml, text/xml
Sample:
<ShipDLUBookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 8</accessToken> <userID>sample string 7</userID> <shipID>sample string 6</shipID> <bookerData> <city>sample string 6</city> <email>sample string 4</email> <gender>sample string 1</gender> <id>sample string 3</id> <name>sample string 2</name> <phone>sample string 5</phone> </bookerData> <departDate>2025-01-23T00:02:22.386695+07:00</departDate> <destinationPort>sample string 2</destinationPort> <listPax> <DLUPaxModel> <admin>7</admin> <city>sample string 12</city> <dob>2025-01-23T00:02:22.386695+07:00</dob> <gender>sample string 2</gender> <id>sample string 4</id> <name>sample string 1</name> <note>sample string 5</note> <paxClass>sample string 9</paxClass> <paxGroup>sample string 10</paxGroup> <paxInfo>sample string 11</paxInfo> <paxType>sample string 8</paxType> <price>6</price> </DLUPaxModel> <DLUPaxModel> <admin>7</admin> <city>sample string 12</city> <dob>2025-01-23T00:02:22.386695+07:00</dob> <gender>sample string 2</gender> <id>sample string 4</id> <name>sample string 1</name> <note>sample string 5</note> <paxClass>sample string 9</paxClass> <paxGroup>sample string 10</paxGroup> <paxInfo>sample string 11</paxInfo> <paxType>sample string 8</paxType> <price>6</price> </DLUPaxModel> </listPax> <listVehicle> <DLUVehicleModel> <admin>6</admin> <city>sample string 4</city> <note>sample string 3</note> <ownerName>sample string 1</ownerName> <price>5</price> <regNo>sample string 2</regNo> <vehicleFare>8</vehicleFare> <vehicleInfo>sample string 10</vehicleInfo> <vehicleTax>9</vehicleTax> <vehicleType>sample string 7</vehicleType> </DLUVehicleModel> <DLUVehicleModel> <admin>6</admin> <city>sample string 4</city> <note>sample string 3</note> <ownerName>sample string 1</ownerName> <price>5</price> <regNo>sample string 2</regNo> <vehicleFare>8</vehicleFare> <vehicleInfo>sample string 10</vehicleInfo> <vehicleTax>9</vehicleTax> <vehicleType>sample string 7</vehicleType> </DLUVehicleModel> </listVehicle> <numCode>sample string 5</numCode> <originPort>sample string 1</originPort> <shipNumber>sample string 3</shipNumber> </ShipDLUBookingRequest>
Response Information
Resource Description
ShipBookingResponseName | Description | Type | Additional information |
---|---|---|---|
originPort | string |
None. |
|
originCall | integer |
None. |
|
destinationPort | string |
None. |
|
destinationCall | integer |
None. |
|
shipNumber | string |
None. |
|
departDate | date |
None. |
|
numCode | string |
None. |
|
paxBookingDetails | Collection of PaxBookingDetail |
None. |
|
salesPrice | decimal number |
None. |
|
memberDiscount | decimal number |
None. |
|
shipMarkup | decimal number |
None. |
|
ticketPrice | decimal number |
None. |
|
issuedDateTimeLimit | date |
None. |
|
bookingDateTime | date |
None. |
|
bookingNumber | string |
None. |
|
shipName | string |
None. |
|
arrivalDate | date |
None. |
|
originName | string |
None. |
|
destinationName | 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:
{ "originPort": "sample string 1", "originCall": 2, "destinationPort": "sample string 3", "destinationCall": 4, "shipNumber": "sample string 5", "departDate": "2025-01-23T00:02:22.386695+07:00", "numCode": "sample string 7", "paxBookingDetails": [ { "paxName": "sample string 1", "paxType": "sample string 2", "paxGender": "sample string 3", "birthDate": "2025-01-23T00:02:22.386695+07:00", "ID": "sample string 4", "phone": "sample string 5", "deck": "sample string 6", "cabin": "sample string 7", "bed": "sample string 8", "fare": 9.0, "admin": 10.0, "ticketNumber": "sample string 11", "ticketQRCode": "sample string 12" }, { "paxName": "sample string 1", "paxType": "sample string 2", "paxGender": "sample string 3", "birthDate": "2025-01-23T00:02:22.386695+07:00", "ID": "sample string 4", "phone": "sample string 5", "deck": "sample string 6", "cabin": "sample string 7", "bed": "sample string 8", "fare": 9.0, "admin": 10.0, "ticketNumber": "sample string 11", "ticketQRCode": "sample string 12" } ], "salesPrice": 8.0, "memberDiscount": 9.0, "shipMarkup": 10.0, "ticketPrice": 11.0, "issuedDateTimeLimit": "2025-01-23T00:02:22.386695+07:00", "bookingDateTime": "2025-01-23T00:02:22.386695+07:00", "bookingNumber": "sample string 14", "shipName": "sample string 15", "arrivalDate": "2025-01-23T00:02:22.386695+07:00", "originName": "sample string 17", "destinationName": "sample string 18", "respTime": "2025-01-23T00:02:22.386695+07:00", "userID": "sample string 20", "accessToken": "sample string 21", "status": "sample string 22", "respMessage": "sample string 23" }
application/xml, text/xml
Sample:
<ShipBookingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 21</accessToken> <respMessage>sample string 23</respMessage> <respTime>2025-01-23T00:02:22.386695+07:00</respTime> <status>sample string 22</status> <userID>sample string 20</userID> <arrivalDate>2025-01-23T00:02:22.386695+07:00</arrivalDate> <bookingDateTime>2025-01-23T00:02:22.386695+07:00</bookingDateTime> <bookingNumber>sample string 14</bookingNumber> <departDate>2025-01-23T00:02:22.386695+07:00</departDate> <destinationCall>4</destinationCall> <destinationName>sample string 18</destinationName> <destinationPort>sample string 3</destinationPort> <issuedDateTimeLimit>2025-01-23T00:02:22.386695+07:00</issuedDateTimeLimit> <memberDiscount>9</memberDiscount> <numCode>sample string 7</numCode> <originCall>2</originCall> <originName>sample string 17</originName> <originPort>sample string 1</originPort> <paxBookingDetails> <PaxBookingDetail> <ID>sample string 4</ID> <admin>10</admin> <bed>sample string 8</bed> <birthDate>2025-01-23T00:02:22.386695+07:00</birthDate> <cabin>sample string 7</cabin> <deck>sample string 6</deck> <fare>9</fare> <paxGender>sample string 3</paxGender> <paxName>sample string 1</paxName> <paxType>sample string 2</paxType> <phone>sample string 5</phone> <ticketNumber>sample string 11</ticketNumber> <ticketQRCode>sample string 12</ticketQRCode> </PaxBookingDetail> <PaxBookingDetail> <ID>sample string 4</ID> <admin>10</admin> <bed>sample string 8</bed> <birthDate>2025-01-23T00:02:22.386695+07:00</birthDate> <cabin>sample string 7</cabin> <deck>sample string 6</deck> <fare>9</fare> <paxGender>sample string 3</paxGender> <paxName>sample string 1</paxName> <paxType>sample string 2</paxType> <phone>sample string 5</phone> <ticketNumber>sample string 11</ticketNumber> <ticketQRCode>sample string 12</ticketQRCode> </PaxBookingDetail> </paxBookingDetails> <salesPrice>8</salesPrice> <shipMarkup>10</shipMarkup> <shipName>sample string 15</shipName> <shipNumber>sample string 5</shipNumber> <ticketPrice>11</ticketPrice> </ShipBookingResponse>