Cdn API - CPG Source

<back to all web services

ApiUnbilledUsageRequest

Cdn.Api

The following routes are available for this service:
GET/ApiUnbilledUsageRequest
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
ApiUnbilledUsageResponse Parameters:
NameParameterData TypeRequiredDescription
UnbilledCustomerCountformintNo
TotalUnbilledAmountformdecimalNo
TotalUnbilledCallsformintNo
TotalBilledCallsformintNo
TotalCallsformintNo
TotalInvoicedAmountformdecimalNo
ActiveApiKeyCustomerCountformintNo
ActiveApiCustomersformintNo
NumberOfNoChargeCustomersformintNo
DataformList<ApiUnbilledUsageItem>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
ApiUnbilledUsageItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LastNameformstringNo
FirstNameformstringNo
CompanyformstringNo
BasicCallsformintNo
AdvancedCallsformintNo
UnbilledCallsformintNo
BilledCallsformintNo
TotalCallsformintNo
BasicCostformdecimalNo
AdvancedCostformdecimalNo
TotalCostformdecimalNo
InvoicedAmountformdecimalNo
ApiUnbilledUsageResponse Parameters:
NameParameterData TypeRequiredDescription
UnbilledCustomerCountformintNo
TotalUnbilledAmountformdecimalNo
TotalUnbilledCallsformintNo
TotalBilledCallsformintNo
TotalCallsformintNo
TotalInvoicedAmountformdecimalNo
ActiveApiKeyCustomerCountformintNo
ActiveApiCustomersformintNo
NumberOfNoChargeCustomersformintNo
DataformList<ApiUnbilledUsageItem>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /ApiUnbilledUsageRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UnbilledCustomerCount: 0,
	TotalUnbilledAmount: 0,
	TotalUnbilledCalls: 0,
	TotalBilledCalls: 0,
	TotalCalls: 0,
	TotalInvoicedAmount: 0,
	ActiveApiKeyCustomerCount: 0,
	ActiveApiCustomers: 0,
	NumberOfNoChargeCustomers: 0,
	Data: 
	[
		{
			Id: 0,
			LastName: String,
			FirstName: String,
			Company: String,
			BasicCalls: 0,
			AdvancedCalls: 0,
			UnbilledCalls: 0,
			BilledCalls: 0,
			TotalCalls: 0,
			BasicCost: 0,
			AdvancedCost: 0,
			TotalCost: 0,
			InvoicedAmount: 0
		}
	],
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}