docs: add section for add file

This commit is contained in:
Stevan Freeborn
2023-04-19 22:08:04 -05:00
parent 5d3c08a99f
commit e6b8b854b4
3 changed files with 186 additions and 0 deletions
@@ -1 +1,59 @@
# Add File {% #add-file %}
This endpoint allows you to add a file to a record. The request body must be a multipart form data request.
## Request Body Properties
{% table %}
- Property Name
- Data Type
- Description
---
- recordId
- `number`
- The id of the record to which the file will be added.
---
- fieldId
- `number`
- The id of the field to which the file will be added.
---
- notes
- `string`
- The notes to be added to the file.
---
- modifiedDate
- `string`
- The date the file was last modified.
---
- file
- `binary`
- The file to be added.
{% /table %}
## Response Body Properties
{% table %}
- Property Name
- Data Type
- Description
---
- id
- `number`
- The id of the file that was added.
{% /table %}