Skip to content

Datamodels

APIResultResponse<_T>

Key Type Description
result _T The object, or list of objects in the result set
count integer The number of objects in the response
total_results integer The total number of objects available for this type of request

ResellerCustomer

Key Type Description
id integer Customer ID
name string Customer name
email string Customer email address
phone string Customer Phone Number
is_active boolean Indicates whether account is active
registration_date datetime Datetime in ISO format when the customer has been registrered
last_modified datetime Datetime in ISO format when the customer has been modified

ResellerCustomerUsage

Key Type Description
usage_period_start string Date when usage period start
usage_period_end string Date when usage period ends
units_used integer Number of units used
cost number (Optional) Actual cost of period (shown in invoice view)
language string (Optional) Language split (shown in periodic view)
token_name string (Optional) Language split (shown in periodic view)
subscription_id integer (Optional) Subscription split (shown in invoice view)