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": "836799f8-6e84-492f-95ae-002d27965faf",
"BranchLocationId": "c15044d9-3661-4e27-a981-2b3fd35f6da3",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "6ad6c489-c862-4c60-ab29-064321ef5909",
"DeliveryBranchLocationId": "a666c53a-ed98-4e5a-85da-6a1f806c3d75",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "7dfdb698-7061-4f35-809d-821b2d9639a9",
"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>c15044d9-3661-4e27-a981-2b3fd35f6da3</BranchLocationId> <DeliveryBranchLocationId>a666c53a-ed98-4e5a-85da-6a1f806c3d75</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>7dfdb698-7061-4f35-809d-821b2d9639a9</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>836799f8-6e84-492f-95ae-002d27965faf</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>6ad6c489-c862-4c60-ab29-064321ef5909</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.