Cdn API - CPG Source

<back to all web services

ApiBilledUsageReportRequest

Cdn.Api

The following routes are available for this service:
GET/ApiBilledUsageReportRequest
ApiBilledUsageReportRequest Parameters:
NameParameterData TypeRequiredDescription
BillingMonthqueryintNo
BillingYearqueryintNo
StatusquerystringNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
ApiBilledUsageReportResponse Parameters:
NameParameterData TypeRequiredDescription
BilledCustomerCountformintNo
TotalBilledAmountformdecimalNo
DataformList<ApiBilledUsageItem>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
ApiBilledUsageItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LastNameformstringNo
FirstNameformstringNo
CompanyformstringNo
BasicCallsformintNo
AdvancedCallsformintNo
BasicCostformdecimalNo
AdvancedCostformdecimalNo
TotalCostformdecimalNo
StatusformstringNo
SucceededOnformDateTime?No
PaymentIdformlong?No
OrderIdformlong?No
ApiBilledUsageReportResponse Parameters:
NameParameterData TypeRequiredDescription
BilledCustomerCountformintNo
TotalBilledAmountformdecimalNo
DataformList<ApiBilledUsageItem>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 /ApiBilledUsageReportRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	BilledCustomerCount: 0,
	TotalBilledAmount: 0,
	Data: 
	[
		{
			Id: 0,
			LastName: String,
			FirstName: String,
			Company: String,
			BasicCalls: 0,
			AdvancedCalls: 0,
			BasicCost: 0,
			AdvancedCost: 0,
			TotalCost: 0,
			Status: String,
			SucceededOn: 0001-01-01,
			PaymentId: 0,
			OrderId: 0
		}
	],
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}