GEThttps://onlinesim.io/api/setOperationRevise.php
Request next received SMS from the number
Moves the internal pointer to the next SMS message for the specified operation ID. The method only shifts the pointer to the next message within the operation; it does not return the SMS text. To get the message content after calling this method, use getState.
This request can be useful when a service sends multiple SMS messages in a row or when you need to receive more than one message from the same service on a single number.
Security
sms-scope- grants access to manage numbers for the SMS receiving service from Onlinesim
Parameters
query2
| Name | Type | Description |
|---|---|---|
tzid* | string | Operation ID returned by the server when issuing a number (in response to getNum or getRentNum). The list of active operations on your profile with their IDs can also be obtained via getState or getRentState |
lang | string | Response language:
Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English Enum: frderuenzhDefault:ru |
Responses
200Successful response for setOperationRevise request: the server moves the pointer to the next SMS received on this number, or throws an exception
Successful response for setOperationRevise request: the server moves the pointer to the next SMS received on this number, or throws an exception
schemaoneOf
[0]object
[1]object
[2]object
Examples
Successful request execution, pointer moved
{
"tzid": 10000,
"response": "1"
}