getOperation

Asynchronous API methods return a result before the processing is complete. Use getOperation to retrieve the status of an asynchronous operation using its operationId.

Method signature

public Operation getOperation( GetOperationRequest request) throws CommonException;

GetOperationRequest

Property name Value Required Description
operationId string Yes The operation ID.

Error behavior

If an error occurs, the library throws a CommonException containing one of the following error codes:

Error code
AUTHORIZATION_FAIL (if the reseller doesn't own the operation)
INTERNAL_SERVER_ERROR
INVALID_OPERATION_ID