GET api/DeliveryAgent/Transaction/GetAllTripsDtlsSummaryOfDeliveryOfPaymentCycle?DeliveryAgentID={DeliveryAgentID}&TripProvidedBy={TripProvidedBy}&FromDate={FromDate}&ToDate={ToDate}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryAgentID | string |
Required |
|
| TripProvidedBy | integer |
Required |
|
| FromDate | date |
Required |
|
| ToDate | date |
Required |
|
| UserID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TripDtlsSummaryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalOrders | integer |
None. |
|
| TotalDeliveryAgents | integer |
None. |
|
| TotalTrips | integer |
None. |
|
| TotalPicks | integer |
None. |
|
| TotalDrops | integer |
None. |
|
| TotalPickupDistance | decimal number |
None. |
|
| TotalPickupEarning | decimal number |
None. |
|
| TotalDeliveryDistance | decimal number |
None. |
|
| TotalDeliveryEarning | decimal number |
None. |
|
| TotalTripDurationInSec | integer |
None. |
|
| TotalDistance | decimal number |
None. |
|
| TotalTaxAmt | decimal number |
None. |
|
| TotalTripEarning | decimal number |
None. |
|
| ReferralQuestIncentiveAmt | decimal number |
None. |
|
| SurgeIncentive | decimal number |
None. |
|
| RPBSEarning | decimal number |
None. |
|
| TotalEarning | decimal number |
None. |
|
| PaymentCycleStartDate | date |
None. |
|
| PaymentCycleEndDate | date |
None. |
|
| DeliveryAgentID | string |
None. |
|
| DeliveryAgentName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalOrders": 1,
"TotalDeliveryAgents": 2,
"TotalTrips": 3,
"TotalPicks": 4,
"TotalDrops": 5,
"TotalPickupDistance": 6.1,
"TotalPickupEarning": 7.0,
"TotalDeliveryDistance": 8.1,
"TotalDeliveryEarning": 9.0,
"TotalTripDurationInSec": 10,
"TotalDistance": 11.1,
"TotalTaxAmt": 12.0,
"TotalTripEarning": 13.0,
"ReferralQuestIncentiveAmt": 1.0,
"SurgeIncentive": 1.0,
"RPBSEarning": 1.0,
"TotalEarning": 14.0,
"PaymentCycleStartDate": "2025-12-07T10:01:20.355022+05:30",
"PaymentCycleEndDate": "2025-12-07T10:01:20.355022+05:30",
"DeliveryAgentID": "sample string 15",
"DeliveryAgentName": "sample string 16"
}
application/xml, text/xml
Sample:
<TripDtlsSummaryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels"> <DeliveryAgentID>sample string 15</DeliveryAgentID> <DeliveryAgentName>sample string 16</DeliveryAgentName> <PaymentCycleEndDate>2025-12-07T10:01:20.355022+05:30</PaymentCycleEndDate> <PaymentCycleStartDate>2025-12-07T10:01:20.355022+05:30</PaymentCycleStartDate> <RPBSEarning>1</RPBSEarning> <ReferralQuestIncentiveAmt>1</ReferralQuestIncentiveAmt> <SurgeIncentive>1</SurgeIncentive> <TotalDeliveryAgents>2</TotalDeliveryAgents> <TotalDeliveryDistance>8.1</TotalDeliveryDistance> <TotalDeliveryEarning>9</TotalDeliveryEarning> <TotalDistance>11.1</TotalDistance> <TotalDrops>5</TotalDrops> <TotalEarning>14</TotalEarning> <TotalOrders>1</TotalOrders> <TotalPicks>4</TotalPicks> <TotalPickupDistance>6.1</TotalPickupDistance> <TotalPickupEarning>7</TotalPickupEarning> <TotalTaxAmt>12</TotalTaxAmt> <TotalTripDurationInSec>10</TotalTripDurationInSec> <TotalTripEarning>13</TotalTripEarning> <TotalTrips>3</TotalTrips> </TripDtlsSummaryModel>