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. |
|
| RiderLocationURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientId": "f16d0591-4885-48e8-9edc-199b12589a1e",
"BranchLocationId": "420c7e70-302d-43bd-8478-98064d6421a7",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "b81e2179-f899-4555-b71b-bbe235ebed28",
"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>420c7e70-302d-43bd-8478-98064d6421a7</BranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>f16d0591-4885-48e8-9edc-199b12589a1e</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>b81e2179-f899-4555-b71b-bbe235ebed28</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.