POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
PFNo

string

Required

Name

string

Required

Email

string

Required

Phone

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

IsApproved

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PFNo": "sample string 1",
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Phone": "sample string 4",
  "Password": "sample string 5",
  "ConfirmPassword": "sample string 6",
  "IsApproved": true
}

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

Sample:

Sample not available.