POST api/Usuario/BuscarUsuarioPorId

Request Information

URI Parameters

None.

Body Parameters

integer

Request Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Int32'.

Response Information

Resource Description

Usuario
NameDescriptionTypeAdditional information
Id

integer

None.

Login

string

None.

Senha

string

None.

Nome

string

Required

DDD

string

None.

WhatsApp

string

Required

Email

string

Required

TipoLogradouro

string

None.

Logradouro

string

Required

Numero

string

Required

Complemento

string

None.

Cep

string

Required

WhatsAppConfirmado

boolean

None.

EmailConfirmado

boolean

None.

CodigoConfirmacaoEmail

integer

None.

CodigoConfirmacaoWhatsApp

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

PlayerIdOneSignal

string

None.

TrocarSenha

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Login": "sample string 2",
  "Senha": "sample string 3",
  "Nome": "sample string 4",
  "DDD": "sample string 5",
  "WhatsApp": "sample string 6",
  "Email": "sample string 7",
  "TipoLogradouro": "sample string 8",
  "Logradouro": "sample string 9",
  "Numero": "sample string 10",
  "Complemento": "sample string 11",
  "Cep": "sample string 12",
  "WhatsAppConfirmado": true,
  "EmailConfirmado": true,
  "CodigoConfirmacaoEmail": 15,
  "CodigoConfirmacaoWhatsApp": 16,
  "Latitude": 17.1,
  "Longitude": 18.1,
  "PlayerIdOneSignal": "sample string 19",
  "TrocarSenha": true
}

application/xml, text/xml

Sample:
<Usuario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EuLevoPraVoce.Api.Models">
  <Cep>sample string 12</Cep>
  <CodigoConfirmacaoEmail>15</CodigoConfirmacaoEmail>
  <CodigoConfirmacaoWhatsApp>16</CodigoConfirmacaoWhatsApp>
  <Complemento>sample string 11</Complemento>
  <DDD>sample string 5</DDD>
  <Email>sample string 7</Email>
  <EmailConfirmado>true</EmailConfirmado>
  <Id>1</Id>
  <Latitude>17.1</Latitude>
  <Login>sample string 2</Login>
  <Logradouro>sample string 9</Logradouro>
  <Longitude>18.1</Longitude>
  <Nome>sample string 4</Nome>
  <Numero>sample string 10</Numero>
  <PlayerIdOneSignal>sample string 19</PlayerIdOneSignal>
  <Senha>sample string 3</Senha>
  <TipoLogradouro>sample string 8</TipoLogradouro>
  <TrocarSenha>true</TrocarSenha>
  <WhatsApp>sample string 6</WhatsApp>
  <WhatsAppConfirmado>true</WhatsAppConfirmado>
</Usuario>