PUT api/Users

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
record
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userID": 1,
  "username": "sample string 2",
  "email": "sample string 3",
  "nickName": "sample string 4",
  "firstName": "sample string 5",
  "lastName": "sample string 6",
  "menus": "sample string 7",
  "permissions": [
    {
      "controllerName": "sample string 1",
      "controllerDesc": "sample string 2",
      "permissionDesc": "sample string 3",
      "allowMenu": "sample string 4",
      "actions": "sample string 5",
      "id": 6
    },
    {
      "controllerName": "sample string 1",
      "controllerDesc": "sample string 2",
      "permissionDesc": "sample string 3",
      "allowMenu": "sample string 4",
      "actions": "sample string 5",
      "id": 6
    },
    {
      "controllerName": "sample string 1",
      "controllerDesc": "sample string 2",
      "permissionDesc": "sample string 3",
      "allowMenu": "sample string 4",
      "actions": "sample string 5",
      "id": 6
    }
  ],
  "newPassword": "sample string 8",
  "id": 9
}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPL.LIB.Models">
  <Id>9</Id>
  <Email>sample string 3</Email>
  <FirstName>sample string 5</FirstName>
  <LastName>sample string 6</LastName>
  <Menus>sample string 7</Menus>
  <NickName>sample string 4</NickName>
  <Permissions>
    <PermissionModel>
      <Id>6</Id>
      <Actions>sample string 5</Actions>
      <AllowMenu>sample string 4</AllowMenu>
      <ControllerDesc>sample string 2</ControllerDesc>
      <ControllerName>sample string 1</ControllerName>
      <PermissionDesc>sample string 3</PermissionDesc>
    </PermissionModel>
    <PermissionModel>
      <Id>6</Id>
      <Actions>sample string 5</Actions>
      <AllowMenu>sample string 4</AllowMenu>
      <ControllerDesc>sample string 2</ControllerDesc>
      <ControllerName>sample string 1</ControllerName>
      <PermissionDesc>sample string 3</PermissionDesc>
    </PermissionModel>
    <PermissionModel>
      <Id>6</Id>
      <Actions>sample string 5</Actions>
      <AllowMenu>sample string 4</AllowMenu>
      <ControllerDesc>sample string 2</ControllerDesc>
      <ControllerName>sample string 1</ControllerName>
      <PermissionDesc>sample string 3</PermissionDesc>
    </PermissionModel>
  </Permissions>
  <UserID>1</UserID>
  <newPassword>sample string 8</newPassword>
  <username>sample string 2</username>
</UserModel>

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

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.