Colaboradores / Persons
[PT] Cadastro de Dependentes. [EN] Add Dependents
[PT] Permite cadastrar múltiplos dependentes de uma única vez para um colaborador.
[EN] Allows you to register multiple dependents for a specific employee.
post/persons/{id}/dependents
Request
- Base URL: https://api.nexti.com
- URL: https://api.nexti.com/persons/{id}/dependents
- Auth: OAuth 2 (client credentials, token URL https://api.nexti.com/security/oauth/token)
Path parameters
idinteger required
ID do colaborador a quem os dependentes estão vinculados.
Request body
Example request
[
{
"type": 1,
"dependentState": 1,
"email": "email@example.com",
"maritalStatus": 2,
"gender": "M",
"activateHealthPlan": true
}
]Response
OK
Example response
[
{
"value": {
"type": 1,
"dependentState": 1,
"email": "email@example.com",
"maritalStatus": 2,
"gender": "M",
"activateHealthPlan": true
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.