GET coreapi/v1/grupos/{grupoId}/permissoes

Retorna a lista de permissões do grupo

Request Information

Parameters

NameDescriptionAdditional 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": "bf6b8b69-f954-4338-adcf-b9a8d9c89660",
    "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": "bf6b8b69-f954-4338-adcf-b9a8d9c89660",
    "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": "bf6b8b69-f954-4338-adcf-b9a8d9c89660",
    "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>bf6b8b69-f954-4338-adcf-b9a8d9c89660</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>bf6b8b69-f954-4338-adcf-b9a8d9c89660</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>bf6b8b69-f954-4338-adcf-b9a8d9c89660</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>