POST api/Account

Registra um novo usuário.

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
TenantId

globally unique identifier

Required

CanalId

integer

Required

UserName

string

Required

Email

string

Required

Cpf

string

Required

Telefone

string

None.

DDD

string

None.

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

EntityCanalId

string

None.

ExternalAccessToken

string

None.

Provider

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": "64fdaf82-7355-417b-a080-90cd661022c7",
  "CanalId": 2,
  "UserName": "sample string 3",
  "Email": "sample string 4",
  "Cpf": "sample string 5",
  "Telefone": "sample string 6",
  "DDD": "sample string 7",
  "Password": "sample string 8",
  "ConfirmPassword": "sample string 9",
  "EntityCanalId": "sample string 10",
  "ExternalAccessToken": "sample string 11",
  "Provider": "sample string 12"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
  <CanalId>2</CanalId>
  <ConfirmPassword>sample string 9</ConfirmPassword>
  <Cpf>sample string 5</Cpf>
  <DDD>sample string 7</DDD>
  <Email>sample string 4</Email>
  <EntityCanalId>sample string 10</EntityCanalId>
  <ExternalAccessToken>sample string 11</ExternalAccessToken>
  <Password>sample string 8</Password>
  <Provider>sample string 12</Provider>
  <Telefone>sample string 6</Telefone>
  <TenantId>64fdaf82-7355-417b-a080-90cd661022c7</TenantId>
  <UserName>sample string 3</UserName>
</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.