POST api/update-role-permissions
Request Information
URI Parameters
None.
Body Parameters
Collection of RolePermissionModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| RoleId | integer | 
                             None.  | 
                |
| ModuleId | integer | 
                             None.  | 
                |
| ModuleName | string | 
                             None.  | 
                |
| isDeleted | boolean | 
                             None.  | 
                |
| ScreenPermissions | Collection of ScreenPermissionModel | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
[
  {
    "ScreenPermissions": [
      {
        "ScreenId": 1,
        "ModuleId": 1,
        "ScreenName": "sample string 1",
        "canRead": true,
        "canDelete": true,
        "canUpdate": true,
        "canCreate": true,
        "isDeleted": true,
        "hasCancel": true,
        "hasImport": true,
        "hasExport": true,
        "hasEmail": true,
        "hasReport": true,
        "hasPrint": true,
        "canCancel": true,
        "canImport": true,
        "canExport": true,
        "canEmail": true,
        "canReport": true,
        "canPrint": true,
        "hasRead": true,
        "hasUpdate": true,
        "hasCreate": true,
        "hasDelete": true
      },
      {
        "ScreenId": 1,
        "ModuleId": 1,
        "ScreenName": "sample string 1",
        "canRead": true,
        "canDelete": true,
        "canUpdate": true,
        "canCreate": true,
        "isDeleted": true,
        "hasCancel": true,
        "hasImport": true,
        "hasExport": true,
        "hasEmail": true,
        "hasReport": true,
        "hasPrint": true,
        "canCancel": true,
        "canImport": true,
        "canExport": true,
        "canEmail": true,
        "canReport": true,
        "canPrint": true,
        "hasRead": true,
        "hasUpdate": true,
        "hasCreate": true,
        "hasDelete": true
      }
    ],
    "RoleId": 1,
    "ModuleId": 1,
    "ModuleName": "sample string 1",
    "isDeleted": true
  },
  {
    "ScreenPermissions": [
      {
        "ScreenId": 1,
        "ModuleId": 1,
        "ScreenName": "sample string 1",
        "canRead": true,
        "canDelete": true,
        "canUpdate": true,
        "canCreate": true,
        "isDeleted": true,
        "hasCancel": true,
        "hasImport": true,
        "hasExport": true,
        "hasEmail": true,
        "hasReport": true,
        "hasPrint": true,
        "canCancel": true,
        "canImport": true,
        "canExport": true,
        "canEmail": true,
        "canReport": true,
        "canPrint": true,
        "hasRead": true,
        "hasUpdate": true,
        "hasCreate": true,
        "hasDelete": true
      },
      {
        "ScreenId": 1,
        "ModuleId": 1,
        "ScreenName": "sample string 1",
        "canRead": true,
        "canDelete": true,
        "canUpdate": true,
        "canCreate": true,
        "isDeleted": true,
        "hasCancel": true,
        "hasImport": true,
        "hasExport": true,
        "hasEmail": true,
        "hasReport": true,
        "hasPrint": true,
        "canCancel": true,
        "canImport": true,
        "canExport": true,
        "canEmail": true,
        "canReport": true,
        "canPrint": true,
        "hasRead": true,
        "hasUpdate": true,
        "hasCreate": true,
        "hasDelete": true
      }
    ],
    "RoleId": 1,
    "ModuleId": 1,
    "ModuleName": "sample string 1",
    "isDeleted": true
  }
]
        application/xml, text/xml
            Sample:
        
<ArrayOfRolePermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomViewModel.AdminVM">
  <RolePermissionModel>
    <ModuleId>1</ModuleId>
    <ModuleName>sample string 1</ModuleName>
    <RoleId>1</RoleId>
    <ScreenPermissions>
      <ScreenPermissionModel>
        <ModuleId>1</ModuleId>
        <ScreenId>1</ScreenId>
        <ScreenName>sample string 1</ScreenName>
        <canCancel>true</canCancel>
        <canCreate>true</canCreate>
        <canDelete>true</canDelete>
        <canEmail>true</canEmail>
        <canExport>true</canExport>
        <canImport>true</canImport>
        <canPrint>true</canPrint>
        <canRead>true</canRead>
        <canReport>true</canReport>
        <canUpdate>true</canUpdate>
        <hasCancel>true</hasCancel>
        <hasCreate>true</hasCreate>
        <hasDelete>true</hasDelete>
        <hasEmail>true</hasEmail>
        <hasExport>true</hasExport>
        <hasImport>true</hasImport>
        <hasPrint>true</hasPrint>
        <hasRead>true</hasRead>
        <hasReport>true</hasReport>
        <hasUpdate>true</hasUpdate>
        <isDeleted>true</isDeleted>
      </ScreenPermissionModel>
      <ScreenPermissionModel>
        <ModuleId>1</ModuleId>
        <ScreenId>1</ScreenId>
        <ScreenName>sample string 1</ScreenName>
        <canCancel>true</canCancel>
        <canCreate>true</canCreate>
        <canDelete>true</canDelete>
        <canEmail>true</canEmail>
        <canExport>true</canExport>
        <canImport>true</canImport>
        <canPrint>true</canPrint>
        <canRead>true</canRead>
        <canReport>true</canReport>
        <canUpdate>true</canUpdate>
        <hasCancel>true</hasCancel>
        <hasCreate>true</hasCreate>
        <hasDelete>true</hasDelete>
        <hasEmail>true</hasEmail>
        <hasExport>true</hasExport>
        <hasImport>true</hasImport>
        <hasPrint>true</hasPrint>
        <hasRead>true</hasRead>
        <hasReport>true</hasReport>
        <hasUpdate>true</hasUpdate>
        <isDeleted>true</isDeleted>
      </ScreenPermissionModel>
    </ScreenPermissions>
    <isDeleted>true</isDeleted>
  </RolePermissionModel>
  <RolePermissionModel>
    <ModuleId>1</ModuleId>
    <ModuleName>sample string 1</ModuleName>
    <RoleId>1</RoleId>
    <ScreenPermissions>
      <ScreenPermissionModel>
        <ModuleId>1</ModuleId>
        <ScreenId>1</ScreenId>
        <ScreenName>sample string 1</ScreenName>
        <canCancel>true</canCancel>
        <canCreate>true</canCreate>
        <canDelete>true</canDelete>
        <canEmail>true</canEmail>
        <canExport>true</canExport>
        <canImport>true</canImport>
        <canPrint>true</canPrint>
        <canRead>true</canRead>
        <canReport>true</canReport>
        <canUpdate>true</canUpdate>
        <hasCancel>true</hasCancel>
        <hasCreate>true</hasCreate>
        <hasDelete>true</hasDelete>
        <hasEmail>true</hasEmail>
        <hasExport>true</hasExport>
        <hasImport>true</hasImport>
        <hasPrint>true</hasPrint>
        <hasRead>true</hasRead>
        <hasReport>true</hasReport>
        <hasUpdate>true</hasUpdate>
        <isDeleted>true</isDeleted>
      </ScreenPermissionModel>
      <ScreenPermissionModel>
        <ModuleId>1</ModuleId>
        <ScreenId>1</ScreenId>
        <ScreenName>sample string 1</ScreenName>
        <canCancel>true</canCancel>
        <canCreate>true</canCreate>
        <canDelete>true</canDelete>
        <canEmail>true</canEmail>
        <canExport>true</canExport>
        <canImport>true</canImport>
        <canPrint>true</canPrint>
        <canRead>true</canRead>
        <canReport>true</canReport>
        <canUpdate>true</canUpdate>
        <hasCancel>true</hasCancel>
        <hasCreate>true</hasCreate>
        <hasDelete>true</hasDelete>
        <hasEmail>true</hasEmail>
        <hasExport>true</hasExport>
        <hasImport>true</hasImport>
        <hasPrint>true</hasPrint>
        <hasRead>true</hasRead>
        <hasReport>true</hasReport>
        <hasUpdate>true</hasUpdate>
        <isDeleted>true</isDeleted>
      </ScreenPermissionModel>
    </ScreenPermissions>
    <isDeleted>true</isDeleted>
  </RolePermissionModel>
</ArrayOfRolePermissionModel>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | 
                             None.  | 
                |
| Content | HttpContent | 
                             None.  | 
                |
| StatusCode | HttpStatusCode | 
                             None.  | 
                |
| ReasonPhrase | string | 
                             None.  | 
                |
| Headers | Collection of Object | 
                             None.  | 
                |
| RequestMessage | HttpRequestMessage | 
                             None.  | 
                |
| IsSuccessStatusCode | boolean | 
                             None.  |