Upload an Expense Line Receipt Supporting Document
POST {{base_url}}/Expensekeeper/ekDocumentsDetail/Documents
Use this endpoint to upload a supporting document or file for an expense line receipt in My Stuff » Expense Report.
Supporting document information comes from either the Expense Report Receipts dialog box that displays when you select Other Actions > Upload Receipts on the Expense Report form, or the Expense Line Receipts dialog box that displays when you click Attach Receipt under the Receipts column for an expense line in the grid of the Expense Report form.
Request Body
[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]
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
[{"FileID":"cc0b7f7b-f48a-41a9-9a02-312765294664","FileName":"Test Image File.pdf"}]