POST api/account/EndRide
Request Information
URI Parameters
None.
Body Parameters
DTOStartRide| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientId | globally unique identifier |
None. |
|
| BranchLocationId | globally unique identifier |
None. |
|
| LabNo | string |
None. |
|
| RiderLatitude | decimal number |
None. |
|
| RiderLongitude | decimal number |
None. |
|
| RiderAddress | string |
None. |
|
| RiderRemarks | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| DeliveryBranchLocationId | globally unique identifier |
None. |
|
| RiderLocationURL | string |
None. |
|
| InRouteDeliveryBranchLocationId | globally unique identifier |
None. |
|
| DeviceToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientId": "bc73d667-6425-43b0-8383-74f8a4f0c646",
"BranchLocationId": "641b25eb-eb85-4fb1-8fd0-3550d797521f",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "51f3707f-b275-4682-ae9a-cbb6fcd53992",
"DeliveryBranchLocationId": "f1a33e8c-112c-4814-883f-467916443c1d",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "67c6c1b4-ed22-43bf-b702-08c2d00524ed",
"DeviceToken": "sample string 6"
}
application/xml, text/xml
Sample:
<DTOStartRide xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels"> <BranchLocationId>641b25eb-eb85-4fb1-8fd0-3550d797521f</BranchLocationId> <DeliveryBranchLocationId>f1a33e8c-112c-4814-883f-467916443c1d</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>67c6c1b4-ed22-43bf-b702-08c2d00524ed</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>bc73d667-6425-43b0-8383-74f8a4f0c646</PatientId> <RiderAddress>sample string 2</RiderAddress> <RiderLatitude>1.1</RiderLatitude> <RiderLocationURL>sample string 5</RiderLocationURL> <RiderLongitude>1.1</RiderLongitude> <RiderRemarks>sample string 3</RiderRemarks> <UserId>51f3707f-b275-4682-ae9a-cbb6fcd53992</UserId> </DTOStartRide>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.