Mishor 4 Documentation‎ > ‎5. API Methods‎ > ‎4. Cars‎ > ‎

2. Info

Request times

After you get the results with the initial prices, you can get the car station and contract information using the following method. For a description of the flow, please revert to section 3: Search Flow
Request
<request version="4.0">
  <auth>
    <username>example</username>
    <password>example</password>
    <agent>example</agent>
  </auth>
  <cars-booking-info session="h2.16423401214" token="h2.1711680897"/>
</request>

Parameter Type Comments
cars-booking-info @sessionstringthe session id of the requested search
cars-booking-info @tokenstringthe token of the required car availability option

Response

<?xml version="1.0"?>
<response success="1" time="2015-03-07 02:15:26" session="h2.16423401214">
  <booking-options count="1">
    <booking-option token="h2.1711680897" onrequest="0">
      <price amount="400" currency="AUD" final="1" commissionable="1" billable="1"></price>
      <cancellation>
        <frame endTime="" timezone="UTC" type="non-refundable"></frame>
      </cancellation>
      <car-company>
        <name>Europcar</name>
        <logo>http://www.example.com/images/web/logo_EP.gif</logo>
      </car-company>
      <remarks><![CDATA[]]></remarks>
      <extra-options>
        <extra-option pricingType="additional" token="h2.1528581232">
          <name><![CDATA[Child Seat]]></name>
          <description><![CDATA[]]></description>
        </extra-option>
        <extra-option pricingType="additional" token="h2.1528581233">
          <name><![CDATA[Booster Seat]]></name>
          <description><![CDATA[]]></description>
        </extra-option>
        <extra-option pricingType="additional" token="h2.1528581234">
          <name><![CDATA[Infant Seat]]></name>
          <description><![CDATA[]]></description>
        </extra-option>
        <extra-option pricingType="additional" token="h2.1528581235">
          <name><![CDATA[Bubble Bum Seat]]></name>
          <description><![CDATA[]]></description>
          <price amount="41.54" currency="AUD"></price>
        </extra-option>
        <extra-option pricingType="additional" token="h2.1528581236">
          <name><![CDATA[Cancellation Insurance]]></name>
          <description><![CDATA[]]></description>
          <price amount="12.71" currency="AUD"></price>
        </extra-option>
      </extra-options>
      <stations>
        <station type="pickUp" token="z1">
          <carCompany companyId="EP"><![CDATA[Europcar]]></carCompany>
          <stationName><![CDATA[Coolangata Airport, Australia]]></stationName>
          <address><![CDATA[TERMINAL BUILDING GOLD COAST AIRPORT]]></address>
          <city><![CDATA[Coolangatta, Australia (QLD)]]></city>
          <country><![CDATA[AU]]></country>
          <zipCode><![CDATA[4225]]></zipCode>
          <state><![CDATA[Queensland]]></state>
          <phone><![CDATA[]]></phone>
          <airport><![CDATA[OOLT01]]></airport>
          <coordinates>
            <latitude>-0281662</latitude>
            <longitude>1535131</longitude>
          </coordinates>
          <days>
            <day day="Friday" isClosed="0" is24="0">
              <hours>
                <hour open="06:30:00" close="22:30:00"></hour>
                <hour open="00:00:00" close="00:00:00"></hour>
              </hours>
            </day>
            <day day="Monday" isClosed="0" is24="1">
              <hours>
                <hour open="00:00:00" close="00:00:00"></hour>
                <hour open="00:00:00" close="00:00:00"></hour>
              </hours>
            </day>
            ...
          </days>
        </station>
        <station type="dropOff" token="z2">
          <carCompany companyId="EP"><![CDATA[Europcar]]></carCompany>
          <stationName><![CDATA[Coolangata Airport, Australia]]></stationName>
          <address><![CDATA[TERMINAL BUILDING GOLD COAST AIRPORT]]></address>
          <city><![CDATA[Coolangatta, Australia (QLD)]]></city>
          <country><![CDATA[AU]]></country>
          <zipCode><![CDATA[4225]]></zipCode>
          <state><![CDATA[Queensland]]></state>
          <phone><![CDATA[]]></phone>
          <airport><![CDATA[OOLT01]]></airport>
          <coordinates>
            <latitude>-0281662</latitude>
            <longitude>1535131</longitude>
          </coordinates>
          <days>
            <day day="Friday" isClosed="0" is24="0">
              <hours>
                <hour open="06:30:00" close="22:30:00"></hour>
                <hour open="00:00:00" close="00:00:00"></hour>
              </hours>
            </day>
            <day day="Monday" isClosed="0" is24="1">
              <hours>
                <hour open="00:00:00" close="00:00:00"></hour>
                <hour open="00:00:00" close="00:00:00"></hour>
              </hours>
            </day>
            ...
          </days>
        </station>
        ...
      </stations>
      <rules-restrictions>
        <rule>
          <name><![CDATA[Cover Description]]></name>
          <description><![CDATA[
          Europcar Australia cover includes:  Damage Liability Fee, Theft Waiver, License and fees, Unlimited Mileage (where applicable-please see mileage fees), Premium Location Surcharge (where applicable)<br />
          <strong>Premium Location Surcharges;</strong><br />
Adelaide Airport 17% on all rental agreement charges<br />
Adelaide City 6% on all rental agreement charges<br />
...]]>
</description>
        </rule>
        <rule>
          <name><![CDATA[Europcar Amendment/Cancellation Policy]]></name>
          <description>
            <![CDATA[All Cancellations <strong>must</strong> be notified to Affordable Car Hire via email or phone within office hours.  If an email is sent to Affordable Car Hire out of office hours, it will not be considered received until the next working day.  Charges are non-negotiable as they are in line with Europcars Cancellation Policy.<br />...]]>
</description>
        </rule>
        ...
      </rules-restrictions>
    </booking-option>
  </booking-options>
</response>

Parameter Type Comments
booking-optionnode possible car options 
booking-option @tokenstring the token for the specific booking option
booking-option/price @amountfloat the price for the specific option 
booking-option/price @currencycurrency 3 letter ISO currency code 
booking-option/price @billableboolean is the option coming from a direct provider
booking-option/price @commissionableboolean can a commission be added to the price
booking-option/cancellationnode cancellation terms 
booking-option/car-company/namestring the name of the rental car company
booking-option/car-company/logourl a url to the logo of the rental car company 
booking-option/remarksstring mandatory remarks to show the user prior to the booking
extra-optionsnode possible "extras" to add to the booking
extra-option @pricingTypestring the pricing type of the extra options: additional means that you can add it to the price you received during search, total means the price replaces the price you received during search
extra-option @tokenstringthe token of the extra-option to be used during the booking process
extra-option/namestringthe name of the extra option
extra-option/descriptionstring optional description for the extra option
extra-option/pricenodein case there is a price attached to extra, specifies price and currency. see note #1
stations/station @typestring specifies whether the station node refers to the "pickup" or "dropoff" station
stations/station @tokenstring a token to be used in the booking-request
stations/station nodesee search response for details
rules-restrictionsnode mandatory rules and restrictions to show the user prior to making the booking
rules-restrictions/rule/name string the name of the rule (to be used as "headline")  
rules-restrictions/rule/description textthe content of the rule in HTML format
Notes:
1. In case there is no price node under the "extra-option" node, it means that we cannot charge for it, and it's either free OR only chargeable at the pickup station
2. It is mandatory to run the cars-booking-info request and showing the information to the user prior to making the booking

Comments