Tigris Social Api

<back to all web services

SearchPostsByTag

The following routes are available for this service:
GET/Posts/SearchByTagSearch for a list of Posts
Parameters:
NameParameterData TypeRequiredDescription
OffsetquerystringNoThe starting row to return. Default: 0
LimitquerystringNoThe number of rows to return. Default 50
TagNamesquerystringNoComma-separated list of Tag Names (string)
AuthorTypequerystringNoauthor type to check types of posts to be shown
ContextIdquerystringNoVenue Id for displaying the post

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/SearchPostsByTag HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: application/json
Content-Length: length

{"Offset":0,"Limit":0,"TagNames":"String","AuthorType":"String","ContextId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"Id":"00000000000000000000000000000000","IsPrivate":false,"AuthorId":"00000000000000000000000000000000","AuthorVenueId":"00000000000000000000000000000000","ContextId":"00000000000000000000000000000000","ContextOwnerDisplayName":"String","ContextOwnerTagLine":"String","ContextOwnerType":"String","AuthorType":"String","AuthorDisplayName":"String","AuthorTagline":"String","Content":"String","MessageType":0,"Recipients":[{"Id":"00000000000000000000000000000000","ParticipantType":"String","DisplayName":"String","TagLine":"String","DefaultVenueId":"00000000000000000000000000000000"}],"Comments":[{"Id":"00000000000000000000000000000000","PostId":"00000000000000000000000000000000","ContextId":"00000000000000000000000000000000","AuthorId":"00000000000000000000000000000000","AuthorType":"String","AuthorDisplayName":"String","AuthorTagline":"String","AuthorVenueId":"00000000000000000000000000000000","Content":"String","CreatedTime":"\/Date(-62135596800000-0000)\/","UpdatedTime":"\/Date(-62135596800000-0000)\/","ContentCreatedTime":"\/Date(-62135596800000-0000)\/"}],"Activities":[{"Id":"00000000000000000000000000000000","PostId":"00000000000000000000000000000000","Message":"String","CreatedTime":"\/Date(-62135596800000-0000)\/"}],"Tags":[{"Id":"00000000000000000000000000000000","PostId":"00000000000000000000000000000000","TagType":0,"Value":"String","CreatedTime":"\/Date(-62135596800000-0000)\/","UpdatedTime":"\/Date(-62135596800000-0000)\/"}],"ExpirationDate":"\/Date(-62135596800000-0000)\/","CreatedTime":"\/Date(-62135596800000-0000)\/","UpdatedTime":"\/Date(-62135596800000-0000)\/","ContentCreatedTime":"\/Date(-62135596800000-0000)\/","ContentUpdatedTime":"\/Date(-62135596800000-0000)\/","Url":"String","PostTags":[{"Id":"00000000000000000000000000000000","TagTypeId":0,"Name":"String","Description":"String"}],"ContentKey":"String","ContentParameters":"String"}]