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 ID used to verify the status of the action. | Mandatory | String | No additional values. |
Return value
Attribute | Type | Description |
---|---|---|
| Integer | Indicates the type of action that was taken and the type of user it was taken on. Possible actions:
|
| String | The timestamp when the response action was created. |
| Integer | The status of the response action. Possible values:
|
| String | The ID of the error message, 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 that requested the response action. |
| String | The username who requested the response action. |
| String | The ID of the user on whom the response action was taken. |
| String | The username on which the response action was taken, when available. |
| String | The ID of the email message on which the response action was taken, if applicable. |
Examples
Request
{ "params": { "actionId": "6912758f88df334ddbfb7e1a" }, "jsonrpc": "2.0", "method": "getResponseActionStatus", "id": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8" }
Response
{ "id": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8", "jsonrpc": "2.0", "result": { "type": 5, "generatedOn": "2023-08-06T23:43:27", "status": 3, "errorId": null, "errorDescription": null, "incidentId": "6682758b1f3a95f78dd4cc08", "companyId": "5b680f6fb1a43d860a7b23c8", "userId": "66b9fd2985ecb7506a0ef3e3", "userName": "[email protected]", "targetUserId": "66b9fd2985ecb7506a0ef3ex", "targetUserName": "username", "targetEmailId": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8" } }