get setStatus
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=setStatusThis request allows you to change the status of the operation according to its results (cancel operation, get next SMS code, close operation).
You might want to use this request when you want explicitly change the status of the operation, for example when your application needs to retrieve information from the second message received by this number.
IMPORTANT NOTE! &br; Closing the operation is irreversible process: once you close the operation, you won't be able to use or restore access to this number.
Security
Parameters
actionRequired
Method name, in this case `setStatus`
In:
querySchema:
- stringExample:
"setStatus"Enum:setStatus
idRequired
In:
querySchema:
- integerExample:
10000>= 1
statusRequired
Status code: &br; 1 - inform when the phone number is ready (SMS was sent to this number), &br; 3 - request digital code from the next message, &br; 6 - close the operation
In:
querySchema:
- integerExample:
6Enum:136
Responses
200
Successful `setStatus` response from the server: either switches operation status to the specified or throws an exception.
Content Type:
text/html
- Schema
- Examples
- stringExample:
"string"