The status of a bulk connection job can be obtained with a GET request.
Endpoint
Params
- Accept: application/xml OR application/json
- Authorization: OAuth2 [Base64 encoded token]
Response Field Details
Field Name | Type | Description |
---|---|---|
bulk_connections_job_id | Integer | A JOOR unique identifier for the bulk connections job |
status | String | "queued", "started", "finished" |
connection_record_count | Integer | Number of connections that are in the job |
connection_record_progress | Integer | Connection record number (if the job has been started) |
Bulk Connection Job Status GET Example
GET | https://api.jooraccess.com/v2/bulk-connection/4
Returns status of bulk connection job ID 4.
Response Example
<?xml version="1.0" encoding="UTF-8"?>
<bulk_connections>
<response>
<code>0</code>
</response>
<bulk_connections_jobs>
<bulk_connection_job>
<bulk_connections_job_id>4</bulk_connections_job_id>
<status>finished</status>
<created>2016-07-15T19:35:36+00:00</created>
<modified>2016-07-15T19:35:37+00:00</modified>
<connection_record_count>142</connection_record_count>
<connection_record_progress>142</connection_record_progress>
</bulk_connection_job>
</bulk_connections_jobs>
</bulk_connections>
{
"bulk_connections": {
"response": {
"code": 0
},
"bulk_connections_jobs": [
{
"bulk_connections_job_id": 4,
"status": "finished",
"created": "2016-07-15T19:35:36+00:00",
"modified": "2016-07-15T19:35:37+00:00",
"connection_record_count": 142,
"connection_record_progress": 142
}
]
}
}