Cdn API - CPG Source

<back to all web services

ApiUserInvoiceRequest

Cdn.Api

The following routes are available for this service:
GET/ApiUserInvoiceRequest
ApiUserInvoiceRequest Parameters:
NameParameterData TypeRequiredDescription
CustomerIdquerylongNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
ApiUserInvoiceResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<ApiUserInvoiceItem>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
ApiUserInvoiceItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
CustomerIdformlongNo
RowTypeformstringNo
BillingMonthformintNo
BillingYearformintNo
BillingPeriodLabelformstringNo
BasicCallsformintNo
AdvancedCallsformintNo
BasicAmountformdecimalNo
AdvancedAmountformdecimalNo
TotalAmountformdecimalNo
StatusformstringNo
SucceededOnformDateTime?No
PaymentIdformlong?No
OrderIdformlong?No
ApiUserInvoiceResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<ApiUserInvoiceItem>No

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

HTTP + CSV

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

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

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