OPTIONS users/user/update
Editar Informações do Usuário
Request Information
URI Parameters
None.
Body Parameters
UsuarioVM| Name | Description | Type | Additional information |
|---|---|---|---|
| IdUsuario | integer |
None. |
|
| IdAplicativo | integer |
None. |
|
| Nome |
Obrigatório. Nome do usuário |
string |
None. |
| Apelido |
Obrigatório. Apelido |
string |
None. |
| Telefone |
Obrigatório.Telefone com DDI + DDD + Número Celular |
string |
None. |
|
Obrigatório. Email do usuário |
string |
None. |
|
| Senha |
Obrigatório. Senha do usuário |
string |
None. |
| Ativo |
Obrigatório. Ativo |
boolean |
None. |
| Response |
Informações sobre situação do Objeto |
BaseInfoResponse |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdUsuario": 1,
"IdAplicativo": 2,
"Nome": "sample string 3",
"Apelido": "sample string 4",
"Telefone": "sample string 5",
"Email": "sample string 6",
"Senha": "sample string 7",
"Ativo": true,
"Response": {
"Sucesso": true,
"Mensagem": null,
"MensagemFinal": "",
"IdHistorico": 1,
"Identificador": 1,
"Bag": {}
}
}
application/xml, text/xml
Sample:
<UsuarioVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTM.WebAPI.Areas.Seguranca.ViewModels">
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/MasterGestor.CORE.Nucleo.Base" xmlns="http://schemas.datacontract.org/2004/07/HTM.WebAPI.Helpers.ViewModel">
<d2p1:Bag />
<d2p1:IdHistorico>1</d2p1:IdHistorico>
<d2p1:Identificador>RegistroObsoleto</d2p1:Identificador>
<d2p1:Mensagem xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" />
<d2p1:Sucesso>true</d2p1:Sucesso>
</Response>
<Apelido>sample string 4</Apelido>
<Ativo>true</Ativo>
<Email>sample string 6</Email>
<IdAplicativo>2</IdAplicativo>
<IdUsuario>1</IdUsuario>
<Nome>sample string 3</Nome>
<Senha>sample string 7</Senha>
<Telefone>sample string 5</Telefone>
</UsuarioVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |