v1
latestOpenAPI 3.1.02026-07-1274177461.2 KBEmployees
Documents
Batch Upload Employee Document
post/unified/hris/employees/{id}/documents/upload/batch
Path parameters
idstring required
Headers
x-account-idstring required
The account identifier
Request body
Example request
{
"items": [
{
"name": "weather-forecast",
"file_format": {
"value": "pdf"
},
"content": "VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE",
"category_id": "6530",
"path": "/path/to/file",
"confidential": {
"value": "true"
},
"category": {
"value": "reports",
"source_value": "550e8400-e29b-41d4-a716-446655440000"
}
}
]
}Response
Batch operation accepted
Example response
{
"statusCode": 202,
"message": "Batch operation accepted",
"timestamp": "2021-01-01T01:01:01.000Z",
"errors": [
[
"Missing field: name"
],
[],
[]
]
}