POST api/GetTripDetailsByAgentId
Request Information
URI Parameters
None.
Body Parameters
GetTripDataByAgent| Name | Description | Type | Additional information |
|---|---|---|---|
| trip_id | integer |
None. |
|
| trip_no | string |
None. |
|
| agent_id | integer |
None. |
|
| user_id | integer |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| total_miles | decimal number |
None. |
|
| total_cost_amount | decimal number |
None. |
|
| trip_start_at | string |
None. |
|
| trip_completed_at | string |
None. |
|
| transport_id | integer |
None. |
|
| is_trip_approved | boolean |
None. |
|
| isApproveReject | integer |
None. |
|
| approved_miles | decimal number |
None. |
|
| approved_miles_amount | decimal number |
None. |
|
| rejected_remarks | string |
None. |
|
| appointment_id | integer |
None. |
|
| booking_reference | string |
None. |
|
| created_id | integer |
None. |
|
| created_date | string |
None. |
|
| Status | string |
None. |
|
| is_active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"trip_id": 1,
"trip_no": "sample string 2",
"agent_id": 3,
"user_id": 4,
"month": 5,
"year": 6,
"total_miles": 7.0,
"total_cost_amount": 8.0,
"trip_start_at": "sample string 9",
"trip_completed_at": "sample string 10",
"transport_id": 11,
"is_trip_approved": true,
"isApproveReject": 13,
"approved_miles": 14.0,
"approved_miles_amount": 15.0,
"rejected_remarks": "sample string 16",
"appointment_id": 17,
"booking_reference": "sample string 18",
"created_id": 19,
"created_date": "sample string 20",
"status": "sample string 21",
"is_active": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.