API documentation

http://www.travelope.com/api/soap/wsdl
Home Manage

Methods

  1. SearchDeals

SearchDeals

Returns all Active deals
Request
NameTypeDescriptionRequired
requestDealsRequestSearchDealsRequest with required ApiKey value
      CategoryStringDeal Category (Available values: Airfares, Hotels, Vacations, Cruises, Cars)
      CityNameStringDestination city name
      ComissionTypeStringCommission Type (Available values: CPC, CPA, None)
      CountryNameStringDestination country name
      EndFromDateTime?EndAt from date. For GET requests use format "MMM d, yyyy". For POST requests see notes above.
      EndToDateTime?EndAt to date. For GET requests use format "MMM d, yyyy". For POST requests see notes above.
      PageIndexint?Page number(default 1)
      PageSizeint?Page Size (maximum 100, default 10)
      RegionNameStringDestination region name
      StartFromDateTime?StartAt from date. For GET requests use format "MMM d, yyyy". For POST requests see notes above.
      StartToDateTime?StartAt to date. For GET requests use format "MMM d, yyyy". For POST requests see notes above.
      StateNameStringDestination state name
      TravelFromDateTime?Start travel from date. For GET requests use format "MMM d, yyyy". For POST requests see notes above.
      TravelToDateTime?Start travel to date. For GET requests use format "MMM d, yyyy". For POST requests see notes above.
      ApiKeyStringApiKey of your organisation
Response
NameTypeDescription
DealsDeal[] List of Deals
TotalDealsInt32 Total count of deals that match search criteria
ArgumentErrorsArgumentError[] List of requests arguments errors
ErrorError
IsSuccessBoolean Is request success or not

 
view try
Content-Type:
POST http://www.travelope.com/Api/soap
SOAPAction: api.travelope.com/Api/SearchDeals
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <SearchDeals xmlns="api.travelope.com">
      <request>
        <ApiKey>HoXwsWr0MT</ApiKey>
        <Category>Hotels</Category>
        <CityName />
        <ComissionType>None</ComissionType>
        <CountryName>United States</CountryName>
        <EndFrom>2012-01-01T00:00:00</EndFrom>
        <EndTo>2012-12-31T00:00:00</EndTo>
        <PageIndex>1</PageIndex>
        <PageSize>10</PageSize>
        <RegionName>United States</RegionName>
        <StartFrom>2012-01-01T00:00:00</StartFrom>
        <StartTo>2012-12-31T00:00:00</StartTo>
        <StateName />
        <TravelFrom>2012-01-01T00:00:00</TravelFrom>
        <TravelTo>2012-12-31T00:00:00</TravelTo>
      </request>
    </SearchDeals>
  </soap:Body>
</soap:Envelope>
HttpMethod
Url
Content-Type
SOAPAction:

Request