GET coreapi/v1/usuarios/{usuarioId}/aplicativos
Retorna a lista de permissões do usuário
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
usuarioId | 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": "73a13df0-b5f9-416e-b27b-1c8d1516c762", "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": "73a13df0-b5f9-416e-b27b-1c8d1516c762", "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": "73a13df0-b5f9-416e-b27b-1c8d1516c762", "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>73a13df0-b5f9-416e-b27b-1c8d1516c762</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>73a13df0-b5f9-416e-b27b-1c8d1516c762</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>73a13df0-b5f9-416e-b27b-1c8d1516c762</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>