POST api/User/UpdateUserAttributes

Request Information

URI Parameters

None.

Body Parameters

UpdateUserAttributesModel
NameDescriptionTypeAdditional information
IdUser

integer

None.

UserAttributes

Collection of UserAttribute

None.

Request Formats

application/json, text/json

Sample:
{
  "IdUser": 1,
  "UserAttributes": [
    {
      "Key": "sample string 1",
      "IsAllow": true
    },
    {
      "Key": "sample string 1",
      "IsAllow": true
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateUserAttributesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalMind.AgendaV3.WebApi.Models">
  <IdUser>1</IdUser>
  <UserAttributes xmlns:d2p1="http://schemas.datacontract.org/2004/07/GlobalMind.AgendaV2.Domain">
    <d2p1:UserAttribute>
      <d2p1:IsAllow>true</d2p1:IsAllow>
      <d2p1:Key>sample string 1</d2p1:Key>
    </d2p1:UserAttribute>
    <d2p1:UserAttribute>
      <d2p1:IsAllow>true</d2p1:IsAllow>
      <d2p1:Key>sample string 1</d2p1:Key>
    </d2p1:UserAttribute>
  </UserAttributes>
</UpdateUserAttributesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.