POST Tour/Detail

Request Information

URI Parameters

None.

Body Parameters

TourSearchDetailRequest
NameDescriptionTypeAdditional information
Id

integer

None.

Variant

string

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Variant": "sample string 2",
  "userID": "sample string 3",
  "accessToken": "sample string 4"
}

application/xml, text/xml

Sample:
<TourSearchDetailRequest 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>
  <Id>1</Id>
  <Variant>sample string 2</Variant>
</TourSearchDetailRequest>

Response Information

Resource Description

TourSearchDetailResponse
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Country

string

None.

Province

string

None.

City

string

None.

Destination

string

None.

Duration

string

None.

Transport

string

None.

Description

string

None.

Itinerary

string

None.

TermsAndConditions

string

None.

Type

string

None.

Category

string

None.

Variant

string

None.

PaymentType

string

None.

MinPax

integer

None.

MinimumPrice

decimal number

None.

Currency

string

None.

Packages

Collection of TourPackage

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:
{
  "ID": 1,
  "Name": "sample string 2",
  "Country": "sample string 3",
  "Province": "sample string 4",
  "City": "sample string 5",
  "Destination": "sample string 3, sample string 4, sample string 5",
  "Duration": "sample string 6",
  "Transport": "sample string 7",
  "Description": "sample string 8",
  "Itinerary": "sample string 9",
  "TermsAndConditions": "sample string 10",
  "Type": "sample string 11",
  "Category": "sample string 12",
  "Variant": "sample string 13",
  "PaymentType": "sample string 14",
  "MinPax": 15,
  "MinimumPrice": 16.0,
  "Currency": "sample string 17",
  "Packages": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "DepartDate": "2021-11-27T03:55:25.3042672+07:00",
      "Duration": "sample string 4",
      "Quota": 5,
      "RemainingQuota": 6,
      "MinPax": 7,
      "MaxPax": 8,
      "SellPrice": 9.0,
      "AgentCommision": 10.0,
      "Airline": "sample string 11",
      "Rabs": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "PaxType": "sample string 3",
          "Currency": "sample string 4",
          "AgentCommision": 5.0,
          "Price": 1.0
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "PaxType": "sample string 3",
          "Currency": "sample string 4",
          "AgentCommision": 5.0,
          "Price": 1.0
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "DepartDate": "2021-11-27T03:55:25.3042672+07:00",
      "Duration": "sample string 4",
      "Quota": 5,
      "RemainingQuota": 6,
      "MinPax": 7,
      "MaxPax": 8,
      "SellPrice": 9.0,
      "AgentCommision": 10.0,
      "Airline": "sample string 11",
      "Rabs": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "PaxType": "sample string 3",
          "Currency": "sample string 4",
          "AgentCommision": 5.0,
          "Price": 1.0
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "PaxType": "sample string 3",
          "Currency": "sample string 4",
          "AgentCommision": 5.0,
          "Price": 1.0
        }
      ]
    }
  ],
  "respTime": "2021-11-27T03:55:25.3042672+07:00",
  "userID": "sample string 19",
  "accessToken": "sample string 20",
  "status": "sample string 21",
  "respMessage": "sample string 22"
}

application/xml, text/xml

Sample:
<TourSearchDetailResponse 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>2021-11-27T03:55:25.3042672+07:00</respTime>
  <status>sample string 21</status>
  <userID>sample string 19</userID>
  <Category>sample string 12</Category>
  <City>sample string 5</City>
  <Country>sample string 3</Country>
  <Currency>sample string 17</Currency>
  <Description>sample string 8</Description>
  <Duration>sample string 6</Duration>
  <ID>1</ID>
  <Itinerary>sample string 9</Itinerary>
  <MinPax>15</MinPax>
  <MinimumPrice>16</MinimumPrice>
  <Name>sample string 2</Name>
  <Packages>
    <TourPackage>
      <AgentCommision>10</AgentCommision>
      <Airline>sample string 11</Airline>
      <DepartDate>2021-11-27T03:55:25.3042672+07:00</DepartDate>
      <Duration>sample string 4</Duration>
      <Id>1</Id>
      <MaxPax>8</MaxPax>
      <MinPax>7</MinPax>
      <Name>sample string 2</Name>
      <Quota>5</Quota>
      <Rabs>
        <RabDetail>
          <AgentCommision>5</AgentCommision>
          <Currency>sample string 4</Currency>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <PaxType>sample string 3</PaxType>
          <Price>1</Price>
        </RabDetail>
        <RabDetail>
          <AgentCommision>5</AgentCommision>
          <Currency>sample string 4</Currency>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <PaxType>sample string 3</PaxType>
          <Price>1</Price>
        </RabDetail>
      </Rabs>
      <RemainingQuota>6</RemainingQuota>
      <SellPrice>9</SellPrice>
    </TourPackage>
    <TourPackage>
      <AgentCommision>10</AgentCommision>
      <Airline>sample string 11</Airline>
      <DepartDate>2021-11-27T03:55:25.3042672+07:00</DepartDate>
      <Duration>sample string 4</Duration>
      <Id>1</Id>
      <MaxPax>8</MaxPax>
      <MinPax>7</MinPax>
      <Name>sample string 2</Name>
      <Quota>5</Quota>
      <Rabs>
        <RabDetail>
          <AgentCommision>5</AgentCommision>
          <Currency>sample string 4</Currency>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <PaxType>sample string 3</PaxType>
          <Price>1</Price>
        </RabDetail>
        <RabDetail>
          <AgentCommision>5</AgentCommision>
          <Currency>sample string 4</Currency>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <PaxType>sample string 3</PaxType>
          <Price>1</Price>
        </RabDetail>
      </Rabs>
      <RemainingQuota>6</RemainingQuota>
      <SellPrice>9</SellPrice>
    </TourPackage>
  </Packages>
  <PaymentType>sample string 14</PaymentType>
  <Province>sample string 4</Province>
  <TermsAndConditions>sample string 10</TermsAndConditions>
  <Transport>sample string 7</Transport>
  <Type>sample string 11</Type>
  <Variant>sample string 13</Variant>
</TourSearchDetailResponse>