Follow the question structure recommended by Dev Bot before submitting your integration questions.
| Field | Type | Required | Description |
|---|---|---|---|
deletePermissions | boolean | No | Delete all existing permissions assigned to the specified staff member. Default: false |
overwritePermissions | boolean | No | Replace all existing permissions with the permissions provided in the permissions array. When set to false, new permissions are incrementally added to existing permissions. Default: false |
updatePermissionsOnly | boolean | No | Update only the permissions of the employee, without changing any other information. Default: false |
idBranch | int32 | No | Filter by branch number (only applicable for multi-location keys; ignored otherwise). |
| Field | Type | Required | Description |
|---|---|---|---|
idEmployee | integer | Yes | Unique ID of the employee to be updated. |
name | string | Yes | Name of the employee. |
lastName | string | No | Last name of the employee. |
document | string | No | Identification document (e.g., CPF or RG). |
documentId | string | No | ID of the identification document. |
cellphone | string | No | Employee's mobile phone number. |
email | string | No | Employee's email. |
gender | string | No | Gender of the employee. |
birthday | datetime | No | Employee's date of birth (ISO 8601 format). |
country | string | No | Country of residence of the employee. |
address | string | No | Complete address of the employee. |
state | string | No | State of residence of the employee. |
city | string | No | City of residence of the employee. |
passport | string | No | Passport number (if applicable). |
zipCode | string | No | Postal code (CEP) of the employee's address. |
complement | string | No | Address complement. |
neighborhood | string | No | Neighborhood of residence. |
number | string | No | Residential address number. |
active | boolean | No | Status of the employee. |
employeeBranchPermissionsList | array | No | List of permissions for the employee. |
username:passwordAuthorization: Basic *****************{
"idEmployee": 0,
"name": "string",
"lastName": "string",
"document": "string",
"documentId": "string",
"cellphone": "string",
"email": "string",
"gender": "string",
"birthday": "2019-08-24T14:15:22.123Z",
"country": "string",
"address": "string",
"state": "string",
"city": "string",
"passport": "string",
"zipCode": "string",
"complement": "string",
"neighborhood": "string",
"number": "string",
"active": true,
"employeeBranchPermissionsList": [
{
"idPermission": 0,
"idBranchPermission": 0,
"idBranchGroupPermission": 0
}
]
}curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/employees?deletePermissions=undefined&overwritePermissions=undefined&updatePermissionsOnly=undefined&idBranch=undefined' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"idEmployee": 0,
"name": "string",
"lastName": "string",
"document": "string",
"documentId": "string",
"cellphone": "string",
"email": "string",
"gender": "string",
"birthday": "2019-08-24T14:15:22.123Z",
"country": "string",
"address": "string",
"state": "string",
"city": "string",
"passport": "string",
"zipCode": "string",
"complement": "string",
"neighborhood": "string",
"number": "string",
"active": true,
"employeeBranchPermissionsList": [
{
"idPermission": 0,
"idBranchPermission": 0,
"idBranchGroupPermission": 0
}
]
}'{
"result": "string"
}