Cdn API - CPG Source

<back to all web services

GetApiUsageBillingRunsRequest

Cdn.Api

The following routes are available for this service:
GET/GetApiUsageBillingRunsRequest
GetApiUsageBillingRunsRequest Parameters:
NameParameterData TypeRequiredDescription
CustomerIdquerylong?No
UnpaidOnlyqueryboolNo
SkipqueryintNo
TakequeryintNo
ApiUsageBillingRunsResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<ApiUsageBillingRunDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
ApiUsageBillingRunDto Parameters:
NameParameterData TypeRequiredDescription
CustomerIdformlongNo
CustomerNameformstringNo
CompanyNameformstringNo
BillingMonthformintNo
BillingYearformintNo
BillingPeriodLabelformstringNo
BasicCallsformintNo
AdvancedCallsformintNo
BasicAmountformdecimalNo
AdvancedAmountformdecimalNo
TotalAmountformdecimalNo
AttemptedOnformDateTime?No
SucceededOnformDateTime?No
FailedOnformDateTime?No
RetryCountformintNo
StatusformstringNo
PaymentIdformlong?No
OrderIdformlong?No
ErrorMessageformstringNo
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /GetApiUsageBillingRunsRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":[{"CustomerId":0,"CustomerName":"String","CompanyName":"String","BillingMonth":0,"BillingYear":0,"BillingPeriodLabel":"String","BasicCalls":0,"AdvancedCalls":0,"BasicAmount":0,"AdvancedAmount":0,"TotalAmount":0,"AttemptedOn":"\/Date(-62135596800000-0000)\/","SucceededOn":"\/Date(-62135596800000-0000)\/","FailedOn":"\/Date(-62135596800000-0000)\/","RetryCount":0,"Status":"String","PaymentId":0,"OrderId":0,"ErrorMessage":"String","Id":0,"Active":false,"LastMod":"\/Date(-62135596800000-0000)\/","LastModBy":"String"}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}