GET api/AccountApi/GetPagenatedRolesByName?name={name}&appId={appId}&pageIndex={pageIndex}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

string

Required

appId

string

Required

pageIndex

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfPaginatedBaseDTOOfRoleDTO
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

PaginatedBaseDTOOfRoleDTO

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultType": 0,
  "message": "sample string 1",
  "LogMessage": "sample string 2",
  "Result": {
    "$id": "2",
    "pageIndex": 1,
    "pageSize": 2,
    "total": 3,
    "rows": [
      {
        "$id": "3",
        "RoleId": "sample string 2",
        "ApplictionName": "sample string 3",
        "RoleName": "sample string 4",
        "DisplayName": "sample string 5",
        "Description": "sample string 6",
        "ApplicationId": "b39c08f2-6cc9-4ebc-89f2-605357448c63",
        "Application": {
          "$id": "4",
          "ApplicationId": "1a91965f-741e-499d-82d7-50eb9dd5faed",
          "ApplicationName": "sample string 2",
          "LoweredApplicationName": "sample string 3",
          "DomainName": "sample string 4",
          "Description": "sample string 5",
          "SmallIcon": "sample string 7",
          "IconCls": "sample string 7",
          "BigIcon": "sample string 9",
          "BigIconUrl": "sample string 9",
          "WebSiteName": "sample string 11",
          "IsEnabledWorkFlow": true,
          "IsEnabledWorkFlowString": "sample string 13",
          "Version": 0,
          "IsDeleted": true,
          "CreatedBy": "sample string 16",
          "CreatedDate": "2021-11-27T05:08:24.4110829+00:00",
          "ModifiedBy": "sample string 18",
          "ModifiedDate": "2021-11-27T05:08:24.4110829+00:00"
        },
        "checked": true,
        "IsSystemRole": true,
        "UserIds": [
          "sample string 1",
          "sample string 2"
        ],
        "MenuNodes": [
          {
            "$id": "5",
            "Id": 1,
            "ActionName": "sample string 1",
            "ControllerName": "sample string 2",
            "SmallIcon": "sample string 3",
            "BigIcon": "sample string 4",
            "URL": "sample string 5",
            "IsExtPage": true,
            "Description": "sample string 7",
            "Index": 8,
            "ApplicationId": "c598514c-1a24-40a2-b69a-3185bd99823e",
            "ApplicationName": "sample string 10",
            "ParentName": "sample string 11",
            "CreditLimitTally": 1,
            "Version": 0,
            "CscKey": "sample string 12",
            "Name": "sample string 13",
            "id": 14,
            "text": "sample string 15",
            "ParentId": 1,
            "TreeCode": "sample string 16",
            "Leaf": true,
            "Level": 18,
            "children": [
              {
                "$ref": "5"
              },
              {
                "$ref": "5"
              }
            ],
            "checked": true,
            "IsDeleted": true,
            "CreatedBy": "sample string 21",
            "CreatedDate": "2021-11-27T05:08:24.4110829+00:00",
            "ModifiedBy": "sample string 23",
            "ModifiedDate": "2021-11-27T05:08:24.4110829+00:00"
          },
          {
            "$ref": "5"
          }
        ],
        "Permissions": [
          {
            "$id": "6",
            "Id": 1,
            "IsEditMode": true,
            "AreaName": "sample string 2",
            "ActionName": "sample string 3",
            "ControllerName": "sample string 4",
            "ResultType": 0,
            "Description": "sample string 5",
            "ApplicationId": "5751deb9-5354-4e4a-aa5c-9fbb75bb049e",
            "Application": {
              "$ref": "4"
            },
            "Index": 7,
            "ApplicationName": "sample string 8",
            "ParentName": "sample string 9",
            "CreditLimitTally": 1,
            "Version": 0,
            "Role": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ],
            "Name": "sample string 10",
            "id": 11,
            "text": "sample string 12",
            "ParentId": 1,
            "TreeCode": "sample string 13",
            "Leaf": true,
            "Level": 15,
            "children": [
              {
                "$ref": "6"
              },
              {
                "$ref": "6"
              }
            ],
            "checked": true,
            "IsDeleted": true,
            "CreatedBy": "sample string 18",
            "CreatedDate": "2021-11-27T05:08:24.4110829+00:00",
            "ModifiedBy": "sample string 20",
            "ModifiedDate": "2021-11-27T05:08:24.4110829+00:00"
          },
          {
            "$ref": "6"
          }
        ],
        "IsDeleted": true,
        "CreatedBy": "sample string 11",
        "CreatedDate": "2021-11-27T05:08:24.4110829+00:00",
        "ModifiedBy": "sample string 13",
        "ModifiedDate": "2021-11-27T05:08:24.4110829+00:00"
      },
      {
        "$ref": "3"
      }
    ],
    "sum": 1.0,
    "records": 1
  },
  "success": true
}