POST ShipDlu/SelectDLUSchedule
Request Information
URI Parameters
None.
Body Parameters
ShipDLUSelectScheduleRequestName | Description | Type | Additional information |
---|---|---|---|
originPort | string |
None. |
|
destinationPort | string |
None. |
|
shipNumber | string |
None. |
|
departDate | date |
None. |
|
fares | Collection of SelectedFareDLU |
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-22T23:58:30.4587147+07:00", "fares": [ { "data": "sample string 1", "count": 2 }, { "data": "sample string 1", "count": 2 } ], "shipID": "sample string 5", "userID": "sample string 6", "accessToken": "sample string 7" }
application/xml, text/xml
Sample:
<ShipDLUSelectScheduleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 7</accessToken> <userID>sample string 6</userID> <shipID>sample string 5</shipID> <departDate>2025-01-22T23:58:30.4587147+07:00</departDate> <destinationPort>sample string 2</destinationPort> <fares> <SelectedFareDLU> <count>2</count> <data>sample string 1</data> </SelectedFareDLU> <SelectedFareDLU> <count>2</count> <data>sample string 1</data> </SelectedFareDLU> </fares> <originPort>sample string 1</originPort> <shipNumber>sample string 3</shipNumber> </ShipDLUSelectScheduleRequest>
Response Information
Resource Description
ShipDLUSelectScheduleResponseName | Description | Type | Additional information |
---|---|---|---|
listPax | Collection of DLUPaxModel |
None. |
|
listVehicle | Collection of DLUVehicleModel |
None. |
|
bookerData | DLUBookerModel |
None. |
|
totalPrice | decimal number |
None. |
|
salesPrice | decimal number |
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:
{ "listPax": [ { "name": "sample string 1", "gender": "sample string 2", "dob": "2025-01-22T23:58:30.4743554+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-22T23:58:30.4743554+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" }, "totalPrice": 1.0, "salesPrice": 2.0, "respTime": "2025-01-22T23:58:30.4743554+07:00", "userID": "sample string 4", "accessToken": "sample string 5", "status": "sample string 6", "respMessage": "sample string 7" }
application/xml, text/xml
Sample:
<ShipDLUSelectScheduleResponse 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> <respMessage>sample string 7</respMessage> <respTime>2025-01-22T23:58:30.4743554+07:00</respTime> <status>sample string 6</status> <userID>sample string 4</userID> <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> <listPax> <DLUPaxModel> <admin>7</admin> <city>sample string 12</city> <dob>2025-01-22T23:58:30.4743554+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-22T23:58:30.4743554+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> <salesPrice>2</salesPrice> <totalPrice>1</totalPrice> </ShipDLUSelectScheduleResponse>