POST api/PNR_Retrive/RetriveHotelPNR?PNR={PNR}&OfficeId={OfficeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PNR

string

Required

OfficeId

string

Required

Body Parameters

None.

Response Information

Resource Description

AmadeusPnrDetails
NameDescriptionTypeAdditional information
hotelBookDetailList

Collection of HotelBookDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "hotelBookDetailList": [
    {
      "nightPrices": [
        {
          "night": "2026-01-01T23:32:36.4897878+05:30",
          "price": 2.0
        },
        {
          "night": "2026-01-01T23:32:36.4897878+05:30",
          "price": 2.0
        }
      ],
      "PNR": "sample string 1",
      "CountryCode": "sample string 2",
      "CountryName": "sample string 3",
      "OfficeId": "sample string 4",
      "CityCode": "sample string 5",
      "CityName": "sample string 6",
      "Breakfast": "sample string 7",
      "Internet": "sample string 8",
      "BookingDate": "2026-01-01T23:32:36.4867824+05:30",
      "CheckIndate": "2026-01-01T23:32:36.4867824+05:30",
      "CheckoutDate": "2026-01-01T23:32:36.4877836+05:30",
      "HotelName": "sample string 12",
      "TAS_NUMBER": "sample string 13",
      "Hotel_Confirmation_Number": "sample string 14",
      "EntityCode": "sample string 15",
      "EmployeeId": "sample string 16",
      "EmployeeName": "sample string 17",
      "EmployeeFirstName": "sample string 18",
      "EmployeeSurname": "sample string 19",
      "TravelPlan": "sample string 20",
      "HotelAddress": "sample string 21",
      "RateType": "sample string 22",
      "RoomType": "sample string 23",
      "AgentSignature": "sample string 24",
      "BookedCurrency": "sample string 25",
      "BookedRatePerNightExTax": 26.0,
      "BookedRatePerNightIncTax": 27.0,
      "FullTrnAmountIncTax": 28.0,
      "RoomNight": 29,
      "ErrorMessage": "sample string 30"
    },
    {
      "nightPrices": [
        {
          "night": "2026-01-01T23:32:36.4897878+05:30",
          "price": 2.0
        },
        {
          "night": "2026-01-01T23:32:36.4897878+05:30",
          "price": 2.0
        }
      ],
      "PNR": "sample string 1",
      "CountryCode": "sample string 2",
      "CountryName": "sample string 3",
      "OfficeId": "sample string 4",
      "CityCode": "sample string 5",
      "CityName": "sample string 6",
      "Breakfast": "sample string 7",
      "Internet": "sample string 8",
      "BookingDate": "2026-01-01T23:32:36.4867824+05:30",
      "CheckIndate": "2026-01-01T23:32:36.4867824+05:30",
      "CheckoutDate": "2026-01-01T23:32:36.4877836+05:30",
      "HotelName": "sample string 12",
      "TAS_NUMBER": "sample string 13",
      "Hotel_Confirmation_Number": "sample string 14",
      "EntityCode": "sample string 15",
      "EmployeeId": "sample string 16",
      "EmployeeName": "sample string 17",
      "EmployeeFirstName": "sample string 18",
      "EmployeeSurname": "sample string 19",
      "TravelPlan": "sample string 20",
      "HotelAddress": "sample string 21",
      "RateType": "sample string 22",
      "RoomType": "sample string 23",
      "AgentSignature": "sample string 24",
      "BookedCurrency": "sample string 25",
      "BookedRatePerNightExTax": 26.0,
      "BookedRatePerNightIncTax": 27.0,
      "FullTrnAmountIncTax": 28.0,
      "RoomNight": 29,
      "ErrorMessage": "sample string 30"
    }
  ]
}

application/xml, text/xml

