POST api/User/CreateUser

Request Information

URI Parameters

None.

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Password

string

Required

String length: inclusive between 0 and 255

Username

string

Required

String length: inclusive between 0 and 255

DisplayName

string

String length: inclusive between 0 and 255

IsAdmin

boolean

None.

IsCustomerAdmin

boolean

None.

ValidateEmailUrl

string

Required

EmailValidated

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Password": "sample string 2",
  "Username": "sample string 3",
  "DisplayName": "sample string 4",
  "IsAdmin": true,
  "IsCustomerAdmin": true,
  "ValidateEmailUrl": "sample string 5",
  "EmailValidated": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

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.