Upload a document that will serve as an attachment for an expense, a budget, or a sick leave. Allowed content types:
image/jpegimage/pngimage/gifapplication/pdfapplication/mswordapplication/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.ms-excelapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet| Param name | Description |
|---|---|
|
file
required |
Validations:
|
|
owner_type
required |
Type of an entity to attach the document to. Validations:
|
|
owner_id
required |
ID of an entity to attach the document to. Validations:
|
| Param name | Description |
|---|---|
|
id
required |
Document ID Validations:
|