POST api/tag

Request Information

URI Parameters

None.

Body Parameters

TagInfo
NameDescriptionTypeAdditional information
EntityId

integer

None.

EntityTypeId

integer

None.

Name

string

None.

TagId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityId": 1,
  "EntityTypeId": 2,
  "Name": "sample string 3",
  "TagId": 4
}

application/xml, text/xml

Sample:
<TagInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mag.TourGate.TourGateWebClient.Models.Tags">
  <EntityId>1</EntityId>
  <EntityTypeId>2</EntityTypeId>
  <Name>sample string 3</Name>
  <TagId>4</TagId>
</TagInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TagInfo'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />