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": "64659fe9-ac81-464c-ab1a-b0af9aeb3bb8",
  "RefId": "c49c6011-56f0-4cd2-9346-686c22872fbf",
  "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>c49c6011-56f0-4cd2-9346-686c22872fbf</RefId>
  <Role_Id>64659fe9-ac81-464c-ab1a-b0af9aeb3bb8</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:
"f953be36-e003-404a-a19b-c5ea42d3e951"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f953be36-e003-404a-a19b-c5ea42d3e951</guid>