POST api/User/EditUser

Request Information

URI Parameters

None.

Body Parameters

EditUserCommandDto
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Role_Id

globally unique identifier

None.

RefId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Role_Id": "44a23602-e7a8-43ea-be56-b55a07ce9abc",
  "RefId": "fe69cd55-0d98-48f2-ae32-85988631b6f4"
}

application/xml, text/xml

Sample:
<EditUserCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model">
  <Password>sample string 2</Password>
  <RefId>fe69cd55-0d98-48f2-ae32-85988631b6f4</RefId>
  <Role_Id>44a23602-e7a8-43ea-be56-b55a07ce9abc</Role_Id>
  <Username>sample string 1</Username>
</EditUserCommandDto>

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 'EditUserCommandDto'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>