POST Api/DriverWallet/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": "eb7ff8d5-4f6d-4601-8d9d-ffbdf2546e12", "ClientID": "bd72f625-b6a2-4c61-8194-67fb56545627" }
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>bd72f625-b6a2-4c61-8194-67fb56545627</ClientID> <DriverID>eb7ff8d5-4f6d-4601-8d9d-ffbdf2546e12</DriverID> <DurationType>LastMonth</DurationType> </RiderAnalyticsParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RiderWalletAnalyticsViewModelName | Description | Type | Additional information |
---|---|---|---|
TotalEarnings | decimal number |
None. |
|
TotalTasks | integer |
None. |
|
FromPeriod | date |
None. |
|
ToPeriod | date |
None. |
|
WalletBalance | decimal number |
None. |
|
EarningCredits | decimal number |
None. |
|
EarningTread | Collection of RiderCountData |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalEarnings": 1.1, "TotalTasks": 2, "FromPeriod": "2025-07-07T09:31:02.2884609+04:00", "ToPeriod": "2025-07-07T09:31:02.2884609+04:00", "WalletBalance": 5.1, "EarningCredits": 6.1, "EarningTread": [ { "Key": 1, "TextKey": "sample string 2", "Value": 3.1 }, { "Key": 1, "TextKey": "sample string 2", "Value": 3.1 } ] }
application/xml, text/xml
Sample:
<RiderWalletAnalyticsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootDriver.Service.Models"> <EarningCredits>6.1</EarningCredits> <EarningTread 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> </EarningTread> <FromPeriod>2025-07-07T09:31:02.2884609+04:00</FromPeriod> <ToPeriod>2025-07-07T09:31:02.2884609+04:00</ToPeriod> <TotalEarnings>1.1</TotalEarnings> <TotalTasks>2</TotalTasks> <WalletBalance>5.1</WalletBalance> </RiderWalletAnalyticsViewModel>