contractorHiring
Upload a file to contract
Changed onUploads a file and attaches it as a document to the specified contract by creating an amendment with the attachment. Only supported for ongoing_time_based, milestones, payg_tasks, time_based, pay_as_you_go_time_based, and eor contract types.
Token scopes: contracts:write
post/contracts/{contract_id}/documents
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
contract_id, string required
Deel contract id.
Request body multipart/form-data
object required
file, string binary
Upload the file you want to attach to this entry.
Response
Successful operation.
Contractor Hiring Create Contract Document Response201 required
data, Contracts Contract Id Documents Post Responses Content Application Json Schema Data nullable required
This object is used for linking file attachments to your records.
Changes
- warning
removed the optional property
errors/items/pathfrom the response with the status - warning
removed the optional property
requestfrom the response with the status - info
added the non-success response with the status
1 more change in this revision
- warning