CurrenciesService


Click here for a complete list of operations.

GetMultiDateCurrencyConversionRates

Gets the latest conversion rates of a currency.
Parameters:


Return: A list of structure containing the update date and and list of pair CurrencyIsoCode/Rate. If a date has no rates, the conversion rates member will be null

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Currencies/CurrenciesService.asmx HTTP/1.1
Host: ws-app.ebp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws-app.ebp.com/Currencies/GetMultiDateCurrencyConversionRates"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMultiDateCurrencyConversionRates xmlns="http://ws-app.ebp.com/Currencies/">
      <referenceCurrencyIsoCode>string</referenceCurrencyIsoCode>
      <period>OneDay or OneWeek or OneMonth or NinetyDays or SixMonths or OneYear or TwoYears</period>
      <applicationInfo>
        <ShortName>string</ShortName>
        <License>int</License>
        <WebKey>string</WebKey>
        <Version>string</Version>
        <CountryId>string</CountryId>
        <LanguageId>string</LanguageId>
        <MachineKey>string</MachineKey>
        <ActivationCode>string</ActivationCode>
        <ProductID>string</ProductID>
        <ParamVersion>string</ParamVersion>
        <CorporateBranch>None or France or Belgium or Switzerland or Spain or Mexico or UnitedKingdom or Automotive</CorporateBranch>
      </applicationInfo>
    </GetMultiDateCurrencyConversionRates>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMultiDateCurrencyConversionRatesResponse xmlns="http://ws-app.ebp.com/Currencies/">
      <GetMultiDateCurrencyConversionRatesResult>
        <ConversionRates>
          <UpdateDate>dateTime</UpdateDate>
          <Rates>
            <ConversionRate xsi:nil="true" />
            <ConversionRate xsi:nil="true" />
          </Rates>
          <ProviderName>string</ProviderName>
        </ConversionRates>
        <ConversionRates>
          <UpdateDate>dateTime</UpdateDate>
          <Rates>
            <ConversionRate xsi:nil="true" />
            <ConversionRate xsi:nil="true" />
          </Rates>
          <ProviderName>string</ProviderName>
        </ConversionRates>
      </GetMultiDateCurrencyConversionRatesResult>
    </GetMultiDateCurrencyConversionRatesResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Currencies/CurrenciesService.asmx HTTP/1.1
Host: ws-app.ebp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMultiDateCurrencyConversionRates xmlns="http://ws-app.ebp.com/Currencies/">
      <referenceCurrencyIsoCode>string</referenceCurrencyIsoCode>
      <period>OneDay or OneWeek or OneMonth or NinetyDays or SixMonths or OneYear or TwoYears</period>
      <applicationInfo>
        <ShortName>string</ShortName>
        <License>int</License>
        <WebKey>string</WebKey>
        <Version>string</Version>
        <CountryId>string</CountryId>
        <LanguageId>string</LanguageId>
        <MachineKey>string</MachineKey>
        <ActivationCode>string</ActivationCode>
        <ProductID>string</ProductID>
        <ParamVersion>string</ParamVersion>
        <CorporateBranch>None or France or Belgium or Switzerland or Spain or Mexico or UnitedKingdom or Automotive</CorporateBranch>
      </applicationInfo>
    </GetMultiDateCurrencyConversionRates>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMultiDateCurrencyConversionRatesResponse xmlns="http://ws-app.ebp.com/Currencies/">
      <GetMultiDateCurrencyConversionRatesResult>
        <ConversionRates>
          <UpdateDate>dateTime</UpdateDate>
          <Rates>
            <ConversionRate xsi:nil="true" />
            <ConversionRate xsi:nil="true" />
          </Rates>
          <ProviderName>string</ProviderName>
        </ConversionRates>
        <ConversionRates>
          <UpdateDate>dateTime</UpdateDate>
          <Rates>
            <ConversionRate xsi:nil="true" />
            <ConversionRate xsi:nil="true" />
          </Rates>
          <ProviderName>string</ProviderName>
        </ConversionRates>
      </GetMultiDateCurrencyConversionRatesResult>
    </GetMultiDateCurrencyConversionRatesResponse>
  </soap12:Body>
</soap12:Envelope>