Validate before transferring
GET {{api-domain}}/crm/v3/users/{{user_id}}/territories/actions/validate_before_transfer
To validate whether or not the user has open records(records with open cases, tasks, calls, or meetings) in a territory before transferring them to a user in another territory.
Refer to the documentation for more details.
Request Body
{"territories"=>[{"id"=>"{{territory_id}}"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"validate_before_transfer":[{"records":false,"id":"4876876000000893297","Name":"T1"}]}