POST api/usuarioCadastrar

Request Information

URI Parameters

None.

Body Parameters

UsuarioEntity
NameDescriptionTypeAdditional information
Id

integer

None.

SuperAdmin

integer

None.

Nome

string

None.

Email

string

None.

Senha

string

None.

Foto

string

None.

Status

integer

None.

Salt

string

None.

DataCriacao

date

None.

DataAtualizacao

date

None.

Grupo

PermissaoGrupos

None.

PermissoesUsuario

Collection of PermissaoUsuarioEntity

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "superAdmin": 2,
  "nome": "sample string 3",
  "email": "sample string 4",
  "senha": "sample string 5",
  "foto": "sample string 6",
  "status": 7,
  "salt": "sample string 8",
  "dataCriacao": "2021-10-20T12:33:33.513277-03:00",
  "dataAtualizacao": "2021-10-20T12:33:33.513277-03:00",
  "grupo": {
    "id": 1,
    "grupo": "sample string 2",
    "status": 3,
    "dataCriacao": "2021-10-20T12:33:33.513277-03:00",
    "dataAtualizacao": "2021-10-20T12:33:33.513277-03:00"
  },
  "permissoesUsuario": [
    {
      "id": 1,
      "idModulo": 2,
      "a": 3,
      "c": 4,
      "r": 5,
      "u": 6,
      "d": 7,
      "status": 8,
      "dataCriacao": "2021-10-20T12:33:33.513277-03:00",
      "dataAtualizacao": "2021-10-20T12:33:33.513277-03:00",
      "modulos": {
        "id": 1,
        "modulo": "sample string 2",
        "rota": "sample string 3",
        "status": 1,
        "dataCriacao": "2021-10-20T12:33:33.513277-03:00",
        "dataAtualizacao": "2021-10-20T12:33:33.513277-03:00"
      }
    },
    {
      "id": 1,
      "idModulo": 2,
      "a": 3,
      "c": 4,
      "r": 5,
      "u": 6,
      "d": 7,
      "status": 8,
      "dataCriacao": "2021-10-20T12:33:33.513277-03:00",
      "dataAtualizacao": "2021-10-20T12:33:33.513277-03:00",
      "modulos": {
        "id": 1,
        "modulo": "sample string 2",
        "rota": "sample string 3",
        "status": 1,
        "dataCriacao": "2021-10-20T12:33:33.513277-03:00",
        "dataAtualizacao": "2021-10-20T12:33:33.513277-03:00"
      }
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.