MOR API user details update

From Kolmisoft Wiki
Revision as of 12:39, 13 October 2011 by Vitalija (talk | contribs)
Jump to navigationJump to search

This functionality is available from MOR 11


MOR API

Create new user from params.






  • Call: /api/user_update_api
  • Methods: POST, GET(if allowed, not recomended)
  • Params:
    • user_id - Users ID in MOR database, whose details we want to change. Required.
    • u - username to login. Required.
    • p - password to login. Required.
    • hash - 632667547e7cd3e0466547863e1207a8c0c0c549
    • u0 - vat number
    • u1 - lcr id
    • u2 - warning email hour
    • u3 - hide destination end
    • u4 - currency id
    • u5 - tariff id
    • u6 - warning email balance
    • u7 - spy device id
    • u8 - language
    • u9 - username
    • u10 - warning balance call
    • u11 - acc group id
    • u12 - generate invoice
    • u13 - usertype
    • u14 - taxation country
    • u15 - blocked
    • u16 - quickforwards rule id
    • u17 - last name
    • u18 - call limit
    • u19 - clientid
    • u20 - recording hdd quota
    • u21 - cyberplat active
    • u22 - recordings email
    • u23 - first name
    • u24 - warning balance sound file id
    • u25 - postpaid
    • u26 - accounting number
    • u27 - agreement number
    • u28 - hidden
    • ay - agr_date year
    • am - agr_date month
    • ad - agr_date day
    • by - block at date year2011
    • bm - block at date month
    • bd - block at date day
    • pswd - password
    • user_warning_email_hour
    • pgui - privacy gui [0-off, 1-on]
    • pcsv - privacy csv [0-off, 1-on]
    • ppdf - privacy pdf [0-off, 1-on]
    • recording_forced_enabled - [0-off, 1-on]
    • i4 - invoice detailed csv [0-off, 16-on]
    • tax4_enabled - [0-off, 1-on]
    • tax2_enabled - [0-off, 1-on]
    • accountant_type_invalid
    • block_at_conditional - 15
    • tax3_enabled - [0-off, 1-on]
    • accountant_type
    • tax1_value - float
    • show_zero_calls - [0-off, 1-on]
    • warning_email_active - [0-off, 1-on]
    • compound_tax - [0-off, 1-on]
    • tax4_name -
    • allow_loss_calls - [0-off, 1-on]
    • tax3_name -
    • tax2_name -
    • credit - float
    • tax1_name -
    • total_tax_name -
    • tax2_value - float
    • tax4_value - float
    • ignore_global_monitorings - [0-off, 1-on]
    • i1 - invoice pdf [0-off, 2-on]
    • tax3_value - float
    • cyberplat_active - [0-off, 1-on]
    • i2 - invoice csv [0-off, 4-on]
    • i3 - invoice detailed pdf [0-off, 8-on]
    • recording_enabled - [0-off, 1-on]
    • email_warning_sent_test - [0-off, 1-on]
    • own_providers - [0-off, 1-on]
    • a0 - address
    • a1 - city
    • a2 - postcode
    • a3 - county
    • a4 - mob_phone
    • a5 - fax
    • a6 - direction id
    • a7 - phone
    • a8 - email
    • a9 - satate