Employees
Work Eligibility
Update Employee Work Eligibility Request
Changed onpatch/unified/hris/employees/{id}/work_eligibility/{subResourceId}
Request
- Base URLhttps://api.stackone.com
- URLhttps://api.stackone.com/unified/hris/employees/{id}/work_eligibility/{subResourceId}
- AuthHTTP basic
Path parameters
idstring required
subResourceIdstring required
Headers
x-account-idstring required
The account identifier
Preferstring
Example:heartbeat
Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)
Request body
Example request
{
"document": {
"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"name": "My Document",
"contents": [
{
"url": "https://example.com/file.pdf",
"unified_url": "https://api.stackone.com/unified/hris/employees/12345/documents/67890/download",
"file_format": {
"value": "pdf"
}
}
],
"category_id": "6530",
"created_at": "2021-01-01T01:01:01.000Z",
"updated_at": "2021-01-02T01:01:01.000Z",
"remote_url": "https://example.com/file.pdf",
"file_format": {
"value": "pdf"
}
},
"issued_by": {
"value": "US"
},
"number": "1234567890",
"sub_type": "H1B",
"valid_from": "2021-01-01T00:00:00.000Z",
"valid_to": "2021-01-01T00:00:00.000Z",
"passthrough": {
"other_known_names": "John Doe"
}
}Changes
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- info
- breaking
the
request property type changed from no type toobject - breaking
the
/////request property type changed from no type toobject - breaking
the
///////request property type changed from no type toobject - breaking
the
/////request property type changed from no type toobject - breaking
the
request property type changed from no type toobject - breaking
the
request property type changed from no type toobject - breaking
the
response's property type changed from no type toobjectfor status
- breaking