get setOperationOk
https://onlinesim.io/api/setOperationOk.phpSets operation status as successful and closes the operation.
This request is send when you want to close the operation explicitly after receiving the required SMS message.
IMPORTANT NOTE!
Executing of this request is similar to closing active operation in "My numbers" section of the user interface on the website. After closing the operation, you will no longer be able to order or use this number again!
.png)
Security
Parameters
tzidquery- integerExample:
10000>= 1
banThis parameter can be used in case if you were issued invalid number or did not receive the SMS within 5 minutes. You can pass 1 as the value for this parameter to block the number
query- integerExample:
1Enum:01
langResponse language:
fr - French,
de - German,
ru - Russian,
en - English,
zh - Chinese. 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.
query- stringExample:
"en"Enum:frderuenzh
Responses
200
- Schema
- Examples
- objectResult description. Response `NO_COMPLETE_TZID` means that operation can not be closed until the protective interval has elapsed. By default, this interval is 2 minutes, but for some services it may be longer.Example:
{"response":1,"tzid":10000}Properties:responsemixed1, if the request has been completed successfully, or an error messageExample:1One Of:- integerExample:
0 - stringExample:
"string"
tzidintegerOperation IDExample:10000>= 1