GET Languages API

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

Summary:

Returns an array of languages.

Resource/WSDL Page:

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

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/Languages?api_key=dNJFmId9rI

 

Sample XML Response:

<languages_response>
  <success>true</success>
  <row_count>2</row_count>
  <languages>
    <language>
      <language_id>1</language_id>
      <language_name>ENGLISH</language_name>
      <language_abbr>en</language_abbr>
    </language>
    <language>
      <language_id>25</language_id>
      <language_name>DUTCH</language_name>
      <language_abbr>nl</language_abbr>
    </language>
  </languages>
</languages_response>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired