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": "39a88574-e7e7-424e-9bc4-67f84eb4c1fe",
"BranchLocationId": "613adc4e-2e0d-4679-a14e-50f52150afb3",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "479f5a11-16d3-4d54-b862-4e27a3b8b34f",
"DeliveryBranchLocationId": "46859f60-4a4e-4423-a744-6f444a66c8f0",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "dbc72bdf-8264-408a-a634-f2447943f30d",
"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>613adc4e-2e0d-4679-a14e-50f52150afb3</BranchLocationId> <DeliveryBranchLocationId>46859f60-4a4e-4423-a744-6f444a66c8f0</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>dbc72bdf-8264-408a-a634-f2447943f30d</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>39a88574-e7e7-424e-9bc4-67f84eb4c1fe</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>479f5a11-16d3-4d54-b862-4e27a3b8b34f</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.