MOR API Quickforwards delete

From Kolmisoft Wiki

Jump to: navigation, search


[edit] NOTE: Available from MOR X5

[edit] Description

MOR API Delete device

[edit] Usage

  • From MOR X5 Call: /api/quickforward_did_delete
  • Methods: POST, GET(if allowed, not recomended)

[edit] Parametres

  • DID - DID number, which we want to delete. Required.
  • u - username for authentication. Required.
  • hash - SHA1 hash constructed using params and API_Secret_Key ( More described in Constructing hash). Required.

[edit] Request

We have DID = 37063042438, API Secret Key = 123456 We send:

HTML POST: http://<SERVER_IP>/billing/api/quickforwards_did_delete?u=admin&did=37063042438&hash=8fe8606b6bb38ba1cc5e80630436b270cfc7e65e

NOTE that username and password are not included in hash


<?xml version="1.0" encoding="UTF-8"?>
 <status>Quickforward successfully deleted</status>


  • <error>User was not found</error> - user was not found using username. Use correct username.
  • <error>DID was not found</error> - DID was not found using DID number. Use correct DID.
  • <error>You are not authorised to use Quickforwards</error> - Such username does not exist in the database or it was not specified.
  • <error>No Quickforward is assigned to specified DID</error> - No Quickforward is assigned to specified DID.

[edit] See also

Personal tools


Try M2