Tigris Social Api

<back to all web services

CreateTag

The following routes are available for this service:
POST/Posts/{PostId}/TagsCreates a Tag to a Post.
POST/TagsCreates a Tag to a Post.
Parameters:
NameParameterData TypeRequiredDescription
PostIdpathstringYesThe PostId field is a string GUID uniquely identifying the post that the Tag is associated with.
TagTypebodystringYesThe TagType field is an integer indicating the type of tag to be created (1 = System Tag, 2 = User Tag).
ValuebodystringYesThe Value field is the tag value.

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/CreateTag HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: text/csv
Content-Length: length

PostId,TagType,Value
00000000000000000000000000000000,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Id,PostId,TagType,Value,CreatedTime,UpdatedTime
00000000000000000000000000000000,00000000000000000000000000000000,0,String,0001-01-01,0001-01-01