Bulk Invite Job Status
Purpose
To get the status of the job to invite users in bulk to a portal.
Request Details
Request URL
{api-domain}/crm/{version}/{personality_module}/actions/portal_invite
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.clientportal.ALL
(or)
Scope=ZohoCRM.settings.clientportal.READ
Parameters
- job_idinteger, mandatory
The ID of the job you received in the response of the Bulk Invite Users to a Portal API. When you do not include this parameter, the response will contain an array of all the jobs that were scheduled previously.
If you give an incorrect job_id, you will get an empty response(HTTP 204).
Sample Request
Copied
Response JSON
- dataJSON array
Contains the following details. Note that the value of this key is "null" when the job is still in progress.
- detailsJSON object
The ID of the record in the personality module, to whom a portal invitation is sent.
- codestring
"SUCCESS" represents that an invitation is successfully sent. The value "CANNOT_PROCESS" indicates an error.
- messagestring
Represents whether an invitation was sent, a re-invite was sent or the error message.
- statusstring
The status of the invitation. "success" indicates that an invitation was sent, "error" indicates that an error has occurred.
- job_idstring
The ID of the job.
- statusstring
The status of the job. The possible values are "completed" and "in_progress"
Sample Response when job_id is sent
Copied
Sample Response when job_id is not sent
Copied
Show full
Show less