POST api/eDocsPODExtract

Retrieves a POD PDF document from eDocs using the supplied username, password and waybill number, then returns the POD as a Base64 PDF response. The endpoint searches eDocs by the exact waybill number provided.

Request Information

URI Parameters

None.

Body Parameters

PODRequest
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Waybill

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.