POST Api/User/GetOne
Request Information
URI Parameters
None.
Body Parameters
UserDto| Name | Description | Type | Additional 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": "4a7c68a8-2e4b-48fb-aabe-9f11b03e4406",
"CustomerId": "6180e62b-3fe1-42af-944a-63d9d2a9a798",
"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:51:09.3524556+08:00",
"RegistTimeToString": "2026-03-02 19:51:09",
"LastLoginTime": "2026-03-02T19:51:09.3524556+08:00",
"LastLoginTimeToString": "2026-03-02 19:51:09",
"LoginTimes": 1,
"IsDeleted": true,
"EMP": 1,
"Token": "sample string 7",
"IsGetToken": true,
"CustomerName": "sample string 9",
"RoleId": "3b658714-07e4-4d3d-b825-3a941f4cb175",
"UserTypeName": "超级管理员",
"CustomerIdList": [
"119a1ec6-0d8e-47d6-a9e5-72de95663aba",
"21cffc14-c444-4703-8295-407721875200"
],
"IsAdmin": true,
"StationId": "cfccb763-c4cb-4d54-9318-bad50a97ff6d",
"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>6180e62b-3fe1-42af-944a-63d9d2a9a798</CustomerId>
<CustomerIdList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:guid>119a1ec6-0d8e-47d6-a9e5-72de95663aba</d2p1:guid>
<d2p1:guid>21cffc14-c444-4703-8295-407721875200</d2p1:guid>
</CustomerIdList>
<CustomerName>sample string 9</CustomerName>
<DeviceManufacturer>1</DeviceManufacturer>
<EMP>1</EMP>
<Id>4a7c68a8-2e4b-48fb-aabe-9f11b03e4406</Id>
<IsDeleted>true</IsDeleted>
<IsGetToken>true</IsGetToken>
<LastLoginTime>2026-03-02T19:51:09.3524556+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:51:09.3524556+08:00</RegistTime>
<RoleId>3b658714-07e4-4d3d-b825-3a941f4cb175</RoleId>
<StationId>cfccb763-c4cb-4d54-9318-bad50a97ff6d</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.