POST Umroh/Detail

Request Information

URI Parameters

None.

Body Parameters

UmrohSearchDetailRequest
NameDescriptionTypeAdditional information
Id

integer

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<UmrohSearchDetailRequest 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>
  <Id>1</Id>
</UmrohSearchDetailRequest>

Response Information

Resource Description

UmrohSearchDetailResponse
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Duration

integer

None.

StartDate

date

None.

Enddate

date

None.

StartPrice

decimal number

None.

Facility

string

None.

ProvisionDocument

string

None.

CostInclude

string

None.

CostExclude

string

None.

Policy

string

None.

Route

string

None.

Flight

string

None.

Description

string

None.

Packages

Collection of UmrohPackage

None.

Itinerary

Collection of UmrohItinerary

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",
  "Duration": 3,
  "StartDate": "2021-11-27T12:11:06.6173312+07:00",
  "Enddate": "2021-11-27T12:11:06.6173312+07:00",
  "StartPrice": 4.0,
  "Facility": "sample string 5",
  "ProvisionDocument": "sample string 6",
  "CostInclude": "sample string 7",
  "CostExclude": "sample string 8",
  "Policy": "sample string 9",
  "Route": "sample string 10",
  "Flight": "sample string 11",
  "Description": "sample string 12",
  "Packages": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "PricePerPax": 3.0,
      "Allotment": 4,
      "Hotels": [
        {
          "HotelName": "sample string 1",
          "City": "sample string 2",
          "Rating": 3,
          "Information": "sample string 4"
        },
        {
          "HotelName": "sample string 1",
          "City": "sample string 2",
          "Rating": 3,
          "Information": "sample string 4"
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "PricePerPax": 3.0,
      "Allotment": 4,
      "Hotels": [
        {
          "HotelName": "sample string 1",
          "City": "sample string 2",
          "Rating": 3,
          "Information": "sample string 4"
        },
        {
          "HotelName": "sample string 1",
          "City": "sample string 2",
          "Rating": 3,
          "Information": "sample string 4"
        }
      ]
    }
  ],
  "Itinerary": [
    {
      "Date": "2021-11-27T12:11:06.6173312+07:00",
      "Route": "sample string 1",
      "Schedule": "sample string 2"
    },
    {
      "Date": "2021-11-27T12:11:06.6173312+07:00",
      "Route": "sample string 1",
      "Schedule": "sample string 2"
    }
  ],
  "respTime": "2021-11-27T12:11:06.6173312+07:00",
  "userID": "sample string 14",
  "accessToken": "sample string 15",
  "status": "sample string 16",
  "respMessage": "sample string 17"
}

application/xml, text/xml

Sample:
<UmrohSearchDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 15</accessToken>
  <respMessage>sample string 17</respMessage>
  <respTime>2021-11-27T12:11:06.6173312+07:00</respTime>
  <status>sample string 16</status>
  <userID>sample string 14</userID>
  <CostExclude>sample string 8</CostExclude>
  <CostInclude>sample string 7</CostInclude>
  <Description>sample string 12</Description>
  <Duration>3</Duration>
  <Enddate>2021-11-27T12:11:06.6173312+07:00</Enddate>
  <Facility>sample string 5</Facility>
  <Flight>sample string 11</Flight>
  <Id>1</Id>
  <Itinerary>
    <UmrohItinerary>
      <Date>2021-11-27T12:11:06.6173312+07:00</Date>
      <Route>sample string 1</Route>
      <Schedule>sample string 2</Schedule>
    </UmrohItinerary>
    <UmrohItinerary>
      <Date>2021-11-27T12:11:06.6173312+07:00</Date>
      <Route>sample string 1</Route>
      <Schedule>sample string 2</Schedule>
    </UmrohItinerary>
  </Itinerary>
  <Name>sample string 2</Name>
  <Packages>
    <UmrohPackage>
      <Allotment>4</Allotment>
      <Hotels>
        <UmrohHotelInfo>
          <City>sample string 2</City>
          <HotelName>sample string 1</HotelName>
          <Information>sample string 4</Information>
          <Rating>3</Rating>
        </UmrohHotelInfo>
        <UmrohHotelInfo>
          <City>sample string 2</City>
          <HotelName>sample string 1</HotelName>
          <Information>sample string 4</Information>
          <Rating>3</Rating>
        </UmrohHotelInfo>
      </Hotels>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <PricePerPax>3</PricePerPax>
    </UmrohPackage>
    <UmrohPackage>
      <Allotment>4</Allotment>
      <Hotels>
        <UmrohHotelInfo>
          <City>sample string 2</City>
          <HotelName>sample string 1</HotelName>
          <Information>sample string 4</Information>
          <Rating>3</Rating>
        </UmrohHotelInfo>
        <UmrohHotelInfo>
          <City>sample string 2</City>
          <HotelName>sample string 1</HotelName>
          <Information>sample string 4</Information>
          <Rating>3</Rating>
        </UmrohHotelInfo>
      </Hotels>
      <Id>1</Id>
      <Name>sample string 2</Name>
      <PricePerPax>3</PricePerPax>
    </UmrohPackage>
  </Packages>
  <Policy>sample string 9</Policy>
  <ProvisionDocument>sample string 6</ProvisionDocument>
  <Route>sample string 10</Route>
  <StartDate>2021-11-27T12:11:06.6173312+07:00</StartDate>
  <StartPrice>4</StartPrice>
</UmrohSearchDetailResponse>