POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Name

string

Required

LabName

string

Required

PhoneNumber

string

Required

MachineSerialNumber

string

Required

Email

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "LabName": "sample string 2",
  "PhoneNumber": "sample string 3",
  "MachineSerialNumber": "sample string 4",
  "Email": "sample string 5",
  "Password": "sample string 6",
  "ConfirmPassword": "sample string 7"
}

text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoilTesting.API.Models">
  <ConfirmPassword>sample string 7</ConfirmPassword>
  <Email>sample string 5</Email>
  <LabName>sample string 2</LabName>
  <MachineSerialNumber>sample string 4</MachineSerialNumber>
  <Name>sample string 1</Name>
  <Password>sample string 6</Password>
  <PhoneNumber>sample string 3</PhoneNumber>
</RegisterBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.