Mass Change Owner Status
Purpose
To retrieve the status of a previously scheduled mass change owner job in Zoho CRM.
Endpoints
- GET /{module_API_name}/actions/mass_change_owner?job_id={job_ID}
Request Details
Request URL
{api-domain}/crm/{version}/{module_API_name}/actions/mass_change_owner?job_id={job_ID}
Supported modules
Leads, Accounts, Contacts, Deals, Campaigns, Tasks, Cases, Meetings, Calls, Solutions, Products, Vendors, Price Books, Quotes, Sales Orders, Purchase Orders, Invoices, and Custom
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
ZohoCRM.change_owner.READ
Parameters
- job_idstring, mandatory
The unique ID of the mass change owner job scheduled using the Mass Change Owner API.
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v8/Leads/actions/mass_change_owner?job_id=3652397000009565021"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Response JSON Keys
- Total_Countinteger
The total number of records whose owners were intended to be changed.
- Updated_Countinteger
The number of records whose ownership was successfully updated.
- Not_Updated_Countinteger
The number of records whose ownership is yet to be updated.
- Failed_Countinteger
The number of records where the owner change operation failed..
- Statusstring
Indicates the status of the mass change owner job.
Possible values:
COMPLETED - The job is finished successfully.
SCHEDULED - The job is queued and awaiting execution.
RUNNING - The job is currently in progress.
FAILED - The job could not be completed due to errors.
Possible Errors
- REQUIRED_PARAM_MISSINGHTTP 404
You have not specified the job_id in the request.
Resolution: The specified job_id is not found or invalid. Specify a valid job_id - INVALID_URL_PATTERNHTTP 404
Please check if the URL trying to access is a correct one
Resolution: The request URL specified is incorrect. Specify a valid request URL. Refer to request URL section above. - OAUTH_SCOPE_MISMATCHHTTP 401
Unauthorized
Resolution: You do not have ZohoCRM.change_owner.CREATE scope. Create new tokens with valid scope. Refer to the scope section above. - NO_PERMISSIONHTTP 403
Permission denied to read records
Resolution: The user does not have permission to retrieve mass change owner.
Sample Response
Copied{
"data": [
{
"Total_Count": 50000,
"Updated_Count": 49500,
"Not_Updated_Count": 0,
"Failed_Count": 500,
"Status": "COMPLETED"
}
]
}