POST api/AccountApi/GetRolesWithUsersByNames

Request Information

URI Parameters

None.

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/x-www-form-urlencoded

Sample:

Sample not available.

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": "046193b7-8c4c-4537-a71f-778ea0176629",
      "Application": {
        "$id": "3",
        "ApplicationId": "4f56b829-a552-4018-a510-d9c71759ca74",
        "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-12-30T07:26:21.3943605+00:00",
        "ModifiedBy": "sample string 18",
        "ModifiedDate": "2021-12-30T07:26:21.3943605+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": "7851e6dc-b69b-4c48-9df9-5b0777ea0d43",
          "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-12-30T07:26:21.3943605+00:00",
          "ModifiedBy": "sample string 23",
          "ModifiedDate": "2021-12-30T07:26:21.3943605+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": "d6a02e01-629c-440a-a819-ac1cd2709b20",
          "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-12-30T07:26:21.3943605+00:00",
          "ModifiedBy": "sample string 20",
          "ModifiedDate": "2021-12-30T07:26:21.3943605+00:00"
        },
        {
          "$ref": "5"
        }
      ],
      "IsDeleted": true,
      "CreatedBy": "sample string 11",
      "CreatedDate": "2021-12-30T07:26:21.3943605+00:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2021-12-30T07:26:21.3943605+00:00"
    },
    {
      "$ref": "2"
    }
  ],
  "success": true
}