POST api/User/UpdateRoleFeatureActivity

Request Information

URI Parameters

None.

Body Parameters

FeatureActivityModel
NameDescriptionTypeAdditional information
FeatureName

string

None.

IsEnabled

boolean

None.

ActivityName

string

None.

ActivityId

integer

None.

SelectedUserId

string

None.

strRoleId

string

None.

FeatureCategory

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FeatureName": "sample string 1",
  "IsEnabled": true,
  "ActivityName": "sample string 3",
  "ActivityId": 4,
  "SelectedUserId": "sample string 5",
  "strRoleId": "sample string 6",
  "FeatureCategory": "sample string 7"
}

application/xml, text/xml

Sample:
<FeatureActivityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSI.Cx360.WebAPI.Models.Users">
  <ActivityId>4</ActivityId>
  <ActivityName>sample string 3</ActivityName>
  <FeatureCategory>sample string 7</FeatureCategory>
  <FeatureName>sample string 1</FeatureName>
  <IsEnabled>true</IsEnabled>
  <SelectedUserId>sample string 5</SelectedUserId>
  <strRoleId>sample string 6</strRoleId>
</FeatureActivityModel>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />