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": "f6c1527b-d7c1-45b2-b464-5d05319ad930",
"BranchLocationId": "dae261d3-ee27-4db2-9a04-3b7062c183a3",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "ef5b7987-b289-4ddf-8512-4b0d22df1e4e",
"DeliveryBranchLocationId": "64a0aebc-eaff-4b36-868c-737ebfa17a28",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "f3fb9ebf-12e3-4736-935e-5b88868eac09",
"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>dae261d3-ee27-4db2-9a04-3b7062c183a3</BranchLocationId> <DeliveryBranchLocationId>64a0aebc-eaff-4b36-868c-737ebfa17a28</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>f3fb9ebf-12e3-4736-935e-5b88868eac09</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>f6c1527b-d7c1-45b2-b464-5d05319ad930</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>ef5b7987-b289-4ddf-8512-4b0d22df1e4e</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.