POST api/Account/CriarCliente

Request Information

URI Parameters

None.

Body Parameters

ClienteCadastroModel
NameDescriptionTypeAdditional information
DataNascimento

date

Required

Nome

string

None.

NumeroCarteira

string

Required

Email

string

Required

Celular

string

Required

Senha

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmacaoSenha

string

Required

Data type: Password

IdProduto

integer

None.

InstallationId

string

None.

ExternalAccessToken

string

None.

PlataformaMobile

string

None.

VersaoPlataformaMobile

string

None.

VersaoAplicativo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DataNascimento": "2020-10-29T03:34:01.1161317+00:00",
  "Nome": "sample string 2",
  "NumeroCarteira": "sample string 3",
  "Email": "sample string 4",
  "Celular": "sample string 5",
  "Senha": "sample string 6",
  "ConfirmacaoSenha": "sample string 7",
  "IdProduto": 8,
  "InstallationId": "sample string 9",
  "ExternalAccessToken": "sample string 10",
  "PlataformaMobile": "sample string 11",
  "VersaoPlataformaMobile": "sample string 12",
  "VersaoAplicativo": "sample string 13"
}

application/xml, text/xml

Sample:
<ClienteCadastroModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnimedApp.API.Models">
  <Celular>sample string 5</Celular>
  <ConfirmacaoSenha>sample string 7</ConfirmacaoSenha>
  <DataNascimento>2020-10-29T03:34:01.1161317+00:00</DataNascimento>
  <Email>sample string 4</Email>
  <ExternalAccessToken>sample string 10</ExternalAccessToken>
  <IdProduto>8</IdProduto>
  <InstallationId>sample string 9</InstallationId>
  <Nome>sample string 2</Nome>
  <NumeroCarteira>sample string 3</NumeroCarteira>
  <PlataformaMobile>sample string 11</PlataformaMobile>
  <Senha>sample string 6</Senha>
  <VersaoAplicativo>sample string 13</VersaoAplicativo>
  <VersaoPlataformaMobile>sample string 12</VersaoPlataformaMobile>
</ClienteCadastroModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.