POST Api/RiderWallet/GetWalletAnalytics
Request Information
URI Parameters
None.
Body Parameters
RiderAnalyticsParameter| Name | 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": "adb0224e-27af-4f22-b50f-61421be5b839",
"ClientID": "8d9ab931-36fd-4ce6-82a2-f490b8b20596"
}
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>8d9ab931-36fd-4ce6-82a2-f490b8b20596</ClientID> <DriverID>adb0224e-27af-4f22-b50f-61421be5b839</DriverID> <DurationType>LastMonth</DurationType> </RiderAnalyticsParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RiderWalletViewModel| Name | 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-11-09T00:47:37.0664034+04:00",
"ToPeriod": "2025-11-09T00:47:37.0664034+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-11-09T00:47:37.0664034+04:00</FromPeriod>
<MaxCashInHandAllowed>5.1</MaxCashInHandAllowed>
<TaskCountOfCashCollected>2.1</TaskCountOfCashCollected>
<ToPeriod>2025-11-09T00:47:37.0664034+04:00</ToPeriod>
<TodaysEarning>4.1</TodaysEarning>
<TotalEarning>6.1</TotalEarning>
</RiderWalletViewModel>