Difference between revisions of "MOR API phonebook edit"
From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '''This functionality is available from MOR 11'' MOR API Phonebook edit <br><br> ---- <br><br> * Call: /api/phonebook_edit * Methods: POST, GET…') |
|||
Line 23: | Line 23: | ||
* Returns: | * Returns: | ||
**Success | **Success | ||
*** <status>Phonebook | *** <status>Phonebook saved</status> | ||
** Errors: | ** Errors: | ||
*** <error>Phonebook was not saved</error> | *** <error>Phonebook was not saved</error> |
Revision as of 07:26, 14 November 2011
This functionality is available from MOR 11
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.
- <error>Phonebook was not saved</error>
- Success