POST api/account/SampleDelivery
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": "cd74e93d-8b9c-4566-97aa-3aae9274fc3d",
"BranchLocationId": "67473a83-b203-4a8e-9141-6fc47a471be1",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "30b90dd2-f010-4ea0-91da-ce8f50e3dc4e",
"DeliveryBranchLocationId": "45049e1a-6a09-414b-864d-ef78503300c2",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "13249afa-f3a3-4637-916c-c79a23e50196",
"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>67473a83-b203-4a8e-9141-6fc47a471be1</BranchLocationId> <DeliveryBranchLocationId>45049e1a-6a09-414b-864d-ef78503300c2</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>13249afa-f3a3-4637-916c-c79a23e50196</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>cd74e93d-8b9c-4566-97aa-3aae9274fc3d</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>30b90dd2-f010-4ea0-91da-ce8f50e3dc4e</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.