getResponseActionStatus
You can use this method to request the status and the result of a response action.
Parameters
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| The action ID returned by the | Mandatory | String | No additional requirements. |
These are common parameters, available across all public API methods:
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| This parameter adds an identifier to the request, linking it to its corresponding response. The target replies with the same value in the response, allowing easy call tracking. | Mandatory | String | No additional requirements. |
| The name of the method you are using to send the request. | Mandatory | String | Must be a valid method name. |
| The version of JSON-RPC used by the request and the response. | Mandatory | Integer | Possible values:
|
| An object containing the configuration of the request. | Mandatory | Object | No additional requirements. |
Return value
Attribute | Type | Description |
|---|---|---|
| Integer | Indicates the type of action taken and the type of user to which it was applied. Possible actions:
|
| String | The timestamp when the response action was created. |
| Integer | The status of the response action. Possible values:
|
| Integer | The error code, if the response action failed. |
| String | The description of the error message, if the response action failed. |
| String | The ID of the incident to which the user nodes belong, if available. |
| String | The ID of the company in which the action takes place. |
| String | The ID of the user who requested the response action. |
| String | The username of the person who requested the response action. |
| String | The ID of the user to whom the response action was applied. |
| String | The username to which the response action was applied, when available. |
| String | The ID of the email message on which the response action was taken, if applicable. |
| Object | Available only for an action with |
Objects
outcome
Attribute | Type | Description |
|---|---|---|
| Array of Strings | The IDs of the emails that could not be deleted due to issues such as insufficient permissions or invalid authorization keys. The Delete similar emails action can be retried for these emails. |
| Array of Strings | The IDs of the emails that could not be deleted due to permanent issues, such as the email no longer being available. Retrying the Delete similar emails action will have no effect for these emails. |
| Array of Strings | The IDs of the emails that were successfully deleted. |
| Array of Objects | Each object contains the following settings:
|
Examples
Request
{
"params": {
"actionId": "6912758f88df334ddbfb7e1a"
},
"jsonrpc": "2.0",
"method": "getResponseActionStatus",
"id": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8"
}Response