GET api/AccountApi/GetRolesByApplictionId?appId={appId}&version={version}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
appId

globally unique identifier

Required

version

TenantVersion

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfListOfRoleDTO
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

Collection of RoleDTO

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultType": 0,
  "message": "sample string 1",
  "LogMessage": "sample string 2",
  "Result": [
    {
      "$id": "2",
      "RoleId": "sample string 2",
      "ApplictionName": "sample string 3",
      "RoleName": "sample string 4",
      "DisplayName": "sample string 5",
      "Description": "sample string 6",
      "ApplicationId": "1988193d-29f2-4690-a085-1d002b49f397",
      "Application": {
        "$id": "3",
        "ApplicationId": "fcec002d-6a50-49d2-92e7-8dd43bab4026",
        "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-27T06:32:57.4926914+00:00",
        "ModifiedBy": "sample string 18",
        "ModifiedDate": "2021-11-27T06:32:57.4926914+00:00"
      },
      "checked": true,
      "IsSystemRole": true,
      "UserIds": [
        "sample string 1",
        "sample string 2"
      ],
      "MenuNodes": [
        {
          "$id": "4",
          "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": "b0bde7bc-158f-4316-8ff5-ab9e45b89586",
          "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": "4"
            },
            {
              "$ref": "4"
            }
          ],
          "checked": true,
          "IsDeleted": true,
          "CreatedBy": "sample string 21",
          "CreatedDate": "2021-11-27T06:32:57.4926914+00:00",
          "ModifiedBy": "sample string 23",
          "ModifiedDate": "2021-11-27T06:32:57.4926914+00:00"
        },
        {
          "$ref": "4"
        }
      ],
      "Permissions": [
        {
          "$id": "5",
          "Id": 1,
          "IsEditMode": true,
          "AreaName": "sample string 2",
          "ActionName": "sample string 3",
          "ControllerName": "sample string 4",
          "ResultType": 0,
          "Description": "sample string 5",
          "ApplicationId": "9e66befd-2ec5-4544-9dae-068864fda42b",
          "Application": {
            "$ref": "3"
          },
          "Index": 7,
          "ApplicationName": "sample string 8",
          "ParentName": "sample string 9",
          "CreditLimitTally": 1,
          "Version": 0,
          "Role": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ],
          "Name": "sample string 10",
          "id": 11,
          "text": "sample string 12",
          "ParentId": 1,
          "TreeCode": "sample string 13",
          "Leaf": true,
          "Level": 15,
          "children": [
            {
              "$ref": "5"
            },
            {
              "$ref": "5"
            }
          ],
          "checked": true,
          "IsDeleted": true,
          "CreatedBy": "sample string 18",
          "CreatedDate": "2021-11-27T06:32:57.4926914+00:00",
          "ModifiedBy": "sample string 20",
          "ModifiedDate": "2021-11-27T06:32:57.4926914+00:00"
        },
        {
          "$ref": "5"
        }
      ],
      "IsDeleted": true,
      "CreatedBy": "sample string 11",
      "CreatedDate": "2021-11-27T06:32:57.4926914+00:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2021-11-27T06:32:57.4926914+00:00"
    },
    {
      "$ref": "2"
    }
  ],
  "success": true
}