Betting.WebApi

<back to all web services

FindCashbookTotals

The following routes are available for this service:
GET/totals/cashbooks
FindCashbookTotals Parameters:
NameParameterData TypeRequiredDescription
OrgIdquerystringNo
DatequeryDateTimeNo
SearchquerystringNo
PaginatedQuery Parameters:
NameParameterData TypeRequiredDescription
CurrentPageformintNo
PageSizeformintNo
PaginatedResultWithTotal<T> Parameters:
NameParameterData TypeRequiredDescription
TotalformdecimalNo
PaginatedResult<T> Parameters:
NameParameterData TypeRequiredDescription
DataformList<T>No
CurrentPageformintNo
PageSizeformintNo
TotalItemsformintNo
TotalPagesformintNo

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 /totals/cashbooks HTTP/1.1 
Host: api.mozzart.ath.cx 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PaginatedResultWithTotalOfDailyCashbookTotaloZK75C2H xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Betting.ReadModel">
  <CurrentPage>0</CurrentPage>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Betting.ReadModel.Reporting.ReadModels">
    <d2p1:DailyCashbookTotal>
      <d2p1:Balance>0</d2p1:Balance>
      <d2p1:Deposit>0</d2p1:Deposit>
      <d2p1:Group>String</d2p1:Group>
      <d2p1:Id>String</d2p1:Id>
      <d2p1:Location>String</d2p1:Location>
      <d2p1:Organization>String</d2p1:Organization>
      <d2p1:Payin>0</d2p1:Payin>
      <d2p1:Payout>0</d2p1:Payout>
      <d2p1:Start>0</d2p1:Start>
      <d2p1:TotalIn>0</d2p1:TotalIn>
      <d2p1:TotalOut>0</d2p1:TotalOut>
      <d2p1:Withdrawal>0</d2p1:Withdrawal>
    </d2p1:DailyCashbookTotal>
  </Data>
  <PageSize>0</PageSize>
  <TotalItems>0</TotalItems>
  <TotalPages>0</TotalPages>
  <Total>0</Total>
</PaginatedResultWithTotalOfDailyCashbookTotaloZK75C2H>