VoucherDetail method

Please be aware that the VoucherDetail method only works if the "voucher days" period has expired (see Voucher for more details).

VoucherDetail requests outside of voucher days limit will be rejected with an according error message.

Example request

GET /ih/b2b/V0100/booking/reservation/voucher/204822102408 HTTP/1.1
Host: ws.interhome.com
Expect:
Content-Type: application/xml
PartnerID: ***
Token: ***
User-Agent: v5-php (curl 7.64.0)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Length: 0


Example response

HTTP/1.1 200 OK
set-cookie: sap-usercontext=sap-client=051; path=/
content-type: application/xml
sap-server: true
sap-perf-fesrec: 1524824.000000
X-NSC-PathQuery: /saperp-prod/interhome/public/b2b/V0100/booking/reservation/voucher/204822102408
Transfer-Encoding: chunked

<?xml version="1.0" encoding="utf-8"?>
<GetVoucherRs xmlns:prx="urn:sap.com:proxy:IHP:/1SAI/TAS6AA829E2E7487255BD8F:750">
  <VoucherDetail>
    <TravelOverview>
      <InvoiceNumber Reservationnumber="204822102408" InvoiceCounter="001"/>
      <BookingLanguage>EN</BookingLanguage>
      <Travelers>
        <Traveler>
          <Title>0001</Title>
          <Firstname>Test</Firstname>
          <Surname>Test</Surname>
        </Traveler>
      </Travelers>
      <CreateDocument Date="2022-03-31"/>
      <Customer>
        <Address Type="CU" Salutation="0001" Firstname="Test" Lastname="Test" Street="Street" PO_Box="0000000000" Country="XX" Zip="1234" Place="Place" AddressLine1="Address">
          <Contacts>
            <Contact MainEntry="true" Type="MOB" Value="+123 456789" Seqnr="1"/>
            <Contact MainEntry="true" Type="MAIL" Value="test@email.com" Seqnr="2"/>
          </Contacts>
        </Address>
      </Customer>
      <Retailer>
        <Address Type="RT" Lastname="Partner" Street="Street" PO_Box="0000000000" Country="XX" Countryname="Country" Zip="1234 CH" Place="Place">
          <Contacts>
            <Contact MainEntry="true" Type="TELB" Value="+123 4567895" Seqnr="2"/>
            <Contact MainEntry="true" Type="MAIL" Value="testpartner@email.com" Seqnr="3"/>
          </Contacts>
        </Address>
      </Retailer>
      <ReservationInformation>
        <Arrivals>
          <CheckIns Date="2022-06-24" OnAppointment="true" TwentyForSeven="false">
            <CheckIn TimeFrom="16:00:00" TimeTo="19:00:00"/>
          </CheckIns>
          <CheckOuts Date="2022-06-29" OnAppointment="true" TwentyForSeven="false">
            <CheckOut TimeFrom="00:00:00" TimeTo="10:00:00"/>
          </CheckOuts>
        </Arrivals>
        <NumberOfNights>005</NumberOfNights>
        <PersonCount NoOfAdults="02" NoOfChild="00" NoOfBaby="00"/>
      </ReservationInformation>
      <IsRefusedPaxsplitt>false</IsRefusedPaxsplitt>
    </TravelOverview>
    <KeyCollection>
      <KeyholderInformation>
        <Address Type="SU" Salutation="0001" Firstname="Test" Lastname="Test" Street="Street" PO_Box="0000000000" Country="XX" Countryname="Country" State="AR" Zip="12345" Place="Place" Longitude="11.598386764526367" Latitude="43.45795004795175" Longitude_GMS="East  11°35'54&quot;" Latitude_GMS="North 43°27'28&quot;">
          <Contacts>
            <Contact MainEntry="true" Type="MOB" Value="+123 456789" Seqnr="1"/>
            <Contact MainEntry="false" Type="MOB" Value="++123 456789" Seqnr="2"/>
          </Contacts>
        </Address>
      </KeyholderInformation>
      <Direction>A1 motorway exit Valdarno, Montevarchi direction, continue to BUCINE, after BUCINE turn right  in MERCATALE-Nusenna, after 300 m to left to LE MURA, go straight for about 2 km following the signs "LE MURA" and then turn right. </Direction>
    </KeyCollection>
    <YourHolidayHome ReferenceNumber="IT5238.885.2" ObjectName="Simone" UrlToShop="www.interhome.com/IT5238.885.2" Name="" AddressLine1="XXX" AddressLine2="XXX" Street="Street" Country="IT" Zip="12345" Place="Place" Longitude="11.593226194381713" Latitude="43.456960984091594" Longitude_GMS="East  11°35'35&quot;" Latitude_GMS="North 43°27'25&quot;" Brand="I">
      <Contacts/>
    </YourHolidayHome>
    <CostAndServices>
      <InclRentCost>
        <IncludedService Description="Laundry (initial supply of bed linen and towels)"/>
        <IncludedService Description="Final cleaning"/>
        <IncludedService Description="ERV cancellation insurance"/>
      </InclRentCost>
      <BookAdd/>
      <AddContrtb>
        <IncludedService Description="Pet" Currency="EUR" SelPriceDescription="for free"/>
        <IncludedService Description="Cot (up to 2 years)" Currency="EUR" SelPriceDescription="for free"/>
        <IncludedService Description="ERV travel insurance" Currency="EUR" SellPrice="35.0"/>
      </AddContrtb>
      <LoclBook/>
      <LoclMandCost>
        <IncludedService Description="Gas" Currency="EUR" SellPrice="4.5" SelPriceDescription="per m3" DetailGroup="AU"/>
        <IncludedService Description="Heating" Currency="EUR" SellPrice="4.5" SelPriceDescription="per m3" DetailGroup="AU"/>
        <IncludedService Description="Breakage deposit in cash" Currency="EUR" SellPrice="200.0" SelPriceDescription="fixed price" DetailGroup="DE"/>
        <IncludedService Description="Local tax 24.06.2022-29.06.2022" Currency="EUR" SellPrice="1.5" SelPriceDescription="per person/day" DetailGroup="DO"/>
      </LoclMandCost>
      <PayOnSpot>
        <IncludedService Description="Laundry (second supply of bed linen and towels)" Currency="EUR" SellPrice="10.0" SelPriceDescription="per person"/>
      </PayOnSpot>
      <SelfOrg/>
    </CostAndServices>
    <ImportantInfo>
      <AdditionalInformationCode>I</AdditionalInformationCode>
    </ImportantInfo>
    <AlertTexts>
      <Alerts/>
    </AlertTexts>
    <CustomerRequests/>
    <IndividualTexts/>
  </VoucherDetail>
</GetVoucherRs>