POST oauth/Account/Register

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
UserName

string

Required

Email

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 20

ConfirmPassword

string

Data type: Password

ScopeId

integer

Required

CandidateId

integer

None.

DateOfBirth

date

None.

Host

string

Required

IsAdmin

boolean

None.

LastName

string

None.

FirstName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Email": "sample string 2",
  "Password": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "ScopeId": 5,
  "CandidateId": 6,
  "DateOfBirth": "2021-03-07T22:50:45.3943708+01:00",
  "Host": "sample string 7",
  "IsAdmin": true,
  "LastName": "sample string 9",
  "FirstName": "sample string 10"
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.