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": "56f6f5d2-5137-4458-8c4b-8bc906df16a3",
"BranchLocationId": "3747ba76-ed18-4fd3-9774-2fb5feb2f7b6",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "a615a7a7-30c2-4177-beaf-83f9753bfd2f",
"DeliveryBranchLocationId": "2ac90913-462c-4ac6-9339-99136316c7dd",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "1058ca3f-793c-4709-bf37-06a41e56f8e4",
"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>3747ba76-ed18-4fd3-9774-2fb5feb2f7b6</BranchLocationId> <DeliveryBranchLocationId>2ac90913-462c-4ac6-9339-99136316c7dd</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>1058ca3f-793c-4709-bf37-06a41e56f8e4</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>56f6f5d2-5137-4458-8c4b-8bc906df16a3</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>a615a7a7-30c2-4177-beaf-83f9753bfd2f</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.