POST api/User/CreateUser

Documentation for 'CreateUser'.

Request Information

Parameters

NameDescriptionAdditional information
userAccountDetail
Documentation for 'userAccountDetail'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "email": "sample string 2",
  "username": "sample string 3",
  "password": "sample string 4",
  "resellerId": 5,
  "languageId": 6,
  "isAdministrator": true,
  "isReseller": true,
  "isResellerRoleCanViewAllCustomers": true,
  "isResellerRoleCanEditSalesPrice": true,
  "active": true,
  "id": 12
}

application/xml, text/xml

Sample:
<UserAccountDetailVM xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>12</Id>
  <Name>sample string 1</Name>
  <Email>sample string 2</Email>
  <Username>sample string 3</Username>
  <Password>sample string 4</Password>
  <ResellerId>5</ResellerId>
  <LanguageId>6</LanguageId>
  <IsAdministrator>true</IsAdministrator>
  <IsReseller>true</IsReseller>
  <IsResellerRoleCanViewAllCustomers>true</IsResellerRoleCanViewAllCustomers>
  <IsResellerRoleCanEditSalesPrice>true</IsResellerRoleCanEditSalesPrice>
  <Active>true</Active>
</UserAccountDetailVM>

application/x-www-form-urlencoded

Sample:

Sample not available.