POST api/account/StartRide
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": "39db1215-cb41-4cfe-809b-d116221eaeac",
"BranchLocationId": "d925a898-c01d-4746-af8f-9afdf9645a54",
"LabNo": "sample string 1",
"RiderLatitude": 1.1,
"RiderLongitude": 1.1,
"RiderAddress": "sample string 2",
"RiderRemarks": "sample string 3",
"UserId": "4f600eb1-69dd-4975-962f-a99d37e783a2",
"DeliveryBranchLocationId": "bb2c7a35-03b1-470e-9244-42c53fb0dfd7",
"RiderLocationURL": "sample string 5",
"InRouteDeliveryBranchLocationId": "5258e912-77d6-463f-9afb-060188b1d02b",
"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>d925a898-c01d-4746-af8f-9afdf9645a54</BranchLocationId> <DeliveryBranchLocationId>bb2c7a35-03b1-470e-9244-42c53fb0dfd7</DeliveryBranchLocationId> <DeviceToken>sample string 6</DeviceToken> <InRouteDeliveryBranchLocationId>5258e912-77d6-463f-9afb-060188b1d02b</InRouteDeliveryBranchLocationId> <LabNo>sample string 1</LabNo> <PatientId>39db1215-cb41-4cfe-809b-d116221eaeac</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>4f600eb1-69dd-4975-962f-a99d37e783a2</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.