POST Api/RiderWallet/GetWalletAnalytics
Request Information
URI Parameters
None.
Body Parameters
RiderAnalyticsParameterName | Description | Type | Additional information |
---|---|---|---|
DurationType | DurationType |
None. |
|
DriverID | globally unique identifier |
None. |
|
ClientID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "DurationType": 0, "DriverID": "6d49d58d-d8f8-466f-a5f6-e40fac1b55b3", "ClientID": "1d71c3df-1b1a-494b-80cd-b601fd515c87" }
application/xml, text/xml
Sample:
<RiderAnalyticsParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <ClientID>1d71c3df-1b1a-494b-80cd-b601fd515c87</ClientID> <DriverID>6d49d58d-d8f8-466f-a5f6-e40fac1b55b3</DriverID> <DurationType>LastMonth</DurationType> </RiderAnalyticsParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RiderWalletViewModelName | Description | Type | Additional information |
---|---|---|---|
CashToBeDeposited | decimal number |
None. |
|
TaskCountOfCashCollected | decimal number |
None. |
|
EarningLastDay | decimal number |
None. |
|
TodaysEarning | decimal number |
None. |
|
MaxCashInHandAllowed | decimal number |
None. |
|
TotalEarning | decimal number |
None. |
|
EarningToReceive | decimal number |
None. |
|
FromPeriod | date |
None. |
|
ToPeriod | date |
None. |
|
EarningTrend | Collection of RiderCountData |
None. |
Response Formats
application/json, text/json
Sample:
{ "CashToBeDeposited": 1.1, "TaskCountOfCashCollected": 2.1, "EarningLastDay": 3.1, "TodaysEarning": 4.1, "MaxCashInHandAllowed": 5.1, "TotalEarning": 6.1, "EarningToReceive": 7.1, "FromPeriod": "2025-05-20T22:36:40.320229+04:00", "ToPeriod": "2025-05-20T22:36:40.320229+04:00", "EarningTrend": [ { "Key": 1, "TextKey": "sample string 2", "Value": 3.1 }, { "Key": 1, "TextKey": "sample string 2", "Value": 3.1 } ] }
application/xml, text/xml
Sample:
<RiderWalletViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models"> <CashToBeDeposited>1.1</CashToBeDeposited> <EarningLastDay>3.1</EarningLastDay> <EarningToReceive>7.1</EarningToReceive> <EarningTrend xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:RiderCountData> <d2p1:Key>1</d2p1:Key> <d2p1:TextKey>sample string 2</d2p1:TextKey> <d2p1:Value>3.1</d2p1:Value> </d2p1:RiderCountData> <d2p1:RiderCountData> <d2p1:Key>1</d2p1:Key> <d2p1:TextKey>sample string 2</d2p1:TextKey> <d2p1:Value>3.1</d2p1:Value> </d2p1:RiderCountData> </EarningTrend> <FromPeriod>2025-05-20T22:36:40.320229+04:00</FromPeriod> <MaxCashInHandAllowed>5.1</MaxCashInHandAllowed> <TaskCountOfCashCollected>2.1</TaskCountOfCashCollected> <ToPeriod>2025-05-20T22:36:40.320229+04:00</ToPeriod> <TodaysEarning>4.1</TodaysEarning> <TotalEarning>6.1</TotalEarning> </RiderWalletViewModel>