GET api/AccountApi/GetPermissionWithRolesByAppIDAndName?tenantName={tenantName}&appId={appId}&controllerName={controllerName}&actionName={actionName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantName

string

Required

appId

globally unique identifier

Required

controllerName

string

Required

actionName

string

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfPermissionDTO
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

PermissionDTO

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultType": 0,
  "message": "sample string 1",
  "LogMessage": "sample string 2",
  "Result": {
    "$id": "2",
    "Id": 1,
    "IsEditMode": true,
    "AreaName": "sample string 2",
    "ActionName": "sample string 3",
    "ControllerName": "sample string 4",
    "ResultType": 0,
    "Description": "sample string 5",
    "ApplicationId": "1896af4b-982b-47dd-b7a9-955168c70898",
    "Application": {
      "$id": "3",
      "ApplicationId": "14d777ef-a3c3-4409-83cb-10d55c62ff6d",
      "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-25T10:16:44.5649239+00:00",
      "ModifiedBy": "sample string 18",
      "ModifiedDate": "2021-11-25T10:16:44.5649239+00:00"
    },
    "Index": 7,
    "ApplicationName": "sample string 8",
    "ParentName": "sample string 9",
    "CreditLimitTally": 1,
    "Version": 0,
    "Role": [
      {
        "$id": "4",
        "RoleId": "sample string 2",
        "ApplictionName": "sample string 3",
        "RoleName": "sample string 4",
        "DisplayName": "sample string 5",
        "Description": "sample string 6",
        "ApplicationId": "0c98c5df-f800-4da6-80ec-26dcb9d155b1",
        "Application": {
          "$ref": "3"
        },
        "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": "d36113d2-9eb5-4a0e-b155-64d821204ba8",
            "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-25T10:16:44.5649239+00:00",
            "ModifiedBy": "sample string 23",
            "ModifiedDate": "2021-11-25T10:16:44.5649239+00:00"
          },
          {
            "$ref": "5"
          }
        ],
        "Permissions": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "IsDeleted": true,
        "CreatedBy": "sample string 11",
        "CreatedDate": "2021-11-25T10:16:44.5649239+00:00",
        "ModifiedBy": "sample string 13",
        "ModifiedDate": "2021-11-25T10:16:44.5649239+00:00"
      },
      {
        "$ref": "4"
      }
    ],
    "Name": "sample string 10",
    "id": 11,
    "text": "sample string 12",
    "ParentId": 1,
    "TreeCode": "sample string 13",
    "Leaf": true,
    "Level": 15,
    "children": [
      {
        "$ref": "2"
      },
      {
        "$ref": "2"
      }
    ],
    "checked": true,
    "IsDeleted": true,
    "CreatedBy": "sample string 18",
    "CreatedDate": "2021-11-25T10:16:44.5649239+00:00",
    "ModifiedBy": "sample string 20",
    "ModifiedDate": "2021-11-25T10:16:44.5649239+00:00"
  },
  "success": true
}