Wholesale Billing Periods
A wholesale billing period groups carrier CDR files and charges into a span of time, usually a month, for reconciliation. See the Wholesale Billing Periods guide for how they are used.
Methods
Section titled “Methods”Retrieve Single Wholesale Billing Period
Section titled “Retrieve Single Wholesale Billing Period”/backend/api/v1/wholesaleBillingPeriods/ID - fetch the wholesale billing period with the specified ID.
List Wholesale Billing Periods
Section titled “List Wholesale Billing Periods”/backend/api/v1/wholesaleBillingPeriods/ - list all wholesale billing periods.
Additional Query Parameters
Section titled “Additional Query Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
idAfter | integer | No | Only include periods with a higher ID |
createdSince | datetime | No | Only include periods created since the given time |
updatedSince | datetime | No | Only include periods updated since the given time |
/backend/api/v1/wholesaleBillingPeriods/ - add a new wholesale billing period. The newly-added period will be returned.
/backend/api/v1/wholesaleBillingPeriods/ID - update the wholesale billing period with the specified ID. The modified period will be returned.
DELETE
Section titled “DELETE”/backend/api/v1/wholesaleBillingPeriods/ID - delete the wholesale billing period with the specified ID.
Fields
Section titled “Fields”| Field | Name | Type | Description |
|---|---|---|---|
| name | Name | Text | Descriptive name for this wholesale billing period |
| id | Wholesale Billing Period ID | Text | The unique identifier for this wholesale billing period |