Submit a Ticket My Tickets
Welcome
Login  Sign up

GET CapIntervals API Version 1

GET CapIntervals API Version 1

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


Summary:

Returns an array of cap intervals.


Resource/WSDL Page:

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


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

 

Sample XML Response:

<cap_intervals_response>
  <success>true</success>
  <row_count>4</row_count>
  <cap_intervals>
    <cap_interval>
      <cap_interval_id>1</cap_interval_id>
      <cap_interval_name>Daily</cap_interval_name>
    </cap_interval>
    <cap_interval>
      <cap_interval_id>2</cap_interval_id>
      <cap_interval_name>Weekly</cap_interval_name>
    </cap_interval>
    <cap_interval>
      <cap_interval_id>3</cap_interval_id>
      <cap_interval_name>Monthly</cap_interval_name>
    </cap_interval>
    <cap_interval>
      <cap_interval_id>4</cap_interval_id>
      <cap_interval_name>Custom</cap_interval_name>
    </cap_interval>
  </cap_intervals>
</cap_intervals_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.