Definir pessoa como em ausência temporária por código (Auth)
zeev_patch_users_by_userid_absent_enterMark a Zeev user as on temporary leave by user ID. Send the absence start and end dates to register the leave period through the PATCH absent/enter endpoint.
Instructions
Definir pessoa como em ausência temporária por código (Auth) https://kb.stoque.com.br/zeev/apis/all/access/temporary-leave Endpoint: PATCH /api/2/users/{userid}/absent/enter Categoria: Ausência temporária
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"userId": "<userId>",
"body": "<body>"
},
"name": "zeev_patch_users_by_userid_absent_enter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Local: body; nome na API: absenceModel | |
| userId | Yes | Código identificador da pessoa Local: path |