- Overview
- What's New in V5?
- Changelog
- API Directory
- API Collection
- OAuth Authentication
- API Limits
- Multi DC Support
- Increase API Credits
- Customize API Usage Notification
- GDPR Compliance
- HIPAA Compliance
- API Dashboard
- HTTP Request Methods
- Status Codes
- Metadata APIs
- Modules
- Fields
- Layouts
- Related Lists
- Profiles
- Custom View
- Roles
- Territories
- GETTerritories
- POSTTerritories
- PUTTerritories
- DELETETerritories
- POSTTransfer and Delete Territories
- GETChild Territories of a Territory
- POSTAssign Territories to Records
- GETTerritories Assigned
- POSTRemove Territories of Records
- GETAssociated User Count
- PUTAssociate Users with Territory
- DELETEDisassociate Users from Territory
- GETRetrieve User details Associated with a Territory
- Scoring Rules
- Variables
- Map Dependency
- User Groups
- Tags
- Pipeline
- Wizards
- Assignment Rules
- Templates
- User's Unavailability
- Portals
- Fiscal Year
- Business Hours
- Holidays
- Record Locking Configuration
- Shift Hours
- Entity APIs
- Organization
- Users
- Records
- Related Records
- Records APIs using External ID
- Meeting Cancel
- Subforms
- Linking Modules
- Contact Roles
- Photos and Attachments
- Mass Update
- Mass Delete
- Currencies
- Files
- Share
- Fields' Attachments
- Change Owner
- Mass Change Owner
- Blueprint
- Emails
- Notes
- Related Records Using External ID
- Composite API
- Bulk APIs
- Notification APIs
- Query API
Validate before Transferring
Purpose
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.
Request Details
Request URL
To validate the records from all territories of a user: {api-domain}/crm/{version}/users/{id}/territories/actions/validate_before_transfer
To validate the records from a specific territory of a user: {api-domain}/crm/{version}/users/{id}/territories/{territory_id}/actions/validate_before_transfer
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.users.{operation_type}
(or)
scope=ZohoCRM.settings.territories.{operation_type}
Possible operation types
ALL - Full access to the record
READ - Get records from the module
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v5/users/3652397000000186017/territories/actions/validate_before_transfer"
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-X GET
Response JSON Keys
- recordsboolean
Represents whether the user has open records in that territory.
- idstring
Represents the unique ID of the territory.
- namestring
Represents the name of the territory.
Sample Response
Copied{
"validate_before_transfer": [
{
"records": false,
"id": "3652397000000715341",
"Name": "USA"
},
{
"records": false,
"id": "3652397000007612003",
"Name": "Texas"
},
{
"records": true,
"id": "3652397000007612015",
"Name": "Washington"
},
{
"records": false,
"id": "3652397000007622003",
"Name": "New York"
}
]
}
Show full
Show less
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.