Configuration
A Configuration element with the credentials, endpoints and extra needed parameters by the supplier will be received in the request from the buyer and will be sent to the supplier. In this configuration TravelgateX will receive the endpoints needed to send the request to the supplier (you can see the correlation between methods and enpoints used in the connectivity page).
<Configuration>
<User></User>
<Password></Password>
<UrlGeneric></UrlGeneric>
<UrlAvail></UrlAvail>
<UrlValuation></UrlValuation>
<UrlReservation></UrlReservation>
<Parameters>
<Parameter key = "" value = ""/>
</Parameters>
</Configuration>
Configuration Description
Element | Number | Type | Description |
---|---|---|---|
Configuration | 1 | The info required to access the supplier’s system. | |
Configuration/User | 0..1 | String | User code to connect to supplier. |
Configuration/Password | 0..1 | String | Password for the connection. |
Configuration/UrlGeneric | 1 | String | Supplier URL used for multiple methods. |
Configuration/UrlAvail | 1 | String | Specific Url for Availability method. |
Configuration/UrlValuation | 1 | String | Specific Url for Valuation method. |
Configuration/UrlReservation | 1 | String | Specific Url for Reservation method. |
Configuration/Parameters | 0..1 | Parameters for additional information. | |
Configuration/Parameters/Parameter | 0..n | List of parameters. | |
@key | 1 | String | Contains the keyword/Id to identify a parameter. |
@value | 1 | String | Contains the parameter values |