POST api/User/CreateUser
Documentation for 'CreateUser'.
Request Information
Parameters
Name | Description | Additional 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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <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.