ApexERPHost

<back to all web services

GetMobileUserBalance

Requires Authentication
The following routes are available for this service:
GET/Distribution/MobileUsers/Customers/Turnover
GET/Distribution/MobileUsers/{UserId}/Customers/Turnover
GetMobileUserBalance Parameters:
NameParameterData TypeRequiredDescription
UserIdpathintNo
D1queryDateTimeNo
D2queryDateTimeNo
Groupquerybool?No
PresalerIdqueryint?No
GetMobileUserBalanceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<MobileUserCustomerTurnover>No
MobileUserCustomerTurnover Parameters:
NameParameterData TypeRequiredDescription
BranchIdformintNo
NameformstringNo
StartAmountformdecimal?No
DBAmountformdecimal?No
CRAmountformdecimal?No
EndAmountformdecimal?No
PresalerIdformint?No
PresalerNameformstringNo
SaleAmountformdecimal?No
PayCachAmountformdecimal?No
PayNonCashAmountformdecimal?No
ReturnedAmountformdecimal?No
OtherAmountformdecimal?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 /Distribution/MobileUsers/Customers/Turnover HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"BranchId":0,"Name":"String","StartAmount":0,"DBAmount":0,"CRAmount":0,"EndAmount":0,"PresalerId":0,"PresalerName":"String","SaleAmount":0,"PayCachAmount":0,"PayNonCashAmount":0,"ReturnedAmount":0,"OtherAmount":0}]}