POST api/AccountApi/GetOrgsWithUsersByRoleIdsAndOrgids

Request Information

URI Parameters

None.

Body Parameters

RootOrgWithUsersSearchDTO
NameDescriptionTypeAdditional information
RoleIds

Collection of string

None.

DepIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RoleIds": [
    "sample string 1",
    "sample string 2"
  ],
  "DepIds": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfListOfOrganizationDTO
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

Collection of OrganizationDTO

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,
      "ReferenceId": "sample string 1",
      "Index": 2,
      "ParentName": "sample string 3",
      "Status": 4,
      "OrganizationType": 0,
      "OrganizationDisplay": 1,
      "Users": [
        {
          "$id": "3",
          "PositionLevel": 0,
          "PositionLevelName": "sample string 2",
          "UserId": "sample string 3",
          "UserName": "sample string 4",
          "MemberId": "sample string 5",
          "DisplayName": "sample string 6",
          "Email": "sample string 7",
          "EmailConfirmed": true,
          "EmailConfirmedExpired": "2021-11-25T04:41:43.124917+00:00",
          "EmailConfirmedDate": "2021-11-25T04:41:43.124917+00:00",
          "PhoneNumber": "sample string 9",
          "PhoneNumberConfirmed": true,
          "Password": "sample string 11",
          "LockoutEnabled": true,
          "LockoutEndDateUtc": "2021-11-25T04:41:43.124917+00:00",
          "SecurityStamp": "sample string 13",
          "TwoFactorEnabled": true,
          "AccessFailedCount": 15,
          "CreateDate": "2021-11-25T04:41:43.124917+00:00",
          "ContactQQ": "sample string 17",
          "Telephone": "sample string 18",
          "IsDefaultMobile": true,
          "OpenId": "sample string 20",
          "OrganizationIds": [
            1,
            2
          ],
          "OrganizationName": "sample string 21",
          "IsSystemAdmin": true,
          "Organizations": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ],
          "RoleIds": [
            "sample string 1",
            "sample string 2"
          ],
          "UserCode": "sample string 23",
          "LoginCount": 24,
          "Status": 0,
          "UserTracingLogs": [
            {
              "$id": "4",
              "ProcessLogId": 1,
              "Type": 0,
              "OperatorId": "sample string 2",
              "Operator": "sample string 3",
              "OperateDate": "2021-11-25T04:41:43.124917+00:00",
              "Remark": "sample string 5"
            },
            {
              "$ref": "4"
            }
          ],
          "RoleNames": [
            "sample string 1",
            "sample string 2"
          ],
          "id": "sample string 25",
          "TenantName": "sample string 26",
          "Stat": 27,
          "TenantNickName": "sample string 28",
          "InternalOpenId": "sample string 29",
          "CscUserNbr": "sample string 30",
          "tenantSubUserId": "sample string 31"
        },
        {
          "$ref": "3"
        }
      ],
      "Name": null,
      "id": 8,
      "text": "sample string 9",
      "ParentId": 1,
      "TreeCode": "sample string 10",
      "Leaf": true,
      "Level": 12,
      "children": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ],
      "checked": true,
      "IsDeleted": true,
      "CreatedBy": "sample string 15",
      "CreatedDate": "2021-11-25T04:41:43.124917+00:00",
      "ModifiedBy": "sample string 17",
      "ModifiedDate": "2021-11-25T04:41:43.124917+00:00"
    },
    {
      "$ref": "2"
    }
  ],
  "success": true
}