POST api/AccountApi/GetSimpleUserWithOrgAndRoleNameByUserId

Request Information

URI Parameters

None.

Body Parameters

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfUserSimpleDTO
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

UserSimpleDTO

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultType": 0,
  "message": "sample string 1",
  "LogMessage": "sample string 2",
  "Result": {
    "$id": "2",
    "PositionLevel": 0,
    "PositionLevelName": "sample string 1",
    "UserId": "sample string 2",
    "UserName": "sample string 3",
    "MemberId": "sample string 4",
    "DisplayName": "sample string 5",
    "Email": "sample string 6",
    "PhoneNumber": "sample string 7",
    "AccessFailedCount": 8,
    "CreateDate": "2021-11-25T04:41:42.3908981+00:00",
    "ContactQQ": "sample string 10",
    "Telephone": "sample string 11",
    "OpenId": "sample string 12",
    "UserCode": "sample string 13",
    "LoginCount": 14,
    "Status": 0,
    "id": "sample string 15",
    "TenantName": "sample string 16",
    "Stat": 17,
    "Organizations": [
      {
        "$id": "3",
        "Id": 1,
        "ReferenceId": "sample string 1",
        "Index": 2,
        "ParentName": "sample string 3",
        "Status": 4,
        "OrganizationType": 0,
        "OrganizationDisplay": 1,
        "Users": [
          {
            "$id": "4",
            "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:42.3908981+00:00",
            "EmailConfirmedDate": "2021-11-25T04:41:42.3908981+00:00",
            "PhoneNumber": "sample string 9",
            "PhoneNumberConfirmed": true,
            "Password": "sample string 11",
            "LockoutEnabled": true,
            "LockoutEndDateUtc": "2021-11-25T04:41:42.3908981+00:00",
            "SecurityStamp": "sample string 13",
            "TwoFactorEnabled": true,
            "AccessFailedCount": 15,
            "CreateDate": "2021-11-25T04:41:42.3908981+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": "3"
              },
              {
                "$ref": "3"
              }
            ],
            "RoleIds": [
              "sample string 1",
              "sample string 2"
            ],
            "UserCode": "sample string 23",
            "LoginCount": 24,
            "Status": 0,
            "UserTracingLogs": [
              {
                "$id": "5",
                "ProcessLogId": 1,
                "Type": 0,
                "OperatorId": "sample string 2",
                "Operator": "sample string 3",
                "OperateDate": "2021-11-25T04:41:42.3908981+00:00",
                "Remark": "sample string 5"
              },
              {
                "$ref": "5"
              }
            ],
            "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": "4"
          }
        ],
        "Name": null,
        "id": 8,
        "text": "sample string 9",
        "ParentId": 1,
        "TreeCode": "sample string 10",
        "Leaf": true,
        "Level": 12,
        "children": [
          {
            "$ref": "3"
          },
          {
            "$ref": "3"
          }
        ],
        "checked": true,
        "IsDeleted": true,
        "CreatedBy": "sample string 15",
        "CreatedDate": "2021-11-25T04:41:42.3908981+00:00",
        "ModifiedBy": "sample string 17",
        "ModifiedDate": "2021-11-25T04:41:42.3908981+00:00"
      },
      {
        "$ref": "3"
      }
    ],
    "UserRoleIds": [
      "sample string 1",
      "sample string 2"
    ],
    "UserRoleNames": [
      "sample string 1",
      "sample string 2"
    ],
    "CscUserNbr": "sample string 18"
  },
  "success": true
}