Skip to main content
All CollectionsAPI
Retrieve POD via API
Retrieve POD via API
eLogii avatar
Written by eLogii
Updated over a year ago

Proof of Delivery as noted on our API documentation, can be retrieved using the endpoint proof . (Get/tasks/{_id}/proof ), whereby the _id is the task id. This task id can be found in the API response received when creating a task using the POST /tasks or retrieving tasks from elogii using the GET /tasks

Example:

Request

Sample response

[
{
"_id": "65387effa44fca5929195725",
"organization": "64706d34cb58b5e1345160d2",
"path": "64706d34cb58b5e1345160d2",
"task": "65387e0883982d0ae43814fa",
"__v": 0,
"createdAt": "2023-10-25T02:35:43.301Z",
"pickup": {
"TA-19BUQW0L": {
"comment": "TEST 2",
"timestamp": "2023-10-25T02:35:39.416Z"
}
},
"updatedAt": "2023-10-25T02:45:17.427Z",
"delivery": {
"TA-1OJG38HS": {
"comment": "T.COMMENT1",
"timestamp": "2023-10-25T02:38:26.894Z"
},
"TA-PAD3TA5B": {
"signatureName": "TEST",
"signature": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMYAAABwCA..........",
"timestamp": "2023-10-25T02:45:15.963Z"
}
}
}
]

Did this answer your question?