Move to the next received SMS of an operation
GEThttps://onlinesim.io/api/setOperationRevise.php
Moves the SMS pointer of an operation to the next received message. The method does not return the SMS text: after it, call getState (without msg_list) to read the message the pointer is on.
Useful when a service sends several SMS in a row, for example when the first SMS has only general information and the code is in the second one.
Security
Parameters
query2
| Name | Type | Description |
|---|---|---|
tzid* | integer | Operation ID. Missing, empty or Example: 10000 |
lang | string | Language of the texts in the answer (country and service names, status texts): Enum: frderuenzh |
Responses
200Pointer moved, ERROR_NO_TZID, ERROR_WRONG_TZID or a common error
application/jsonschemaoneOf
[0]object
[1]object
[2]object
Examples
The pointer moved
{
"tzid": "10000",
"response": "1"
}tzid not passed
{
"response": "ERROR_NO_TZID"
}Not an operation of your profile
{
"response": "ERROR_WRONG_TZID"
}429HTTP 429: more than 400 requests per minute from one profile (from one IP for requests without a key), or more than 200 requests per minute from one profile to getNum, getPrice, getState and setOperationOk together
application/jsonschemaobject
Examples
Request rate limit exceeded
{
"response": "TRY_AGAIN_LATER"
}456HTTP 456: the API key is invalid or the OAuth token has expired. Public methods answer the same way when an invalid key is sent
application/jsonschemaobject
Examples
Invalid API key or expired token
{
"response": "ERROR_WRONG_KEY"
}