Returns the document binary of a specific file within a transaction.
GET
/v2/transactions/{transactionId}/documents/{documentId}
curl \
--request GET 'https://api.pre.transactiondesk.com/v2/transactions/{transactionId}/documents/{documentId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "805355ec-7f7d-413e-986a-c767ea0632da",
"fileTypeId": "6db4d39b-d96d-4cfd-b97e-0c9cd1a176f9",
"documentName": "1916 Glenarbor Way",
"dateCreated": "2019-05-14T23:49:49.143+00:00",
"lastModified": "2019-05-14T23:49:52.27+00:00",
"binary": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC9U...."
}
Response examples (401)
{
"code": 401,
"message": "Unauthorized. The user is not authenticated.",
"details": []
}
Response examples (404)
{
"code": 404,
"message": "Item not found.",
"details": []
}