API URL/usr/ins/:uid
    DescriptionCreate new CMS user RESTFul API
    AccessRestricted to roles: admin, demo (r/o)
    Rquest methodPOST
    Request data typeRequest variables
    Request data
    • bot - empty
    • code - user code
    • uid - user ID
    • lname - user last name
    • fname - user first name
    • mail - user e-mail address
    • phone - user phone
    • fax - user fax
    • psw - user password (md5 encoded 32 bytes length)
    • digest - user digest
    • language - user language
    • language_code - user language code
    • country - user country
    • country_code - user country code
    • inst - user institution
    • city - user city
    • address - user address
    • post - user postage code
    • news - user permission to receive news via e-mail ('on' - enable, '' - disable)
    • active - user is active [0 | 1], default: 1
    • start - user is active from timestamp ('yyyy-mm-dd hh:mm:ss')
    • stop - user is active to timestamp ('yyyy-mm-dd hh:mm:ss')
    • grp - user assigned group code array in JSON format
    • ip - user assigned login filter IP address array in JSON format
    • grp[] - user assigned roles
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message', // error message data:[ id: 'user table ID', // ex. '1' code: 'user code', // ex. 'ecom' uid: 'user id ', // ex. 'smi' lname: 'user last name', // ex. 'Smith' fname: 'user first name', // ex. 'John' name: 'user name', // ex. 'Smith John' lcname: 'user name in lower case', // ex. 'smith john' mail: 'user e-mail address', // ex. 'smith.john@mail.com' phone: 'user phone number', // ex. '+1-617-353-2222' fax: 'user fax number', // ex. '+1-617-353-2222' psw: 'dummy', country: 'user country', // ex. 'USA' country_code: 'user country code', // ex. 'us' inst: 'user institution', // ex. 'University' city: 'user city', // ex. 'Boston' address: 'user address', // ex. 'Boston University, One Silber Way, Boston, MA 02215' post: 'postage', // ex. 'LT-12345' news: 'user permission to receive news via e-mail', // '1' - enable, '0' - disable active: '1', // '1' - active, '0' - don't active start: '0000-00-00 00:00:00', // 'yyyy-mm-dd hh:mm:ss' stop: '9999-00-00 00:00:00', // 'yyyy-mm-dd hh:mm:ss' ip: [['1','IP address'], ...], // ex. [['1', '193.245.55.1'], ['1', '193.245.55.2']] editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' ] }