get setOperationOk

https://onlinesim.io/api/setOperationOk.php
single-service activations

Sets 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! &br; Executing of this request is similar to closing active operation in "My numbers" section of the user interface on the website (clicking on "X").

Operation closing

Parameters

tzid
Required
Operation ID
In: query
Schema:
  • integer
    Example: 10000
    >= 1
ban

This 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

In: query
Schema:
  • integer
    Example: 1
    Enum: 0 1
lang

Response language: fr - French, de - German, ru - Russian, en - English, zh - Chinese

In: query
Schema:
  • string
    Example: "en"
    Enum: fr de ru en zh

Responses

200

Successful response for `setOperationOk` request: the server successfully closes the specified operation or throws an exception.
Content Type:
application/json
  • Schema
  • Examples
  • object
    Result description. Response `NO_COMPLETE_TZID` means that operation can not be closed until 2-minute guard period is expired.
    Example: {"response":1,"tzid":10000}
    Properties:
    • response
      mixed
      1, if the request has been completed successfully, or an error message
      Example: 1
      One Of:
      • integer
        Example: 0
      • string
        Example: "string"
    • tzid
      integer
      Operation ID
      Example: 10000
      >= 1