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. |
|
| DeliveryBranchLocationId | globally unique identifier |
None. |
|
| RiderLocationURL | string |
None. |
|
| InRouteDeliveryBranchLocationId | globally unique identifier |
None. |
|
| DeviceToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientId": "07e05014-9976-48c7-8af7-cbed0cb29286",
"BranchLocationId": "4397772d-7fc9-4ca9-ae82-58563d2a21e7",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "57d86842-ccb0-4dae-8294-5f1e1006600a",
"DeliveryBranchLocationId": "a91a7a19-0e9c-42e9-a03b-bca33ebd9b83",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "278046c9-62f5-4404-9578-9bdc35014cfe",
"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>4397772d-7fc9-4ca9-ae82-58563d2a21e7</BranchLocationId> <DeliveryBranchLocationId>a91a7a19-0e9c-42e9-a03b-bca33ebd9b83</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>278046c9-62f5-4404-9578-9bdc35014cfe</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>07e05014-9976-48c7-8af7-cbed0cb29286</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>57d86842-ccb0-4dae-8294-5f1e1006600a</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.