POST api/user/update
Request Information
URI Parameters
None.
Body Parameters
UserModelDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| No | integer |
None. |
|
| Age | integer |
None. |
|
| Address | string |
None. |
|
| LoginName | string |
None. |
|
| Password | string |
None. |
|
| CreateDate | date |
None. |
|
| Iphone | string |
None. |
|
| Id | integer |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"no": 2,
"age": 3,
"address": "sample string 4",
"loginName": "sample string 5",
"password": "sample string 6",
"createDate": "2025-10-27 18:31:40",
"iphone": "sample string 8",
"id": "9",
"pageIndex": 10,
"pageSize": 11
}
application/xml, text/xml
Sample:
<UserModelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models.Dto.User"> <Id xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">9</Id> <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">10</PageIndex> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">11</PageSize> <Address>sample string 4</Address> <Age>3</Age> <CreateDate>2025-10-27T18:31:40.7590945+08:00</CreateDate> <Iphone>sample string 8</Iphone> <LoginName>sample string 5</LoginName> <Name>sample string 1</Name> <No>2</No> <Password>sample string 6</Password> </UserModelDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfUserModelDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Success | boolean |
None. |
|
| Data | UserModelDto |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"success": true,
"data": {
"name": "sample string 1",
"no": 2,
"age": 3,
"address": "sample string 4",
"loginName": "sample string 5",
"password": "sample string 6",
"createDate": "2025-10-27 18:31:40",
"iphone": "sample string 8",
"id": "9",
"pageIndex": 10,
"pageSize": 11
},
"message": "sample string 3"
}
application/xml, text/xml
Sample:
<ReturnResultOfUserModelDtofKi9ODaC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models.Dto.User">
<Id xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">9</Id>
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">10</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">11</PageSize>
<d2p1:Address>sample string 4</d2p1:Address>
<d2p1:Age>3</d2p1:Age>
<d2p1:CreateDate>2025-10-27T18:31:40.7903335+08:00</d2p1:CreateDate>
<d2p1:Iphone>sample string 8</d2p1:Iphone>
<d2p1:LoginName>sample string 5</d2p1:LoginName>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:No>2</d2p1:No>
<d2p1:Password>sample string 6</d2p1:Password>
</Data>
<Message>sample string 3</Message>
<Status>1</Status>
<Success>true</Success>
</ReturnResultOfUserModelDtofKi9ODaC>