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": "0e411e78-8fc6-4ea1-81ae-34832c932755",
      "Application": {
        "$id": "3",
        "ApplicationId": "97be1b22-cfe6-4a77-9a37-1f1a97a05efb",
        "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:13:14.2151304+00:00",
        "ModifiedBy": "sample string 18",
        "ModifiedDate": "2021-11-27T05:13:14.2151304+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": "66ab9576-7994-4952-ab6f-3ebe108409c7",
          "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-27T05:13:14.2151304+00:00",
          "ModifiedBy": "sample string 23",
          "ModifiedDate": "2021-11-27T05:13:14.2151304+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": "be1cea5e-e07a-45ff-9053-96110fc1ab80",
          "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-27T05:13:14.2151304+00:00",
          "ModifiedBy": "sample string 20",
          "ModifiedDate": "2021-11-27T05:13:14.2151304+00:00"
        },
        {
          "$ref": "5"
        }
      ],
      "IsDeleted": true,
      "CreatedBy": "sample string 11",
      "CreatedDate": "2021-11-27T05:13:14.2151304+00:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2021-11-27T05:13:14.2151304+00:00"
    },
    {
      "$ref": "2"
    }
  ],
  "success": true
}