Upload an AP Voucher Detail Supporting Document

POST {{base_url}}/DataEntry/apDocumentsDetail/Documents

Use this endpoint to upload a supporting document or file for one detail line of an AP voucher (project information).

Supporting document information comes from the Supporting Document dialog box in the grid of the Project Information section on the AP Voucher detail screen for each AP voucher in the batch.

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: OK

[{"FileID":"123013d4-123c-aeb1-1234-a4e12707bd06","FileName":"AP Voucher Detail.pdf"}]