POST api/MRide/EntryInRideHistory
Request Information
URI Parameters
None.
Body Parameters
RideHistoryEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| PickupLocation | string |
None. |
|
| DropoffLocation | string |
None. |
|
| PickupAddress | string |
None. |
|
| DropoffAddress | string |
None. |
|
| RideTypeId | integer |
None. |
|
| EstimatedTime | decimal number |
None. |
|
| EstimatedKMs | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"PickupLocation": "sample string 1",
"DropoffLocation": "sample string 2",
"PickupAddress": "sample string 3",
"DropoffAddress": "sample string 4",
"RideTypeId": 1,
"EstimatedTime": 1.0,
"EstimatedKMs": 1.0
}
application/xml, text/xml
Sample:
<RideHistoryEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API"> <CustomerId>1</CustomerId> <DropoffAddress>sample string 4</DropoffAddress> <DropoffLocation>sample string 2</DropoffLocation> <EstimatedKMs>1</EstimatedKMs> <EstimatedTime>1</EstimatedTime> <PickupAddress>sample string 3</PickupAddress> <PickupLocation>sample string 1</PickupLocation> <RideTypeId>1</RideTypeId> </RideHistoryEntry>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IAsyncResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCompleted | boolean |
None. |
|
| AsyncWaitHandle | WaitHandle |
None. |
|
| AsyncState | Object |
None. |
|
| CompletedSynchronously | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.