MOR API Quickforwards update

From Kolmisoft Wiki

Jump to: navigation, search


[edit] NOTE: Available from MOR X5

[edit] Description

MOR API Quickforward DID edit.

User - can edit his Quickforward DID which he is able to use.

[edit] Usage

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

[edit] Parameters

  • u - username for authentication. Required.
  • did - DID number which will be edited. Required.
  • forward_to - did, admin assigned you, will be forwarded to forward_to number.
  • description - new description.
  • hash - SHA1 hash constructed using params and API_Secret_Key ( More described in Constructing hash). Required (if setting Disable hash checking is not checked).

[edit] Request



We have username = admin, did=37060503666, forward_to=37066603777, description=abyss and API Secret Key = 123456

You send:

NOTE that username and password are not included in hash

[edit] Returns



<?xml version="1.0" encoding="UTF-8"?>


  • <error>DID was not found</error> – Specified DID was not found.
  • <error>You are not authorized to use Quickforwards</error> – Such username does not exist in the database or it was not specified.
  • <error>Incorrect hash</error> – Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.
  • <error>User was not found</error> – User was not found using username. Use correct username.

[edit] See also

Personal tools


Try M2