PUT api/Tags/update/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
TagUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
String length: inclusive between 0 and 30 |
|
| Description | string |
None. |
|
| Category | string |
None. |
|
| Color | string |
None. |
|
| IsActive | boolean |
None. |
|
| SortOrder | integer |
None. |
|
| UpdatedAt | date |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2",
"Category": "sample string 3",
"Color": "sample string 4",
"IsActive": true,
"SortOrder": 6,
"UpdatedAt": "2025-12-06T13:01:52.1132587+08:00",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<TagUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MoodTrackerApi.Models"> <Category>sample string 3</Category> <Color>sample string 4</Color> <Description>sample string 2</Description> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <SortOrder>6</SortOrder> <UpdatedAt>2025-12-06T13:01:52.1132587+08:00</UpdatedAt> </TagUpdateDto>
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.