GET coreapi/v1/grupos/{grupoId}/permissoes
Retorna a lista de permissões do grupo
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
grupoId | Id do Grupo |
Define this parameter in the request URI. |
Response Information
Lista de permissões
Response body formats
application/json, text/json
Sample:
[ { "Id": "1534d203-5391-4a96-9e99-98e8bf7d3559", "Nome": "sample string 2", "Modulos": [ { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" }, { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" }, { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" } ] }, { "Id": "1534d203-5391-4a96-9e99-98e8bf7d3559", "Nome": "sample string 2", "Modulos": [ { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" }, { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" }, { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" } ] }, { "Id": "1534d203-5391-4a96-9e99-98e8bf7d3559", "Nome": "sample string 2", "Modulos": [ { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" }, { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" }, { "Id": 1, "Nome": "sample string 2", "IdModuloPai": 3, "FlagPermissao": 4, "Url": "sample string 5" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfGrupoPermissao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreSSO.API.Model"> <GrupoPermissao> <Id>1534d203-5391-4a96-9e99-98e8bf7d3559</Id> <Modulos> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> </Modulos> <Nome>sample string 2</Nome> </GrupoPermissao> <GrupoPermissao> <Id>1534d203-5391-4a96-9e99-98e8bf7d3559</Id> <Modulos> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> </Modulos> <Nome>sample string 2</Nome> </GrupoPermissao> <GrupoPermissao> <Id>1534d203-5391-4a96-9e99-98e8bf7d3559</Id> <Modulos> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> <ModuloPermissao> <FlagPermissao>4</FlagPermissao> <Id>1</Id> <IdModuloPai>3</IdModuloPai> <Nome>sample string 2</Nome> <Url>sample string 5</Url> </ModuloPermissao> </Modulos> <Nome>sample string 2</Nome> </GrupoPermissao> </ArrayOfGrupoPermissao>