List Permissions
List Permissions

This method returns the list of all permissions available for roles in the system. The client makes a GET request providing input parameters CompanyID and LanguageID. The output will be either in json or xml format depending on the request type.

Name Value
REST-API METHOD LIST PERMISSIONS
HTTP METHOD GET
RESPONSE TYPE XML
URL https://api.csm.next4biz.net/services/RoleService/{CompanyID}/listpermissions.json/{LangID}https://api.csm.next4biz.net/services/RoleService/{CompanyID}/listpermissions.xml/{LangID}
REQUEST HEAD Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/jsonAuthorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml
  • XML
  • JSON
ENDPOINT DEFINITION
GET
RESPONSE BODY
                                    
                                        <ArrayOfApplicationFunction>
	<ApplicationFunction>
		<GroupID>{GroupID}</GroupID>
		<GroupName>{GroupName}</GroupName>
		<ID>{ID}</ID>
		<Name>{Name}</Name>
	</ApplicationFunction>
	<ApplicationFunction>
		<GroupID>{GroupID}</GroupID>
		<GroupName>{GroupName}</GroupName>
		<ID>{ID}</ID>
		<Name>{Name}</Name>
	</ApplicationFunction>
</ArrayOfApplicationFunction>
                                    
                                
                                                                        
                                        {
    "ApplicationFunction": [
        {
            "GroupID": "{GroupID}",
            "GroupName": "{GroupName}",
            "ID": "{ID}",
            "Name": "{Name}"
        },
        {
            "GroupID": "{GroupID}",
            "GroupName": "{GroupName}",
            "ID": "{ID}",
            "Name": "{Name}"
        }
    ]
}