Unit Supporting Documents
GET {{base_url}}/DataEntry/unDocuments/:Batch
NOTE: This applies if you have the Use Files to Group Transactions option set to Yes in Settings » Accounting » Transactions.
Use this endpoint to retrieve all the supporting documents and files for a unit.
Supporting document information comes from the Supporting Document dialog box in the grid of the Project Information section on the Unit detail screen for each unit in the batch.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | Required. |
The type of content supported by the API endpoint. |
| Authorization | string | | Required.
The type of authorization supported by the API endpoint. |
RESPONSES
status: OK
[{"Batch":"AA0429161","MasterPKey":"ATS02","FileID":"053838d0-e30b-410b-8e94-879b75190405","AssociateNew":"N","Seq":1,"FileName":"Upload_GenericSuppDoc.pdf","FileNameSaved":"Upload_GenericSuppDoc.pdf","FileDescription":"Upload_GenericSuppDoc.pdf","FileDescriptionSaved":"Upload_GenericSuppDoc.pdf"},{"Batch":"AA0429161","MasterPKey":"ATS02","FileID":"3d6fab3d-c732-4b64-8761-94e7b9351ae7","AssociateNew":"N","Seq":1,"FileName":"Upload_GenericSuppDoc.pdf","FileNameSaved":"Upload_GenericSuppDoc.pdf","FileDescription":"Upload_GenericSuppDoc.pdf","FileDescriptionSaved":"Upload_GenericSuppDoc.pdf"}]