SIGNUP GetPriceFormats API Version 1
Updated on 2014-06-02
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of price formats.
Resource/WSDL Page:
http://<your_domain_here>/api/1/signup.asmx?op=GetPriceFormats
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/signup.asmx/GetPriceFormats?api_key=3YmDJeT3VHTFhDqAjr2OlQ |
Sample XML Response:
<ArrayOfPriceFormat>
<PriceFormat>
<price_format_id>1</price_format_id>
<format_name>CPA</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>2</price_format_id>
<format_name>CPC</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>3</price_format_id>
<format_name>CPM</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>4</price_format_id>
<format_name>Fixed</format_name>
</PriceFormat>
<PriceFormat>
<price_format_id>5</price_format_id>
<format_name>RevShare</format_name>
</PriceFormat>
</ArrayOfPriceFormat>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |