POST api/role/ActiveStatusUpdate
Request Information
URI Parameters
None.
Body Parameters
RoleViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleID | globally unique identifier |
None. |
|
| RoleName | string |
None. |
|
| Description | string |
None. |
|
| IsApplicationAdmin | boolean |
None. |
|
| IsPublic | boolean |
None. |
|
| IsSystem | boolean |
None. |
|
| ShowBudget | boolean |
None. |
|
| ShowCost | boolean |
None. |
|
| ShowPrice | boolean |
None. |
|
| RolePermissionList | Collection of RolePermissionViewModel |
None. |
|
| CompanyID | integer |
None. |
|
| Language | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedUserID | globally unique identifier |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedUserID | globally unique identifier |
None. |
|
| FeatureID | globally unique identifier |
None. |
|
| Token | globally unique identifier |
None. |
|
| Action | Actions |
None. |
|
| FilterText | string |
None. |
|
| CurrentIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| TotalRecords | integer |
None. |
|
| SortColumn | string |
None. |
|
| Sortby | SortDirection |
None. |
|
| ImageId | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| Sort | integer |
None. |
|
| Messages | Collection of ErrorMessage |
None. |
Request Formats
application/json, text/json
Sample:
{
"RoleID": "08056d11-5157-4d20-876e-e03e8127e051",
"RoleName": "sample string 2",
"Description": "sample string 3",
"IsApplicationAdmin": true,
"IsPublic": true,
"IsSystem": true,
"ShowBudget": true,
"ShowCost": true,
"ShowPrice": true,
"RolePermissionList": [
{
"ModuleID": "bce9cafe-0510-46f6-afe9-1e4ada1c0c35",
"ModuleName": "sample string 2",
"FeatureID": "5533a459-4d52-4e12-8a66-1e63d2f82de4",
"FeatureName": "sample string 4",
"Full": true,
"View": true,
"New": true,
"Edit": true,
"Delete": true,
"Print": true,
"Custom1": true,
"Custom2": true,
"Custom3": true,
"Custom4": true,
"Custom5": true,
"RowVersion": "QEA="
},
{
"ModuleID": "bce9cafe-0510-46f6-afe9-1e4ada1c0c35",
"ModuleName": "sample string 2",
"FeatureID": "5533a459-4d52-4e12-8a66-1e63d2f82de4",
"FeatureName": "sample string 4",
"Full": true,
"View": true,
"New": true,
"Edit": true,
"Delete": true,
"Print": true,
"Custom1": true,
"Custom2": true,
"Custom3": true,
"Custom4": true,
"Custom5": true,
"RowVersion": "QEA="
}
],
"CompanyID": 10,
"Language": "sample string 11",
"CreatedDate": "2026-03-22T13:17:06.246602+00:00",
"CreatedUserID": "82489d0d-9bac-4f40-bc1e-00e0bc3a2e27",
"ModifiedDate": "2026-03-22T13:17:06.246602+00:00",
"ModifiedUserID": "2eeceb1e-b7b5-4dc5-887b-31a54fe11591",
"FeatureID": "ef21c65a-b6b5-4b35-a774-49bc004029f1",
"Token": "47e2b3a1-d112-4ae8-a101-657df6ff1c9d",
"Action": 0,
"FilterText": "sample string 18",
"CurrentIndex": 19,
"PageSize": 20,
"TotalRecords": 21,
"SortColumn": "sample string 22",
"Sortby": 0,
"ImageId": 1,
"IsDeleted": true,
"IsActive": true,
"Sort": 1,
"Messages": [
{
"ErrorType": 1,
"Message": "sample string 2"
},
{
"ErrorType": 1,
"Message": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RoleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core.SecurityModels">
<Action xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">View</Action>
<CompanyID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">10</CompanyID>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-03-22T13:17:06.246602+00:00</CreatedDate>
<CreatedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">82489d0d-9bac-4f40-bc1e-00e0bc3a2e27</CreatedUserID>
<CurrentIndex xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">19</CurrentIndex>
<FeatureID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">ef21c65a-b6b5-4b35-a774-49bc004029f1</FeatureID>
<FilterText xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 18</FilterText>
<ImageId xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</ImageId>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsActive>
<IsDeleted xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">true</IsDeleted>
<Language xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 11</Language>
<Messages xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">
<ErrorMessage>
<ErrorType>1</ErrorType>
<Message>sample string 2</Message>
</ErrorMessage>
<ErrorMessage>
<ErrorType>1</ErrorType>
<Message>sample string 2</Message>
</ErrorMessage>
</Messages>
<ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2026-03-22T13:17:06.246602+00:00</ModifiedDate>
<ModifiedUserID xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">2eeceb1e-b7b5-4dc5-887b-31a54fe11591</ModifiedUserID>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">20</PageSize>
<Sort xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">1</Sort>
<SortColumn xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">sample string 22</SortColumn>
<Sortby xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">Asc</Sortby>
<Token xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">47e2b3a1-d112-4ae8-a101-657df6ff1c9d</Token>
<TotalRecords xmlns="http://schemas.datacontract.org/2004/07/ArtSolutions.ReqStudio.Core">21</TotalRecords>
<Description>sample string 3</Description>
<IsApplicationAdmin>true</IsApplicationAdmin>
<IsPublic>true</IsPublic>
<IsSystem>true</IsSystem>
<RoleID>08056d11-5157-4d20-876e-e03e8127e051</RoleID>
<RoleName>sample string 2</RoleName>
<RolePermissionList>
<RolePermissionViewModel>
<Custom1>true</Custom1>
<Custom2>true</Custom2>
<Custom3>true</Custom3>
<Custom4>true</Custom4>
<Custom5>true</Custom5>
<Delete>true</Delete>
<Edit>true</Edit>
<FeatureID>5533a459-4d52-4e12-8a66-1e63d2f82de4</FeatureID>
<FeatureName>sample string 4</FeatureName>
<Full>true</Full>
<ModuleID>bce9cafe-0510-46f6-afe9-1e4ada1c0c35</ModuleID>
<ModuleName>sample string 2</ModuleName>
<New>true</New>
<Print>true</Print>
<RowVersion>QEA=</RowVersion>
<View>true</View>
</RolePermissionViewModel>
<RolePermissionViewModel>
<Custom1>true</Custom1>
<Custom2>true</Custom2>
<Custom3>true</Custom3>
<Custom4>true</Custom4>
<Custom5>true</Custom5>
<Delete>true</Delete>
<Edit>true</Edit>
<FeatureID>5533a459-4d52-4e12-8a66-1e63d2f82de4</FeatureID>
<FeatureName>sample string 4</FeatureName>
<Full>true</Full>
<ModuleID>bce9cafe-0510-46f6-afe9-1e4ada1c0c35</ModuleID>
<ModuleName>sample string 2</ModuleName>
<New>true</New>
<Print>true</Print>
<RowVersion>QEA=</RowVersion>
<View>true</View>
</RolePermissionViewModel>
</RolePermissionList>
<ShowBudget>true</ShowBudget>
<ShowCost>true</ShowCost>
<ShowPrice>true</ShowPrice>
</RoleViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.