GET api/grupos/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PermissaoGrupoEntity
NameDescriptionTypeAdditional information
Id

integer

None.

Grupo

string

None.

Status

integer

None.

DataCriacao

date

None.

DataAtualizacao

date

None.

PermissoesGrupo

Collection of PermissaoGrupoModulosEntity

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "grupo": "sample string 2",
  "status": 3,
  "dataCriacao": "2021-08-04T22:03:32.9900982-03:00",
  "dataAtualizacao": "2021-08-04T22:03:32.9900982-03:00",
  "permissoesGrupo": [
    {
      "id": 1,
      "idModulo": 2,
      "idGrupo": 3,
      "nomeGrupo": "sample string 4",
      "a": 5,
      "c": 6,
      "r": 7,
      "u": 8,
      "d": 9,
      "status": 10,
      "dataCriacao": "2021-08-04T22:03:32.9900982-03:00",
      "dataAtualizacao": "2021-08-04T22:03:32.9900982-03:00",
      "modulos": {
        "id": 1,
        "modulo": "sample string 2",
        "rota": "sample string 3",
        "status": 1,
        "dataCriacao": "2021-08-04T22:03:32.9900982-03:00",
        "dataAtualizacao": "2021-08-04T22:03:32.9900982-03:00"
      }
    },
    {
      "id": 1,
      "idModulo": 2,
      "idGrupo": 3,
      "nomeGrupo": "sample string 4",
      "a": 5,
      "c": 6,
      "r": 7,
      "u": 8,
      "d": 9,
      "status": 10,
      "dataCriacao": "2021-08-04T22:03:32.9900982-03:00",
      "dataAtualizacao": "2021-08-04T22:03:32.9900982-03:00",
      "modulos": {
        "id": 1,
        "modulo": "sample string 2",
        "rota": "sample string 3",
        "status": 1,
        "dataCriacao": "2021-08-04T22:03:32.9900982-03:00",
        "dataAtualizacao": "2021-08-04T22:03:32.9900982-03:00"
      }
    }
  ]
}