pem.getRequestStatus
This method is supported by Operations starting from version 2.6.2
This method allows to obtain the information on the result of any request previously issued to Operations via Public API.
There are the following use cases of this method:
- Retrieving the overall status of tasks that are scheduled after the pem.batchRequest method execution.
- Retrieving the overall status of tasks that are scheduled after that transaction is committed.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
string |
The identifier of request (that was previously set by the pem.batchRequest or the txn.Begin methods). |
Output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
The status of the request.
|
|
array of strings |
The reason of failure. |
See also: