Static Configuration

Method Goals

This method returns important information about the behaviour of the integration (specific provider).

Request Format

The request only requires the provider code and credentials.

Response Format

The response contains a list of basic information about the limitations of the integration / provider.

OpenAvailability

Type Description
false Need to specify passengers in avail request. In response, provider returns price of option that you specify.
true Not necessary to specify passengers in avail request. In this case provider returns all possible participant types that can provide, and you can choose the participant types you are interested in.

Range

Type Description
R Range date, it means that provider returns options between the range of dates sent in Avail request, anyone who is between these dates.
S Specific date, it means that provider returns options for specific range of dates sent in Avail request.

StaticConfigurationRQ Example

    <StaticConfigurationRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <timeoutMilliseconds>60000</timeoutMilliseconds>
      <filterAuditData>
        <registerTransactions>false</registerTransactions>
      </filterAuditData>
      <Configuration codeProvider="XXX">
        <Credentials user="XXXX" password="XXXXX">
          <UrlGeneric>www.test.com</UrlGeneric>
          <UrlIdentification xsi:nil="true" />
          <UrlAvailability xsi:nil="true" />
          <UrlBook xsi:nil="true" />
          <UrlsSpecific xsi:nil="true" />
        </Credentials>
        <Attributes>
          <Attribute key="destinationId" value="
          Testing.com" />
          <Attribute key="destinationName" value="Testing.com" />
        </Attributes>
      </Configuration>
    </StaticConfigurationRQ>

StaticConfigurationRQ Description

Element Number Type Description
StaticConfigurationRQ 1 Root node.
timeoutMilliseconds 1 Integer Timeout in milliseconds that client will be waiting the response.
source 1 Information about source requesting the operation.
source/languageCode 1 String Language code (ISO 3166-1 alpha-2) format.
filterAuditData 1 Information about enable or disable information returned in audit data.
filterAuditData/registerTransactions 1 Boolean If true, it registers the transactions with provider.
Configuration 1 Information about source requesting the operation.
@codeProvider 1 String Agency code of the provider.
Configuration/Credentials 1 Provider credentials.
Configuration/Credentials/User 0..1 String User code for connection.
Configuration/Credentials/Password 0..1 String Password for connection.
Configuration/Credentials/UrlGeneric 0..1 String Url generic connection.
Configuration/UrlAvail 0..1 String Url for Avail method.
Configuration/UrlValuation 0..1 String Url for Valuation method.
Configuration/UrlBook 0..1 String Url for Reservation method.
Configuration/Attributes 0..1 Parameters for additional information.
Configuration/Attributes/Attribute 0..n List of parameter.
@key 1 String Contains the keyword/Id to identify a parameter.
@value 1 String Contains the value of the parameter.

StaticConfigurationRS Example

    <StaticConfigurationRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <operationImplemented>true</operationImplemented>
      <NumOfDestinations>1</NumOfDestinations>
      <NumOfEvents>0</NumOfEvents>
      <NumOfEventTypes>0</NumOfEventTypes>
      <DateRange>
        <Range>S</Range>
        <MaxDays>5</MaxDays>
      </DateRange>
      <Languages>
        <Language>es</Language>
      </Languages>
      <OpenAvailability>false</OpenAvailability>
      <NumMaxParticipants>12</NumMaxParticipants>
    </StaticConfigurationRS>

StaticConfigurationRS Description

Element Number Type Description
StaticConfigurationRS 1 Root node.
AvailabilityByRegion 1 Boolean Indicates if it is possible to get availability by Region
AvailabilityByPosition 1 Boolean Indicates if it is possible to get availability by Position
AvailabilityByTourActivityID 1 Boolean Indicates if it is possible to get availability by TourActivityID
AvailabilityByMultipleTourActivitySearch 1 Boolean Indicates if it is possible to get availability by MultipleTourActivitySearch
NumOfDestinations 1 Integer Number of destination that a specific integration / provider can return in one Avail.
NumOfEvents 1 Integer Number of TourActivityID that a specific integration / provider can return in one Avail.
NumOfEventTypes 1 Integer Number of Category Code that a specific integration / provider can return in one Avail.
DateRange 1 Number of destination that a specific integration / provider can return in one Avail.
Range 1 Enum Type of range that identifies how we can get the different options for each activity depending on the date range sent on Avail request.
MaxDays 1 Integer Maximum of days that you can send in Avail request. In case that we return 999, it means that the provider doesn’t specify a maximum. (Possibles case: “R” or “S”).
Languages 1 List of languages in which a provider can return the response.
Languages/Language 1..n String Language code (ISO 3166-1 alpha-2 format).
OpenAvailability 1 Boolean Type of provider, the difference is in avail response.
NumMaxParticipants 1 Integer Maximum number of participants/Tickets you can request in availability.

Comments