MOR API phonebook edit

From Kolmisoft Wiki
Revision as of 07:58, 14 November 2011 by Admin (talk | contribs)
Jump to navigationJump to search

This functionality is available from MOR 11


MOR API

Phonebook edit






  • Call: /api/phonebook_edit
  • Methods: POST, GET(if allowed, not recomended)
  • Params:
    • phonebook_id - Phonebook ID in MOR database. Required.
    • u - username to login. Required.
    • p - password to login. Required.
    • hash - 632667547e7cd3e0466547863e1207a8c0c0c549
    • number
    • name
    • speeddial
  • Returns:
    • Success
      • <status>Phonebook saved</status>
    • Errors:
      • <error>Phonebook was not saved</error>
        • <message>problem message</message>
      • <error>Phonebook was not found</error> - Phonebook was not found using phonebook_id. Use correct phonebook id.
      • <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.
      • <error>Dont be so smart</error> - User with UNIQUEHASH not found or params id not send. Enter correct id.