/usr/get/:uid

    API URL/usr/get/:uid
    DescriptionGet CMS user info RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET
    Request data typeURL route parameters
    Request data
    • :uid - user ID
    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' ] }