POST user/save
Request Information
URI Parameters
None.
Body Parameters
SysUser| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Username | string |
None. |
|
| Nickname | string |
None. |
|
| CreatedDate | date |
None. |
|
| LastLoginDate | date |
None. |
|
| TypeId | integer |
None. |
|
| FaceUrl | string |
None. |
|
| Lat | decimal number |
None. |
|
| Lng | decimal number |
None. |
|
| LocationName | string |
None. |
|
| Pswd | string |
None. |
|
| Code | string |
None. |
|
| Title | string |
None. |
|
| Intro | string |
None. |
|
| Birthdate | date |
None. |
|
| SexId | integer |
None. |
|
| AreaCode | string |
None. |
|
| AreaName | string |
None. |
|
| IsCertified | boolean |
None. |
|
| StatusId | integer |
None. |
|
| SysAreaId | integer |
None. |
|
| LikedCount | integer |
None. |
|
| DeviceTypeId | integer |
None. |
|
| AliasName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Username": "sample string 2",
"Nickname": "sample string 3",
"CreatedDate": "2025-10-26T00:03:38.3824269+08:00",
"LastLoginDate": "2025-10-26T00:03:38.3824269+08:00",
"TypeId": 6,
"FaceUrl": "sample string 7",
"Lat": 8.0,
"Lng": 9.0,
"LocationName": "sample string 10",
"Pswd": "sample string 11",
"Code": "sample string 12",
"Title": "sample string 13",
"Intro": "sample string 14",
"Birthdate": "2025-10-26T00:03:38.3835271+08:00",
"SexId": 16,
"AreaCode": "sample string 17",
"AreaName": "sample string 18",
"IsCertified": true,
"StatusId": 20,
"SysAreaId": 21,
"LikedCount": 22,
"DeviceTypeId": 23,
"AliasName": "sample string 24"
}
application/xml, text/xml
Sample:
<SysUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YHT.Core"> <AliasName>sample string 24</AliasName> <AreaCode>sample string 17</AreaCode> <AreaName>sample string 18</AreaName> <Birthdate>2025-10-26T00:03:38.3835271+08:00</Birthdate> <Code>sample string 12</Code> <CreatedDate>2025-10-26T00:03:38.3824269+08:00</CreatedDate> <DeviceTypeId>23</DeviceTypeId> <FaceUrl>sample string 7</FaceUrl> <Id>1</Id> <Intro>sample string 14</Intro> <IsCertified>true</IsCertified> <LastLoginDate>2025-10-26T00:03:38.3824269+08:00</LastLoginDate> <Lat>8</Lat> <LikedCount>22</LikedCount> <Lng>9</Lng> <LocationName>sample string 10</LocationName> <Nickname>sample string 3</Nickname> <Pswd>sample string 11</Pswd> <SexId>16</SexId> <StatusId>20</StatusId> <SysAreaId>21</SysAreaId> <Title>sample string 13</Title> <TypeId>6</TypeId> <Username>sample string 2</Username> </SysUser>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RtBase| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<RtBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseWebApi.Model"> <code>1</code> <msg>sample string 2</msg> </RtBase>