POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
PhoneNumber

string

Data type: PhoneNumber

Email

string

Required

Data type: EmailAddress

FullName

string

None.

CPF

string

None.

Empresa

integer

Required

EmpresaAcesso

integer

None.

BirthDate

date

None.

deviceId

string

None.

Password

string

Required

Data type: Password

String length: inclusive between 4 and 100

ConfirmPassword

string

Data type: Password

token_easylock

string

None.

UserName

string

None.

UserNameEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "Email": "sample string 2",
  "FullName": "sample string 3",
  "CPF": "sample string 4",
  "Empresa": 5,
  "EmpresaAcesso": 6,
  "BirthDate": "2024-09-20T01:27:36.512946-03:00",
  "deviceId": "sample string 7",
  "Password": "sample string 8",
  "ConfirmPassword": "sample string 9",
  "token_easylock": "sample string 10",
  "UserName": "5:sample string 1",
  "UserNameEmail": "5:sample string 2"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <BirthDate>2024-09-20T01:27:36.512946-03:00</BirthDate>
  <CPF>sample string 4</CPF>
  <ConfirmPassword>sample string 9</ConfirmPassword>
  <Email>sample string 2</Email>
  <Empresa>5</Empresa>
  <EmpresaAcesso>6</EmpresaAcesso>
  <FullName>sample string 3</FullName>
  <Password>sample string 8</Password>
  <PhoneNumber>sample string 1</PhoneNumber>
  <deviceId>sample string 7</deviceId>
  <token_easylock>sample string 10</token_easylock>
</RegisterBindingModel>

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.