POST api/AdminAccount/CreateDefaultAdminAccount

Request Information

URI Parameters

None.

Body Parameters

CreateNewAdminAccountWithDefaultUserRequestViewModel
NameDescriptionTypeAdditional information
AccountName

string

Required

Email

string

Required

Matching regular expression pattern: ^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,}$

Password

string

Required

Request Formats

application/json, text/json

Sample:
{
  "AccountName": "sample string 1",
  "Email": "sample string 2",
  "Password": "sample string 3"
}

application/xml, text/xml

Sample:
<CreateNewAdminAccountWithDefaultUserRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AdminAccountsAndSettings">
  <AccountName>sample string 1</AccountName>
  <Email>sample string 2</Email>
  <Password>sample string 3</Password>
</CreateNewAdminAccountWithDefaultUserRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.