POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
nome

string

Required

userName

string

Required

email

string

Required

roleName

string

Required

senha

string

Required

Data type: Password

String length: inclusive between 6 and 100

Request Formats

application/json, text/json

Sample:
{
  "nome": "sample string 1",
  "userName": "sample string 2",
  "email": "sample string 3",
  "roleName": "sample string 4",
  "senha": "sample string 5"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Linkcards.Webapi.Models">
  <email>sample string 3</email>
  <nome>sample string 1</nome>
  <roleName>sample string 4</roleName>
  <senha>sample string 5</senha>
  <userName>sample string 2</userName>
</RegisterBindingModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.