POST api/eDocsPODExtractByBulk

Retrieves multiple POD PDF documents from eDocs using a supplied list of waybill numbers. The endpoint authenticates with eDocs using the supplied username and password, loops through each waybill number, retrieves each available POD PDF, adds the available PODs into one ZIP file, and returns the ZIP file as Base64. Maximum 50 waybill numbers are allowed per request.

Request Information

URI Parameters

None.

Body Parameters

BulkPODRequest
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Waybills

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Waybills": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<eDocsPODExtractByBulkController.BulkPODRequest 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>
  <Waybills xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Waybills>
</eDocsPODExtractByBulkController.BulkPODRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.