Submit a Ticket My Tickets
Welcome
Login  Sign up

GET PriceFormats API Version 1

GET PriceFormats API

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

Summary:

Returns an array of price formats.

Resource/WSDL Page:

http:///api/1/get.asmx?op=PriceFormats

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

https://demo-new.cakemarketing.com/api/1/get.asmx/PriceFormats?api_key=3YmDJeT3VHTFhDqAjr2OlQ

 

Sample XML Response:

<price_formats_response>
<success>true</success>
<row_count>5</row_count>
<price_formats>
<price_format>
<price_format_id>1</price_format_id>
<price_format_name>CPA</price_format_name>
</price_format>
<price_format>
<price_format_id>2</price_format_id>
<price_format_name>CPC</price_format_name>
</price_format>
<price_format>
<price_format_id>3</price_format_id>
<price_format_name>CPM</price_format_name>
</price_format>
<price_format>
<price_format_id>4</price_format_id>
<price_format_name>Fixed</price_format_name>
</price_format>
<price_format>
<price_format_id>5</price_format_id>
<price_format_name>RevShare</price_format_name>
</price_format>
</price_formats>
</price_formats_response>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.