PUT api/Parcels/LoadCourierParcelWithOverride

Request Information

URI Parameters

None.

Body Parameters

LoadCourierParcelDtoIn
NameDescriptionTypeAdditional information
ParcelNumber

string

None.

DriverId

string

None.

ManifestId

integer

None.

VehicleId

string

None.

WaybillNumber

string

None.

CourierId

integer

None.

Destinationid

string

None.

ServiceTypeId

integer

None.

OverrideText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "parcelNumber": "sample string 1",
  "driverId": "sample string 2",
  "manifestId": 3,
  "vehicleId": "sample string 4",
  "waybillNumber": "sample string 5",
  "courierId": 6,
  "destinationid": "sample string 7",
  "serviceTypeId": 8,
  "overrideText": "sample string 9"
}

text/html

Sample:
{"parcelNumber":"sample string 1","driverId":"sample string 2","manifestId":3,"vehicleId":"sample string 4","waybillNumber":"sample string 5","courierId":6,"destinationid":"sample string 7","serviceTypeId":8,"overrideText":"sample string 9"}

application/xml, text/xml

Sample:
<LoadCourierParcelDtoIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryTrackingSystem.Common.Dtos.Dto.Parcel">
  <CourierId>6</CourierId>
  <Destinationid>sample string 7</Destinationid>
  <DriverId>sample string 2</DriverId>
  <ManifestId>3</ManifestId>
  <OverrideText>sample string 9</OverrideText>
  <ParcelNumber>sample string 1</ParcelNumber>
  <ServiceTypeId>8</ServiceTypeId>
  <VehicleId>sample string 4</VehicleId>
  <WaybillNumber>sample string 5</WaybillNumber>
</LoadCourierParcelDtoIn>

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 'LoadCourierParcelDtoIn'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.