POST api/Tags/UpdateTag

Update a Tag.

Request Information

URI Parameters

None.

Body Parameters

UpdateTagPost
NameDescriptionTypeAdditional information
Id

(Required) The tag id.

integer

None.

Name

Name of the tag.

string

None.

Static

If not set, it will be deleted after the last use is deleted.

boolean

None.

Color

The color of tag background.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "Sample tag",
  "Static": true,
  "Color": "#ffffff"
}

application/xml, text/xml

Sample:
<UpdateTagPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <Color>#ffffff</Color>
  <Id>1</Id>
  <Name>Sample tag</Name>
  <Static>true</Static>
</UpdateTagPost>

Response Information

Resource Description

IHttpActionResult

None.