POST CarRental/TransactionDetail
Request Information
URI Parameters
None.
Body Parameters
CarRentalTransactionDetailRequestName | Description | Type | Additional information |
---|---|---|---|
orderID | string |
None. |
|
orderDate | date |
None. |
|
userID |
user API |
string |
None. |
accessToken |
access code getting from login |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "orderID": "sample string 1", "orderDate": "2025-01-23T00:10:06.5887043+07:00", "userID": "sample string 3", "accessToken": "sample string 4" }
application/xml, text/xml
Sample:
<CarRentalTransactionDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 4</accessToken> <userID>sample string 3</userID> <orderDate>2025-01-23T00:10:06.5887043+07:00</orderDate> <orderID>sample string 1</orderID> </CarRentalTransactionDetailRequest>
Response Information
Resource Description
CarRentalTransactionDetailResponseName | Description | Type | Additional information |
---|---|---|---|
carID | string |
None. |
|
carMerk | string |
None. |
|
carType | string |
None. |
|
carProductYear | string |
None. |
|
carTransmission | string |
None. |
|
carLocation | string |
None. |
|
carDestinationType | string |
None. |
|
carDistance | string |
None. |
|
carHourType | integer |
None. |
|
unitQty | integer |
None. |
|
rentDays | integer |
None. |
|
pickUpTime | date |
None. |
|
pickUpLocationType | string |
None. |
|
pickUpAirport | string |
None. |
|
pickUpAirline | string |
None. |
|
pickUpFlightNumber | string |
None. |
|
pickUpDepartCity | string |
None. |
|
pickUpHotelName | string |
None. |
|
pickUpHotelAddress | string |
None. |
|
pickUpAddress | string |
None. |
|
pickUpAreaOfUse | string |
None. |
|
rentConditions | string |
None. |
|
specialRequest | string |
None. |
|
packetType | string |
None. |
|
driverName | string |
None. |
|
driverPhone | string |
None. |
|
totalPrice | decimal number |
None. |
|
salesPrice | decimal number |
None. |
|
profit | decimal number |
None. |
|
orderID | string |
None. |
|
orderDate | date |
None. |
|
orderStatus | string |
None. |
|
customerName | string |
None. |
|
customerAddress | string |
None. |
|
customerTelephone | string |
None. |
|
customerPhone | 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:
{ "carID": "sample string 1", "carMerk": "sample string 2", "carType": "sample string 3", "carProductYear": "sample string 4", "carTransmission": "sample string 5", "carLocation": "sample string 6", "carDestinationType": "sample string 7", "carDistance": "sample string 8", "carHourType": 9, "unitQty": 10, "rentDays": 11, "pickUpTime": "2025-01-23T00:10:06.6043003+07:00", "pickUpLocationType": "sample string 13", "pickUpAirport": "sample string 14", "pickUpAirline": "sample string 15", "pickUpFlightNumber": "sample string 16", "pickUpDepartCity": "sample string 17", "pickUpHotelName": "sample string 18", "pickUpHotelAddress": "sample string 19", "pickUpAddress": "sample string 20", "pickUpAreaOfUse": "sample string 21", "rentConditions": "sample string 22", "specialRequest": "sample string 23", "packetType": "sample string 24", "driverName": "sample string 25", "driverPhone": "sample string 26", "totalPrice": 1.0, "salesPrice": 27.0, "profit": 28.0, "orderID": "sample string 29", "orderDate": "2025-01-23T00:10:06.6043003+07:00", "orderStatus": "sample string 31", "customerName": "sample string 32", "customerAddress": "sample string 33", "customerTelephone": "sample string 34", "customerPhone": "sample string 35", "respTime": "2025-01-23T00:10:06.6043003+07:00", "userID": "sample string 37", "accessToken": "sample string 38", "status": "sample string 39", "respMessage": "sample string 40" }
application/xml, text/xml
Sample:
<CarRentalTransactionDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 38</accessToken> <respMessage>sample string 40</respMessage> <respTime>2025-01-23T00:10:06.6043003+07:00</respTime> <status>sample string 39</status> <userID>sample string 37</userID> <carDestinationType>sample string 7</carDestinationType> <carDistance>sample string 8</carDistance> <carHourType>9</carHourType> <carID>sample string 1</carID> <carLocation>sample string 6</carLocation> <carMerk>sample string 2</carMerk> <carProductYear>sample string 4</carProductYear> <carTransmission>sample string 5</carTransmission> <carType>sample string 3</carType> <customerAddress>sample string 33</customerAddress> <customerName>sample string 32</customerName> <customerPhone>sample string 35</customerPhone> <customerTelephone>sample string 34</customerTelephone> <driverName>sample string 25</driverName> <driverPhone>sample string 26</driverPhone> <orderDate>2025-01-23T00:10:06.6043003+07:00</orderDate> <orderID>sample string 29</orderID> <orderStatus>sample string 31</orderStatus> <packetType>sample string 24</packetType> <pickUpAddress>sample string 20</pickUpAddress> <pickUpAirline>sample string 15</pickUpAirline> <pickUpAirport>sample string 14</pickUpAirport> <pickUpAreaOfUse>sample string 21</pickUpAreaOfUse> <pickUpDepartCity>sample string 17</pickUpDepartCity> <pickUpFlightNumber>sample string 16</pickUpFlightNumber> <pickUpHotelAddress>sample string 19</pickUpHotelAddress> <pickUpHotelName>sample string 18</pickUpHotelName> <pickUpLocationType>sample string 13</pickUpLocationType> <pickUpTime>2025-01-23T00:10:06.6043003+07:00</pickUpTime> <profit>28</profit> <rentConditions>sample string 22</rentConditions> <rentDays>11</rentDays> <salesPrice>27</salesPrice> <specialRequest>sample string 23</specialRequest> <totalPrice>1</totalPrice> <unitQty>10</unitQty> </CarRentalTransactionDetailResponse>