POST api/WaybillDeletion

Deletes an imported waybill from FreightWare and then marks it as deleted in DCB Online if it exists. FreightWare will only allow deletion if the waybill status is Imported. If the waybill does not exist in DCB Online, the DCB Online update is skipped.

Request Information

URI Parameters

None.

Body Parameters

WaybillDeletionRequest
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Waybill

string

None.

DeleteReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Waybill": "sample string 3",
  "DeleteReason": "sample string 4"
}

application/xml, text/xml

Sample:
<WaybillDeletionController.WaybillDeletionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCB_API">
  <DeleteReason>sample string 4</DeleteReason>
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
  <Waybill>sample string 3</Waybill>
</WaybillDeletionController.WaybillDeletionRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.