POST api/User/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterDTO
NameDescriptionTypeAdditional information
nombre

string

Required

apellido

string

Required

email

string

Required

password

string

Required

repassword

string

Required

telefono

string

Required

Request Formats

application/json, text/json

Sample:
{
  "nombre": "sample string 1",
  "apellido": "sample string 2",
  "email": "sample string 3",
  "password": "sample string 4",
  "repassword": "sample string 5",
  "telefono": "sample string 6"
}

text/html

Sample:
{"nombre":"sample string 1","apellido":"sample string 2","email":"sample string 3","password":"sample string 4","repassword":"sample string 5","telefono":"sample string 6"}

application/xml, text/xml

Sample:
<RegisterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APPLIBROS_API.DTOs">
  <apellido>sample string 2</apellido>
  <email>sample string 3</email>
  <nombre>sample string 1</nombre>
  <password>sample string 4</password>
  <repassword>sample string 5</repassword>
  <telefono>sample string 6</telefono>
</RegisterDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.