POST api/User/AddUser

Request Information

URI Parameters

None.

Body Parameters

AddUserCommandDto
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Role_Id

globally unique identifier

None.

RefId

globally unique identifier

None.

NovaAPIId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Role_Id": "5b42d374-0a74-4a41-89c8-c32a3af41eeb",
  "RefId": "9819ab9d-60dc-4aa3-b6a2-06e7e8fd24b2",
  "NovaAPIId": "sample string 3"
}

application/xml, text/xml

Sample:
<AddUserCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model">
  <NovaAPIId>sample string 3</NovaAPIId>
  <Password>sample string 2</Password>
  <RefId>9819ab9d-60dc-4aa3-b6a2-06e7e8fd24b2</RefId>
  <Role_Id>5b42d374-0a74-4a41-89c8-c32a3af41eeb</Role_Id>
  <Username>sample string 1</Username>
</AddUserCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddUserCommandDto'.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"a25ab8d3-7225-4144-8719-432753c88509"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a25ab8d3-7225-4144-8719-432753c88509</guid>