GET Currencies API

Updated on 2014-05-21
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP

Summary:

Returns an array of currencies.

Resource/WSDL Page:

http://<your_domain_here>/api/1/get.asmx?op=Currencies

Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API key (existing and not expired) 

Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

 **Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 

 

Example Request

GET

http://demo.cakemarketing.com/api/1/get.asmx/Currencies?api_key=dNJFmId9rI

 

Sample XML Response:

<currencies_response>
  <success>true</success>
  <row_count>5</row_count>
  <currencies>
    <currency>
      <currency_id>1</currency_id>
      <currency_symbol>$</currency_symbol>
      <currency_name>US Dollar</currency_name>
      <currency_abbr>USD</currency_abbr>
    </currency>
    <currency>
      <currency_id>2</currency_id>
      <currency_symbol>€</currency_symbol>
      <currency_name>Euro</currency_name>
      <currency_abbr>EUR</currency_abbr>
    </currency>
    <currency>
      <currency_id>3</currency_id>
      <currency_symbol>£</currency_symbol>
      <currency_name>British Pound</currency_name>
      <currency_abbr>GBP</currency_abbr>
    </currency>
    <currency>
      <currency_id>4</currency_id>
      <currency_symbol>A$</currency_symbol>
      <currency_name>AU Dollar</currency_name>
      <currency_abbr>AUD</currency_abbr>
    </currency>
    <currency>
      <currency_id>5</currency_id>
      <currency_symbol>C$</currency_symbol>
      <currency_name>CA Dollar</currency_name>
      <currency_abbr>CAD</currency_abbr>
    </currency>
  </currencies>
</currencies_response>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired