POST api/account/SampleDelivery

Request Information

URI Parameters

None.

Body Parameters

DTOStartRide
NameDescriptionTypeAdditional 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": "fc4abe25-49be-4039-9493-e436458db0a4",
  "BranchLocationId": "5ebf4cb8-83ff-4582-8e44-a9fca53c5940",
  "LabNo": "sample string 1",
  "RiderLatitude": 1.1,
  "RiderLongitude": 1.1,
  "RiderAddress": "sample string 2",
  "RiderRemarks": "sample string 3",
  "UserId": "50821a52-6d19-4909-b8b3-0ff7e51de118",
  "DeliveryBranchLocationId": "6c3cc145-7e39-4dc7-ba76-86864669b588",
  "RiderLocationURL": "sample string 5",
  "InRouteDeliveryBranchLocationId": "a710e9b7-e735-4b2a-8c50-ba12ec61dc74",
  "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>5ebf4cb8-83ff-4582-8e44-a9fca53c5940</BranchLocationId>
  <DeliveryBranchLocationId>6c3cc145-7e39-4dc7-ba76-86864669b588</DeliveryBranchLocationId>
  <DeviceToken>sample string 6</DeviceToken>
  <InRouteDeliveryBranchLocationId>a710e9b7-e735-4b2a-8c50-ba12ec61dc74</InRouteDeliveryBranchLocationId>
  <LabNo>sample string 1</LabNo>
  <PatientId>fc4abe25-49be-4039-9493-e436458db0a4</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>50821a52-6d19-4909-b8b3-0ff7e51de118</UserId>
</DTOStartRide>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTOStartRide'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.