workerInformation
Update PTO policy
Changed onApplies a partial update to the PTO policy assigned to a Global Payroll worker. Only fields included in the request body are modified; omitted fields retain their current values.
Token scopes: people:write
patch/gp/workers/{worker_id}/pto-policy
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
worker_id, string uuid required
Unique identifier for a worker in UUID format.
Request body
object required
data, Gp Workers Worker Id Pto Policy Patch Request Body Content Application Json Schema Data required
Response
Successful operation.
Worker Information Update GPWorker PTOPolicy Response200 required
data, Gp Workers Worker Id Pto Policy Patch Responses Content Application Json Schema Data required
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 optional property
errors/items/codeto the response with the status
1 more change in this revision
- warning