Cdn API

<back to all web services

CustomerApiUsageReportRequest

Cdn.Api

The following routes are available for this service:
GET/CustomerApiUsageReportRequest
CustomerApiUsageReportRequest Parameters:
NameParameterData TypeRequiredDescription
CustIdquerystringNo
ApiCallquerystringNo
FromDatequerystringNo
ToDatequerystringNo
PagequeryintNo
SkipqueryintNo
TakequeryintNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
CustomerApiUsageReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CustomerApiAccessLogsDto>No
CustomersformDictionary<long, string>No
PageformintNo
PagesformintNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CustomerApiAccessLogsDto Parameters:
NameParameterData TypeRequiredDescription
ApiCallformstringNo
HitsformintNo
CustomerApiUsageReportResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<CustomerApiAccessLogsDto>No
CustomersformDictionary<long, string>No
PageformintNo
PagesformintNo

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

HTTP + XML

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

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

<CustomerApiUsageReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.ResponseObjects">
  <CachedResponse>false</CachedResponse>
  <ErrorText>String</ErrorText>
  <OpCode>0</OpCode>
  <RequestTime>String</RequestTime>
  <ResponseTime>String</ResponseTime>
  <Total>0</Total>
  <TotalExecutionTime>String</TotalExecutionTime>
  <Customers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOflongstring>
      <d2p1:Key>0</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOflongstring>
  </Customers>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cdn.Api.Dto">
    <d2p1:CustomerApiAccessLogsDto>
      <d2p1:ApiCall>String</d2p1:ApiCall>
      <d2p1:Hits>0</d2p1:Hits>
    </d2p1:CustomerApiAccessLogsDto>
  </Data>
  <Page>0</Page>
  <Pages>0</Pages>
</CustomerApiUsageReportResponse>