Description
Please, read first https://dru-id.com/developers/apis/oauth-2/ to learn about Oauth2 protocol and the meaning of each token.
Use this method to retrieve all bulk-operation statuses currently available in the system. Please note that bulk results are retained only for a configurable period of time; after this retention window expires, the system automatically deletes them.
Endpoint URL:
GET https://{your-endpoint-domain.com}/activityid/v1/user/bulk
Headers
| Parameter | Description | Type | Required |
|---|---|---|---|
| Authorization | “Bearer app_token” Literal text Bearer followed by app_token that is the token obtained from /oauth2/token endpoint | string | yes |
| Content-Type | The type of content that will be used for requests to be JSON | string | yes |
| Accept | The type of content that will be used for responses to be JSON | string | yes |
| Accept-Language | Language for this request | Locale | no |
Query string parameters
None
Response examples
| Parameter | Description | Type |
|---|---|---|
| content | Data receive with the response. Array of bulk statuses | struct |
| content.bulkId | Id of the bulk process. | string |
| content.status | Current state of the bulk process. | string |
| content.createdOn | Creation date. | string |
| content.updatedOn | Last update. The instant when the last status change was performed. | string |
| result | Common http result | struct |
| result.status | Http code | integer |
| result.message | A description that describes the result of the operation | string |
Response codes
| Code | Type | Description |
|---|---|---|
| 400 | Error | Bad Request: The request could not be understood by the server due to malformed syntax |
| 401 | Error | Unauthorized: authentication is required and has failed or has not yet been provided (token is invalid, etc) |
| 500 | Error | Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request |
| 504 | Error | Gateway TimeoutService can not contact with oauth server to do some internal operations |
| 200 | Success | Returns all bulk statuses |
