POST api/sysUser/login

Request Information

URI Parameters

None.

Body Parameters

ModelUserMobile
NameDescriptionTypeAdditional information
UserName

string

Required

String length: inclusive between 1 and 50

PassWord

string

Required

String length: inclusive between 1 and 50

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "PassWord": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonFormatWithTokenOfApplicationUser
NameDescriptionTypeAdditional information
Token

string

None.

RefreshToken

string

None.

Error

boolean

None.

Message

string

None.

Data

ApplicationUser

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "RefreshToken": "sample string 2",
  "Error": true,
  "Message": "sample string 4",
  "Data": {
    "UserName": "sample string 1",
    "FullName": "sample string 2",
    "Gender": "sample string 3",
    "CompanyId": "sample string 4",
    "BelongType": 5,
    "ProId": "sample string 6",
    "BirthDate": "2024-09-20",
    "RoleName": [
      "sample string 1",
      "sample string 2"
    ],
    "RoleIDs": [
      "sample string 1",
      "sample string 2"
    ],
    "LastLoginTime": "2024-09-20 09:29:50",
    "DeptName": "sample string 8",
    "ProIds": [
      "sample string 1",
      "sample string 2"
    ],
    "CellPhone": "sample string 9",
    "Email": "sample string 10",
    "SysRights": {
      "AllowAdd": true,
      "AllowUpdate": true,
      "AllowDelete": true,
      "AllowImport": true,
      "AllowExport": true,
      "AllowDownload": true,
      "AllowApproval": true,
      "AllowRunat": true
    },
    "ShieldCustomPointSetList": [
      {
        "Id": 1,
        "User_Name": "sample string 2",
        "Line_Id": 3.0,
        "Tbm_Id": 4.0,
        "PageType": 5,
        "Title": "sample string 6",
        "TagGroups": "sample string 7",
        "TagGroupNames": "sample string 8",
        "TopLimit": 1.0,
        "LowerLimit": 1.0
      },
      {
        "Id": 1,
        "User_Name": "sample string 2",
        "Line_Id": 3.0,
        "Tbm_Id": 4.0,
        "PageType": 5,
        "Title": "sample string 6",
        "TagGroups": "sample string 7",
        "TagGroupNames": "sample string 8",
        "TopLimit": 1.0,
        "LowerLimit": 1.0
      }
    ],
    "access": "sample string 11",
    "reflesh": "sample string 12"
  }
}