| GET | /proofofdelivery | Get a pdf of the ePOD generated for an order after completion. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderId | query | Guid | No | The ID of the order |
| Waybill | query | string | No | The 1F waybill for the order |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | Yes | The API Key required for authentication |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /proofofdelivery HTTP/1.1 Host: api.1fetch.co.za Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}