/grp/get/:code

    API URL/grp/get/:code
    DescriptionGet CMS group/role info RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET
    Request data typeURL route parameters
    Request data
    • :code - group code
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message', // error message data:[ id: 'group id in DB table', // ex. '1' code: 'group code', // ex. 'demo' name: 'group name', // ex. 'Demo role' editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' ] }