GET OfferTypes API
Updated on 2014-05-21
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of offer types.
Resource/WSDL Page:
http://<your_domain_here>/api/1/get.asmx?op=OfferTypes
Parameters
api_key | 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 | https://demo-new.cakemarketing.com/api/1/get.asmx/OfferTypes?api_key=3YmDJeT3VHTFhDqAjr2OlQ |
Sample XML Response:
<offer_types_response>
<success>true</success>
<row_count>3</row_count>
<offer_types>
<offer_type>
<offer_type_id>3</offer_type_id>
<offer_type_name>3rd Party</offer_type_name>
</offer_type>
<offer_type>
<offer_type_id>2</offer_type_id>
<offer_type_name>Host-n-Post</offer_type_name>
</offer_type>
<offer_type>
<offer_type_id>1</offer_type_id>
<offer_type_name>Hosted</offer_type_name>
</offer_type>
</offer_types>
</offer_types_response>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |