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": "df9440f1-40bb-472b-bfa9-020c2267958a",
"BranchLocationId": "6042e5b5-1a56-4c74-b56f-ec63b959a40a",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "c012c0f7-2587-494e-aa48-81702e15e12f",
"DeliveryBranchLocationId": "99302888-8724-4242-9ca5-c3aa2b996202",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "5fb8d92c-3b4a-4836-b0fd-317618d694f3",
"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>6042e5b5-1a56-4c74-b56f-ec63b959a40a</BranchLocationId> <DeliveryBranchLocationId>99302888-8724-4242-9ca5-c3aa2b996202</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>5fb8d92c-3b4a-4836-b0fd-317618d694f3</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>df9440f1-40bb-472b-bfa9-020c2267958a</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>c012c0f7-2587-494e-aa48-81702e15e12f</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.