POST api/v{version}/users/signup

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

UserSignupModel
NameDescriptionTypeAdditional information
Password

string

Required

Matching regular expression pattern: ^[0-9a-zA-Z-_!.)@#(~]+$

UserTypeId

byte

Required

Range: inclusive between 1 and 2

Email

string

None.

CellPhone

string

None.

FirstName

string

None.

LastName

string

None.

InviteCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Password": "sample string 1",
  "UserTypeId": 64,
  "Email": "sample string 2",
  "CellPhone": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "InviteCode": "sample string 6"
}

application/xml, text/xml

Sample:
<UserSignupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.Controllers">
  <CellPhone>sample string 3</CellPhone>
  <Email>sample string 2</Email>
  <FirstName>sample string 4</FirstName>
  <InviteCode>sample string 6</InviteCode>
  <LastName>sample string 5</LastName>
  <Password>sample string 1</Password>
  <UserTypeId>64</UserTypeId>
</UserSignupModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.