Sample:
<AmadeusPnrDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business_objects">
  <hotelBookDetailList>
    <HotelBookDetail>
      <AgentSignature>sample string 24</AgentSignature>
      <BookedCurrency>sample string 25</BookedCurrency>
      <BookedRatePerNightExTax>26</BookedRatePerNightExTax>
      <BookedRatePerNightIncTax>27</BookedRatePerNightIncTax>
      <BookingDate>2026-01-01T23:32:36.4867824+05:30</BookingDate>
      <Breakfast>sample string 7</Breakfast>
      <CheckIndate>2026-01-01T23:32:36.4867824+05:30</CheckIndate>
      <CheckoutDate>2026-01-01T23:32:36.4877836+05:30</CheckoutDate>
      <CityCode>sample string 5</CityCode>
      <CityName>sample string 6</CityName>
      <CountryCode>sample string 2</CountryCode>
      <CountryName>sample string 3</CountryName>
      <EmployeeFirstName>sample string 18</EmployeeFirstName>
      <EmployeeId>sample string 16</EmployeeId>
      <EmployeeName>sample string 17</EmployeeName>
      <EmployeeSurname>sample string 19</EmployeeSurname>
      <EntityCode>sample string 15</EntityCode>
      <ErrorMessage>sample string 30</ErrorMessage>
      <FullTrnAmountIncTax>28</FullTrnAmountIncTax>
      <HotelAddress>sample string 21</HotelAddress>
      <HotelName>sample string 12</HotelName>
      <Hotel_Confirmation_Number>sample string 14</Hotel_Confirmation_Number>
      <Internet>sample string 8</Internet>
      <OfficeId>sample string 4</OfficeId>
      <PNR>sample string 1</PNR>
      <RateType>sample string 22</RateType>
      <RoomNight>29</RoomNight>
      <RoomType>sample string 23</RoomType>
      <TAS_NUMBER>sample string 13</TAS_NUMBER>
      <TravelPlan>sample string 20</TravelPlan>
      <nightPrices>
        <NightPrice>
          <night>2026-01-01T23:32:36.4897878+05:30</night>
          <price>2</price>
        </NightPrice>
        <NightPrice>
          <night>2026-01-01T23:32:36.4897878+05:30</night>
          <price>2</price>
        </NightPrice>
      </nightPrices>
    </HotelBookDetail>
    <HotelBookDetail>
      <AgentSignature>sample string 24</AgentSignature>
      <BookedCurrency>sample string 25</BookedCurrency>
      <BookedRatePerNightExTax>26</BookedRatePerNightExTax>
      <BookedRatePerNightIncTax>27</BookedRatePerNightIncTax>
      <BookingDate>2026-01-01T23:32:36.4867824+05:30</BookingDate>
      <Breakfast>sample string 7</Breakfast>
      <CheckIndate>2026-01-01T23:32:36.4867824+05:30</CheckIndate>
      <CheckoutDate>2026-01-01T23:32:36.4877836+05:30</CheckoutDate>
      <CityCode>sample string 5</CityCode>
      <CityName>sample string 6</CityName>
      <CountryCode>sample string 2</CountryCode>
      <CountryName>sample string 3</CountryName>
      <EmployeeFirstName>sample string 18</EmployeeFirstName>
      <EmployeeId>sample string 16</EmployeeId>
      <EmployeeName>sample string 17</EmployeeName>
      <EmployeeSurname>sample string 19</EmployeeSurname>
      <EntityCode>sample string 15</EntityCode>
      <ErrorMessage>sample string 30</ErrorMessage>
      <FullTrnAmountIncTax>28</FullTrnAmountIncTax>
      <HotelAddress>sample string 21</HotelAddress>
      <HotelName>sample string 12</HotelName>
      <Hotel_Confirmation_Number>sample string 14</Hotel_Confirmation_Number>
      <Internet>sample string 8</Internet>
      <OfficeId>sample string 4</OfficeId>
      <PNR>sample string 1</PNR>
      <RateType>sample string 22</RateType>
      <RoomNight>29</RoomNight>
      <RoomType>sample string 23</RoomType>
      <TAS_NUMBER>sample string 13</TAS_NUMBER>
      <TravelPlan>sample string 20</TravelPlan>
      <nightPrices>
        <NightPrice>
          <night>2026-01-01T23:32:36.4897878+05:30</night>
          <price>2</price>
        </NightPrice>
        <NightPrice>
          <night>2026-01-01T23:32:36.4897878+05:30</night>
          <price>2</price>
        </NightPrice>
      </nightPrices>
    </HotelBookDetail>
  </hotelBookDetailList>
</AmadeusPnrDetails>