POST api/account/CompleteRide
Request Information
URI Parameters
None.
Body Parameters
DTOStartRideName | 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": "00f23332-5662-4a9e-9f3f-6d22091917d0", "BranchLocationId": "4d0b6e4a-5da5-4735-9905-d791af786ed1", "LabNo": "sample string 1", "RiderLatitude": 1.1, "RiderLongitude": 1.1, "RiderAddress": "sample string 2", "RiderRemarks": "sample string 3", "UserId": "5cfddd42-21d6-4dac-ac89-fa7df6d951b4", "DeliveryBranchLocationId": "4f4934c8-6a50-4730-9aeb-ef7962afe638", "RiderLocationURL": "sample string 5", "InRouteDeliveryBranchLocationId": "b1cba19c-6420-492c-947a-f4892a36740f", "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>4d0b6e4a-5da5-4735-9905-d791af786ed1</BranchLocationId> <DeliveryBranchLocationId>4f4934c8-6a50-4730-9aeb-ef7962afe638</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>b1cba19c-6420-492c-947a-f4892a36740f</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>00f23332-5662-4a9e-9f3f-6d22091917d0</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>5cfddd42-21d6-4dac-ac89-fa7df6d951b4</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.