PUT api/Values/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UserInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| Birthday | date |
None. |
|
| Address | string |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"Phone": "sample string 4",
"Birthday": "2025-12-10T03:05:26.0339547+07:00",
"Address": "sample string 5",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BACDemo.Models"> <Address>sample string 5</Address> <Birthday>2025-12-10T03:05:26.0339547+07:00</Birthday> <Email>sample string 3</Email> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 2</Name> <Phone>sample string 4</Phone> </UserInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| Birthday | date |
None. |
|
| Address | string |
None. |
|
| IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"Phone": "sample string 4",
"Birthday": "2025-12-10T03:05:26.0339547+07:00",
"Address": "sample string 5",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BACDemo.Models"> <Address>sample string 5</Address> <Birthday>2025-12-10T03:05:26.0339547+07:00</Birthday> <Email>sample string 3</Email> <ID>1</ID> <IsDeleted>true</IsDeleted> <Name>sample string 2</Name> <Phone>sample string 4</Phone> </UserInfo>