POST Api/User/CheckLogin

Request Information

URI Parameters

None.

Body Parameters

UserDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CustomerId

globally unique identifier

None.

UserType

integer

None.

UserName

string

None.

Password

string

None.

RealName

string

None.

PhoneNum

string

None.

Openid

string

None.

RegistTime

date

None.

RegistTimeToString

string

None.

LastLoginTime

date

None.

LastLoginTimeToString

string

None.

LoginTimes

integer

None.

IsDeleted

boolean

None.

EMP

integer

None.

Token

string

None.

IsGetToken

boolean

None.

CustomerName

string

None.

RoleId

globally unique identifier

None.

UserTypeName

string

None.

CustomerIdList

Collection of globally unique identifier

None.

IsAdmin

boolean

None.

StationId

globally unique identifier

None.

DeviceManufacturer

integer

None.

StationType

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "fede61f7-e6b5-4750-ad6c-d7a4d1f4ce21",
  "CustomerId": "7e86c493-1de0-4a26-8b5f-ec792239a846",
  "UserType": 1,
  "UserName": "sample string 2",
  "Password": "sample string 3",
  "RealName": "sample string 4",
  "PhoneNum": "sample string 5",
  "Openid": "sample string 6",
  "RegistTime": "2026-03-02T19:49:51.4986586+08:00",
  "RegistTimeToString": "2026-03-02 19:49:51",
  "LastLoginTime": "2026-03-02T19:49:51.4986586+08:00",
  "LastLoginTimeToString": "2026-03-02 19:49:51",
  "LoginTimes": 1,
  "IsDeleted": true,
  "EMP": 1,
  "Token": "sample string 7",
  "IsGetToken": true,
  "CustomerName": "sample string 9",
  "RoleId": "4bdde6f1-251f-4ec8-9763-83d8c2a70268",
  "UserTypeName": "超级管理员",
  "CustomerIdList": [
    "8c1729d4-4352-40f4-833f-052361ffe32e",
    "672b3596-0132-40c3-a8db-8c7101166dd6"
  ],
  "IsAdmin": true,
  "StationId": "e0b2e4ea-b386-422a-9385-52d43bd56eb2",
  "DeviceManufacturer": 1,
  "StationType": 1,
  "PageIndex": 11,
  "PageSize": 12,
  "Total": 13
}

application/xml, text/xml

Sample:
<UserDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZShOil.Model">
  <_x003C_PageIndex_x003E_k__BackingField>11</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>12</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_Total_x003E_k__BackingField>13</_x003C_Total_x003E_k__BackingField>
  <CustomerId>7e86c493-1de0-4a26-8b5f-ec792239a846</CustomerId>
  <CustomerIdList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:guid>8c1729d4-4352-40f4-833f-052361ffe32e</d2p1:guid>
    <d2p1:guid>672b3596-0132-40c3-a8db-8c7101166dd6</d2p1:guid>
  </CustomerIdList>
  <CustomerName>sample string 9</CustomerName>
  <DeviceManufacturer>1</DeviceManufacturer>
  <EMP>1</EMP>
  <Id>fede61f7-e6b5-4750-ad6c-d7a4d1f4ce21</Id>
  <IsDeleted>true</IsDeleted>
  <IsGetToken>true</IsGetToken>
  <LastLoginTime>2026-03-02T19:49:51.4986586+08:00</LastLoginTime>
  <LoginTimes>1</LoginTimes>
  <Openid>sample string 6</Openid>
  <Password>sample string 3</Password>
  <PhoneNum>sample string 5</PhoneNum>
  <RealName>sample string 4</RealName>
  <RegistTime>2026-03-02T19:49:51.4986586+08:00</RegistTime>
  <RoleId>4bdde6f1-251f-4ec8-9763-83d8c2a70268</RoleId>
  <StationId>e0b2e4ea-b386-422a-9385-52d43bd56eb2</StationId>
  <StationType>1</StationType>
  <Token>sample string 7</Token>
  <UserName>sample string 2</UserName>
  <UserType>1</UserType>
</UserDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.