Update FX Rate

Use the updateNewExchangeRate method to update the foreingn exchange rate in Cangooroo.

Update FX Request

The request structure is shown below:


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:ws="WS_2013.OperatorCredential"> <soapenv:Header/> <soapenv:Body> <tem:updateNewExchangeRate> <tem:credential> <ws:UserName>?</ws:UserName> <ws:Password>?</ws:Password> <ws:ClientId>?</ws:ClientId> </tem:credential> <tem:clientID>?</tem:clientID> <tem:currencyFrom>?</tem:currencyFrom> <tem:currencyTo>?</tem:currencyTo> <tem:serviceType>?</tem:serviceType> <tem:baseId>?</tem:baseId> <tem:supplierId>?</tem:supplierId> <tem:currencyValue>?</tem:currencyValue> </tem:updateNewExchangeRate> </soapenv:Body></soapenv:Envelope>

The UserName tag is where you're supposed to put in the UserName given you by the Operator. While the Password is where you're supposed to insert the Password given you by the Operator. The credential provided must be Operator level.

The ClientID is outdated and the value should be always 0 (zero).

Detailed information:

  • currencyFrom: the currency which you want to convert from, the value of this currency is always 1 - so this is the base currency;

  • currencyTo: the variable currency, which will have the conversion value;

  • currencyValue: the value of the conversion (decimal);

  • serviceType: RENTACAR, CIRCUIT, CRUISE, HOTEL, INSURANCE, TOUR, TRANSFER, TRAINTICKET, TRAINPASS, FLIGHT, PACKAGE or ALL;

  • clienteId: used to provide FX rate for an specific client. Can be 0 (zero);

  • baseId: used to provide FX rate for an specific client base. Can be 0 (zero);

  • supplierId: used to provide FX rate for an specific supplier. Can be 0 (zero).

Update FX Response

The typical response acknowledges the exchange rate update operation. If any error occur the updateExchangeRateResult tag will return false. Unfortunately at this time we do not provide any information about the error.