POST Tour/Issued
Request Information
URI Parameters
None.
Body Parameters
TourIssuedRequestName | Description | Type | Additional information |
---|---|---|---|
BookingCode | string |
None. |
|
TourVariant | TourVariant |
None. |
|
userID |
user API |
string |
None. |
accessToken |
access code getting from login |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BookingCode": "sample string 1", "TourVariant": 1, "userID": "sample string 2", "accessToken": "sample string 3" }
application/xml, text/xml
Sample:
<TourIssuedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 3</accessToken> <userID>sample string 2</userID> <BookingCode>sample string 1</BookingCode> <TourVariant>Reguler</TourVariant> </TourIssuedRequest>
Response Information
Resource Description
TourTransactionDetailResponseName | Description | Type | Additional information |
---|---|---|---|
BookingCode | string |
None. |
|
BookingDate | date |
None. |
|
DepartDate | date |
None. |
|
TicketStatus | string |
None. |
|
TourName | string |
None. |
|
PackageTourName | string |
None. |
|
Duration | string |
None. |
|
Currency | string |
None. |
|
TotalPrice | decimal number |
None. |
|
SalesPrice | decimal number |
None. |
|
Commision | decimal number |
None. |
|
IssuedDate | date |
None. |
|
IssuedTimeLimit | date |
None. |
|
Pax | Collection of TourPax |
None. |
|
TourVariant | string |
None. |
|
PaymentType | string |
None. |
|
RemainingBill | decimal number |
None. |
|
DPAmount | 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:
{ "BookingCode": "sample string 1", "BookingDate": "2025-01-22T23:54:41.516939+07:00", "DepartDate": "2025-01-22T23:54:41.516939+07:00", "TicketStatus": "sample string 4", "TourName": "sample string 5", "PackageTourName": "sample string 6", "Duration": "sample string 7", "Currency": "sample string 8", "TotalPrice": 9.0, "SalesPrice": 10.0, "Commision": 11.0, "IssuedDate": "2025-01-22T23:54:41.516939+07:00", "IssuedTimeLimit": "2025-01-22T23:54:41.516939+07:00", "Pax": [ { "Title": "sample string 1", "Name": "sample string 2", "Type": 0, "Room": "sample string 3" }, { "Title": "sample string 1", "Name": "sample string 2", "Type": 0, "Room": "sample string 3" } ], "TourVariant": "sample string 12", "PaymentType": "sample string 13", "RemainingBill": 14.0, "DPAmount": 15.0, "respTime": "2025-01-22T23:54:41.516939+07:00", "userID": "sample string 17", "accessToken": "sample string 18", "status": "sample string 19", "respMessage": "sample string 20" }
application/xml, text/xml
Sample:
<TourTransactionDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models"> <accessToken>sample string 18</accessToken> <respMessage>sample string 20</respMessage> <respTime>2025-01-22T23:54:41.516939+07:00</respTime> <status>sample string 19</status> <userID>sample string 17</userID> <BookingCode>sample string 1</BookingCode> <BookingDate>2025-01-22T23:54:41.516939+07:00</BookingDate> <Commision>11</Commision> <Currency>sample string 8</Currency> <DPAmount>15</DPAmount> <DepartDate>2025-01-22T23:54:41.516939+07:00</DepartDate> <Duration>sample string 7</Duration> <IssuedDate>2025-01-22T23:54:41.516939+07:00</IssuedDate> <IssuedTimeLimit>2025-01-22T23:54:41.516939+07:00</IssuedTimeLimit> <PackageTourName>sample string 6</PackageTourName> <Pax> <TourPax> <Name>sample string 2</Name> <Room>sample string 3</Room> <Title>sample string 1</Title> <Type>Adult</Type> </TourPax> <TourPax> <Name>sample string 2</Name> <Room>sample string 3</Room> <Title>sample string 1</Title> <Type>Adult</Type> </TourPax> </Pax> <PaymentType>sample string 13</PaymentType> <RemainingBill>14</RemainingBill> <SalesPrice>10</SalesPrice> <TicketStatus>sample string 4</TicketStatus> <TotalPrice>9</TotalPrice> <TourName>sample string 5</TourName> <TourVariant>sample string 12</TourVariant> </TourTransactionDetailResponse>