Get Bulk Read Job Details
Purpose
To get the details of a bulk read job performed previously.
Request URL
https://recruit.zoho.com/recruit/bulk/v2/read/{job_id}
job_id - The unique ID of the bulk read job
Request Method
GET
Scope
scope=ZohoRecruit.bulk.read
(or)
scope=ZohoRecruit.modules.{module_name}.{operation_type}
Possible module names | Possible operation types |
---|---|
candidate, jobopening, client, interview, contact, and custommodule | ALL - Full access to related records READ - Get bulk read job |
Response Structure
Attribute | Data Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
operation | String | Specifies the type of action the API completed. Sample - "operation" : "read”. | ||||||||||||||||
created_by | JSON Object | Specifies the ID and Name of the user who initiated the bulk read job. Sample - "created_by": { "id": "1000000031045", "name": "Patricia Boyle" }, | ||||||||||||||||
created_time | ISO8601 | Specifies the time period of when the bulk read job was initialized. | ||||||||||||||||
state | String | Specifies the current status of the bulk read job. Example: "state": "ADDED" or "IN PROGRESS" or "COMPLETED". | ||||||||||||||||
query | JSON Object | Specifies the "query" provided by the user when creating the bulk read job. The attributes are the same as in the Request JSON, with "modules", "cvid", fields", "criteria" and "page". | ||||||||||||||||
id | String | Specifies the unique identifier of the bulk read job. Sample - "id": "1000010760002". | ||||||||||||||||
result Show properties | JSON Object | It is available only after the completion of the job. Please refer the below table for information on the "result" JSON object. | ||||||||||||||||
Result Properties
|
Note:
- To know more about the Bulk API limits, go here.
Sample Request
Copiedcurl "https://recruit.zoho.com/recruit/bulk/v2/read/3652397000000646004"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Sample Response: Upon Success
Copied{
"data": [
{
"id": "17774000000749001",
"operation": "read",
"state": "COMPLETED",
"result": {
"page": 1,
"count": 114,
"download_url": "/recruit/bulk/v2/read/17774000000749001/result",
"per_page": 200000,
"more_records": false
},
"query": {
"module": "Candidates",
"selectfields": [
"Last_Name",
"Created_Time"
],
"page": 1
},
"created_by": {
"id": "17774000000410003",
"name": "Patricia Boyle"
},
"created_time": "2020-11-10T06:45:58+05:30",
"file_type": "csv"
}
]
}
Sample Response: Upon Failure
Copied{
"status": "error",
"code": "RESOURCE_NOT_FOUND",
"message": "The requested resource doesn't exist.",
"details": {
"resource": "177740000007490012"
}
}