FINISH_ACTIVATION - add new message

Closes current operation. Is sent after usage.

Example

axios.post(
  'http://__HUB__', 
  {action: "FINISH_ACTIVATION", activationId: 355, status: 2, key: "APIKEY"},
  {headers: {'Content-Type': 'application/json; charset=utf-8'}}
)

Parameters

Parameter name Parameter Data type Description/Value
action required TEXT FINISH_ACTIVATION
activationId required INT Operation ID
status required TEXT Completion status of the operation
key required TEXT API key

Statuses

Status Description/Value
1 This number was not get for the current service
3 Successfuly sold
4 Canceled - message was not delivered
5 Returned - in case of errors and message problems

Result

After successful execution of the request you will get the JSON format response like this:

json {status: "SUCCESS"}

Result Description/Value
status SUCCESS или ERROR