Usuários

Cadastra um usuário

post/usuario

Request body

nomestring
emailstring email
telefonestring
cpfstring
id_usuarios_tipointeger
id_operadorainteger
senhastring password
statusinteger

Example request

{
  "nome": "Novo Usuário",
  "email": "usuario@saasto.com.br",
  "telefone": "48999990000",
  "cpf": "12345678900",
  "id_usuarios_tipo": 2,
  "id_operadora": 1,
  "senha": "123456",
  "status": 1
}

Response

Usuário cadastrado

statusinteger
errorsstring[]

Example response

{
  "status": 200,
  "response": {
    "id": 10,
    "nome": "Administrador",
    "email": "admin@saasto.com.br",
    "telefone": "48999990000",
    "cpf": "12345678900",
    "id_usuarios_tipo": 1,
    "desc_usuarios_tipo": "Administrador",
    "id_operadora": 1,
    "desc_operadora": "Operadora A",
    "status": 1
  },
  "errors": []
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.