POST api/Account/CreateUserAnonymously

Creates new user account anonymously. Basic Authentication is NOT needed.

Request Information

URI Parameters

None.

Body Parameters

CreateUserAnonymouslyPost
NameDescriptionTypeAdditional information
UserName

Username (login)

string

None.

FirstName

(Optional) Firstname

string

None.

LastName

(Optional) Lastname

string

None.

MiddleName

(Optional, deprecated) Middlename

string

None.

Email

E-mail address

string

None.

Description

Additional information about the user

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "john.doe",
  "FirstName": "John",
  "LastName": "Doe",
  "MiddleName": null,
  "Email": "john.doe@domain.com",
  "Description": "Everything else"
}

application/xml, text/xml

Sample:
<CreateUserAnonymouslyPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <Description>Everything else</Description>
  <Email>john.doe@domain.com</Email>
  <FirstName>John</FirstName>
  <LastName>Doe</LastName>
  <MiddleName i:nil="true" />
  <UserName>john.doe</UserName>
</CreateUserAnonymouslyPost>

Response Information

Resource Description

IHttpActionResult

None.