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": "3caf81e4-9fb3-477a-bef1-ec2e8b163b36",
  "RefId": "3b1f3f71-63bb-4981-8f99-46431247370a"
}

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>3b1f3f71-63bb-4981-8f99-46431247370a</RefId>
  <Role_Id>3caf81e4-9fb3-477a-bef1-ec2e8b163b36</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

UserDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Username

string

None.

Password

string

None.

Role_Id

globally unique identifier

None.

RefId

globally unique identifier

None.

ErrorMessage

string

None.

Message

string

None.

MessageFr

string

None.

ErrorMessageFr

string

None.

Token

string

None.

NovaAPIId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "75d47ba0-cdf9-4d1b-ac15-a35626ceec29",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "Role_Id": "aa2236dd-8321-4534-85a8-97a22454a19f",
  "RefId": "d91d516f-fbbe-45e1-9c96-84f548d71570",
  "ErrorMessage": "sample string 4",
  "Message": "sample string 5",
  "MessageFr": "sample string 6",
  "ErrorMessageFr": "sample string 7",
  "Token": "sample string 8",
  "NovaAPIId": "sample string 9"
}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.UserModule.Model">
  <ErrorMessage>sample string 4</ErrorMessage>
  <ErrorMessageFr>sample string 7</ErrorMessageFr>
  <Id>75d47ba0-cdf9-4d1b-ac15-a35626ceec29</Id>
  <Message>sample string 5</Message>
  <MessageFr>sample string 6</MessageFr>
  <NovaAPIId>sample string 9</NovaAPIId>
  <Password>sample string 3</Password>
  <RefId>d91d516f-fbbe-45e1-9c96-84f548d71570</RefId>
  <Role_Id>aa2236dd-8321-4534-85a8-97a22454a19f</Role_Id>
  <Token>sample string 8</Token>
  <Username>sample string 2</Username>
</UserDto>