POST api/Usuario/EnviarSenha

Request Information

URI Parameters

None.

Body Parameters

EnviarSenha
NameDescriptionTypeAdditional information
Usuario

Usuario

None.

Sucesso

boolean

None.

Observacao

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Usuario": {
    "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
  },
  "Sucesso": true,
  "Observacao": "sample string 2"
}

application/xml, text/xml

Sample:
<EnviarSenha xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EuLevoPraVoce.Api.Models">
  <Observacao>sample string 2</Observacao>
  <Sucesso>true</Sucesso>
  <Usuario>
    <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>
</EnviarSenha>

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 'EnviarSenha'.

Response Information

Resource Description

EnviarSenha
NameDescriptionTypeAdditional information
Usuario

Usuario

None.

Sucesso

boolean

None.

Observacao

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Usuario": {
    "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
  },
  "Sucesso": true,
  "Observacao": "sample string 2"
}

application/xml, text/xml

Sample:
<EnviarSenha xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EuLevoPraVoce.Api.Models">
  <Observacao>sample string 2</Observacao>
  <Sucesso>true</Sucesso>
  <Usuario>
    <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>
</EnviarSenha>