curl --location --request POST '/users/process_item' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstname": "string",
"surname": "string",
"email": "user@example.com",
"phone": "string",
"additionalPhone": "093003912755",
"isAdmin": true,
"group": {
"id": 1,
"title": "Менеджеры"
},
"parent": "string",
"departmentCode": {
"id": 1,
"code": 111
},
"position": {
"id": 1,
"title": "Директор по продажам"
},
"codes": {
"id": 1,
"code": "TAM"
},
"partner": {
"id": 1,
"name": "text"
},
"scheme": {
"id": 1,
"label": "HIGHWAY"
},
"isOldMotivation": true,
"roles": [
{
"id": 1,
"title": "Ведение клиентов"
},
{
"id": 2,
"title": "Директор по продажам"
},
{
"id": 3,
"title": "РОП"
}
]
}'