POST v1/Usuario/salvar

Request Information

URI Parameters

None.

Body Parameters

ReqSalvarUsuario
NameDescriptionTypeAdditional information
idusuario

integer

None.

inativo

boolean

None.

senha

string

None.

login

string

Matching regular expression pattern: \w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$

skype

string

None.

cargo

string

None.

liberado

boolean

None.

foto

string

None.

idsh

integer

None.

pessoa

ReqSalvar

None.

usuario_licencas

Collection of usuarioLicencas

None.

Request Formats

application/json, text/json

Sample:
{
  "cargo": "sample string 5",
  "foto": "sample string 7",
  "idsh": 8,
  "idusuario": 1,
  "inativo": true,
  "liberado": true,
  "login": "sample string 3",
  "pessoa": {
    "cnpj": "sample string 1",
    "datanasc": "sample string 6",
    "emails": [
      {
        "cobranca": true,
        "email": "sample string 1",
        "idemail": 1
      },
      {
        "cobranca": true,
        "email": "sample string 1",
        "idemail": 1
      }
    ],
    "enderecos": [
      {
        "bairro": "sample string 4",
        "cep": "sample string 5",
        "cidade": {
          "cIBGE": "sample string 1"
        },
        "complemento": "sample string 3",
        "endereco": "sample string 1",
        "idcidade": 1,
        "idendereco": 1,
        "numero": "sample string 2",
        "principal": true
      },
      {
        "bairro": "sample string 4",
        "cep": "sample string 5",
        "cidade": {
          "cIBGE": "sample string 1"
        },
        "complemento": "sample string 3",
        "endereco": "sample string 1",
        "idcidade": 1,
        "idendereco": 1,
        "numero": "sample string 2",
        "principal": true
      }
    ],
    "fantasia": "sample string 4",
    "idpessoa": 1,
    "ie": "sample string 2",
    "razao": "sample string 3",
    "site": "sample string 5",
    "skype": "sample string 7",
    "telefones": [
      {
        "idtelefone": 1,
        "numero": "sample string 1",
        "observacao": "sample string 2"
      },
      {
        "idtelefone": 1,
        "numero": "sample string 1",
        "observacao": "sample string 2"
      }
    ],
    "tpicms": 1
  },
  "senha": "sample string 2",
  "skype": "sample string 4",
  "usuario_licencas": [
    {
      "idlicenca": 1,
      "idusuario": 1,
      "idusuariolicenca": 1
    },
    {
      "idlicenca": 1,
      "idusuario": 1,
      "idusuariolicenca": 1
    }
  ]
}

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.