eorWorkerCompliance
Upload employee compliance document
Changed onUploads a file against the specified document_id to complete a compliance document that still needs one for an EOR employee. Use it after finding the document with GET /eor/workers/compliance-documents. If the file is already in File Service, send a JSON body with its reference instead of sending the bytes again; otherwise send the file as multipart/form-data.
Token scopes: worker:write
post/eor/workers/compliance-documents/{document_id}
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
document_id, string uuid required
Unique identifier for a compliance document in Deel.
Request body
object required
data, Eor Workers Compliance Documents Document Id Post Request Body Content Application Json Schema Data required
Response
Successful operation.
Eor Worker Compliance Upload EORWorker Compliance Document Response200 required
data, Eor Workers Compliance Documents Document Id Post Responses Content Application Json Schema Data required
Changes
- info
added the non-success response with the status
- info
- breaking
removed the media type
multipart/form-datafrom the request body - breaking
for the
pathrequest parameterdocument_id, the format changed from no format touuid
18 more changes in this revision
- breaking