Cdn API - CPG Source

<back to all web services

ApiBillingPreviewRequest

Cdn.Api

The following routes are available for this service:
GET/ApiBillingPreviewRequest
ApiBillingPreviewRequest Parameters:
NameParameterData TypeRequiredDescription
BillingMonthqueryintNo
BillingYearqueryintNo
IncludeAlreadyBilledqueryboolNo
BaseRequest<T> Parameters:
NameParameterData TypeRequiredDescription
Idformlong?No
OrderByformstring[]No
OrderDirectionsformSortOrders[]No
ApiBillingPreviewResponse Parameters:
NameParameterData TypeRequiredDescription
BillingMonthformintNo
BillingYearformintNo
BillingPeriodLabelformstringNo
PeriodStartformDateTimeNo
PeriodEndformDateTimeNo
EligibleCustomerCountformintNo
ChargeableCountformintNo
TotalAmountformdecimalNo
MissingPaymentInfoCountformintNo
TotalAtRiskAmountformdecimalNo
AlreadyBilledCountformintNo
AlreadySkippedCountformintNo
RetryCountformintNo
MinimumAppliedCountformintNo
TotalBasicCallsformintNo
TotalAdvancedCallsformintNo
NoChargeCustomerCountformintNo
DataformList<ApiBillingPreviewItem>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
ApiBillingPreviewItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LastNameformstringNo
FirstNameformstringNo
CompanyformstringNo
BasicCallsformintNo
AdvancedCallsformintNo
TotalCallsformintNo
BasicAmountformdecimalNo
AdvancedAmountformdecimalNo
CalculatedAmountformdecimalNo
TotalAmountformdecimalNo
MinimumAppliedformboolNo
StatusformstringNo
FailReasonformstringNo
IsRetryformboolNo
ApiBillingFailedformboolNo
ApiBillingPreviewResponse Parameters:
NameParameterData TypeRequiredDescription
BillingMonthformintNo
BillingYearformintNo
BillingPeriodLabelformstringNo
PeriodStartformDateTimeNo
PeriodEndformDateTimeNo
EligibleCustomerCountformintNo
ChargeableCountformintNo
TotalAmountformdecimalNo
MissingPaymentInfoCountformintNo
TotalAtRiskAmountformdecimalNo
AlreadyBilledCountformintNo
AlreadySkippedCountformintNo
RetryCountformintNo
MinimumAppliedCountformintNo
TotalBasicCallsformintNo
TotalAdvancedCallsformintNo
NoChargeCustomerCountformintNo
DataformList<ApiBillingPreviewItem>No

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 /ApiBillingPreviewRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ApiBillingPreviewResponse 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>
  <AlreadyBilledCount>0</AlreadyBilledCount>
  <AlreadySkippedCount>0</AlreadySkippedCount>
  <BillingMonth>0</BillingMonth>
  <BillingPeriodLabel>String</BillingPeriodLabel>
  <BillingYear>0</BillingYear>
  <ChargeableCount>0</ChargeableCount>
  <Data>
    <ApiBillingPreviewItem>
      <AdvancedAmount>0</AdvancedAmount>
      <AdvancedCalls>0</AdvancedCalls>
      <ApiBillingFailed>false</ApiBillingFailed>
      <BasicAmount>0</BasicAmount>
      <BasicCalls>0</BasicCalls>
      <CalculatedAmount>0</CalculatedAmount>
      <Company>String</Company>
      <FailReason>String</FailReason>
      <FirstName>String</FirstName>
      <Id>0</Id>
      <IsRetry>false</IsRetry>
      <LastName>String</LastName>
      <MinimumApplied>false</MinimumApplied>
      <Status>String</Status>
      <TotalAmount>0</TotalAmount>
    </ApiBillingPreviewItem>
  </Data>
  <EligibleCustomerCount>0</EligibleCustomerCount>
  <MinimumAppliedCount>0</MinimumAppliedCount>
  <MissingPaymentInfoCount>0</MissingPaymentInfoCount>
  <NoChargeCustomerCount>0</NoChargeCustomerCount>
  <PeriodEnd>0001-01-01T00:00:00</PeriodEnd>
  <PeriodStart>0001-01-01T00:00:00</PeriodStart>
  <RetryCount>0</RetryCount>
  <TotalAdvancedCalls>0</TotalAdvancedCalls>
  <TotalAmount>0</TotalAmount>
  <TotalAtRiskAmount>0</TotalAtRiskAmount>
  <TotalBasicCalls>0</TotalBasicCalls>
</ApiBillingPreviewResponse>