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. |
|
| RiderLocationURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientId": "862ae9eb-6a18-4184-8272-47aba4250806",
"BranchLocationId": "8038951e-62c1-4e58-88ba-1d7591d09fc6",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "f90c59c3-42f3-4a29-ae5b-628c20f635a4",
"RiderLocationURL": "sample string 4"
}
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>8038951e-62c1-4e58-88ba-1d7591d09fc6</BranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>862ae9eb-6a18-4184-8272-47aba4250806</PatientId> <RiderAddress>sample string 2</RiderAddress> <RiderLatitude>1.1</RiderLatitude> <RiderLocationURL>sample string 4</RiderLocationURL> <RiderLongitude>1.1</RiderLongitude> <RiderRemarks>sample string 3</RiderRemarks> <UserId>f90c59c3-42f3-4a29-ae5b-628c20f635a4</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.