POST api/account/CompleteRide
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": "0db8be2b-054b-4319-a939-d0a2ba735cff",
"BranchLocationId": "d273eb85-8830-4a06-ac77-a7336b47e6ff",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "5da6a4fe-3542-466c-8154-08bec36c9756",
"DeliveryBranchLocationId": "135c6e12-fcce-4dc1-b122-7be3282ef227",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "42c7913e-bc39-42fa-bccb-507b80852b59",
"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>d273eb85-8830-4a06-ac77-a7336b47e6ff</BranchLocationId> <DeliveryBranchLocationId>135c6e12-fcce-4dc1-b122-7be3282ef227</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>42c7913e-bc39-42fa-bccb-507b80852b59</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>0db8be2b-054b-4319-a939-d0a2ba735cff</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>5da6a4fe-3542-466c-8154-08bec36c9756</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.