Overview
Error Handling

Methods

API Documentation (API Version bleed)

Account/Cycle/

DESCRIPTION

API methods for fetching all defined billing cycles for an account.

list

URL:

https://api.liquidweb.com/bleed/Account/Cycle/list

Description:

Returns all defined billing cycles for an account along with relevant dates.

Parameters:

ParameterTypeNotes
order_byAn associative array containing the fields:
 
fieldOne of: 'months', 'name'* Required
sortOne of: 'asc', 'desc'* Optional
  • Defaults to: desc
page_numA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 1
page_sizeA positive integer value (i.e. 1 and up).* Optional
  • Defaults to: 25

Returns:

FieldType
item_countA non-negative integer value (i.e. 0 and up).
item_totalA non-negative integer value (i.e. 0 and up).
itemsAn array of associative arrays containing
 
accntA valid account number, up to 6 digits in length.
cycleA single word, consisting of only letters and digits.
last_dateA valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
next_dateA valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object.
page_numA positive integer value (i.e. 1 and up).
page_sizeA positive integer value (i.e. 1 and up).
page_totalA positive integer value (i.e. 1 and up).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types