GET BillingCycles API

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


Summary:

Returns an array of billing cycles.


Resource/WSDL Page:

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


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

 

Sample XML Response:

<billing_cycles_response>
  <success>true</success>
  <row_count>3</row_count>
  <billing_cycles>
    <billing_cycle>
      <billing_cycle_id>1</billing_cycle_id>
      <billing_cycle_name>Weekly</billing_cycle_name>
    </billing_cycle>
    <billing_cycle>
      <billing_cycle_id>2</billing_cycle_id>
      <billing_cycle_name>Bi-Monthly</billing_cycle_name>
    </billing_cycle>
    <billing_cycle>
      <billing_cycle_id>3</billing_cycle_id>
      <billing_cycle_name>Monthly</billing_cycle_name>
    </billing_cycle>
  </billing_cycles>
</billing_cycles_response>

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired