Tigris Social Api

<back to all web services

CreateSubscription

The following routes are available for this service:
POST/Users/{SubscriberId}/SubscriptionsCreate a Subcription to a Venue's Stream for a User.
Parameters:
NameParameterData TypeRequiredDescription
SubscriberIdpathstringYesThe SubscriberId field is a GUID uniquely identifying the subscribing Tigris user.
SubscribedToVenueIdbodystringYesThe SubscribedToId field is a GUID uniquely identifying the Venue being subscribed to.

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

HTTP + JSV

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

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

{
	SubscriberId: 00000000000000000000000000000000,
	SubscribedToVenueId: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	SubscriberId: 00000000000000000000000000000000,
	SubscribedToId: 00000000000000000000000000000000,
	SubscriberToDisplayName: String,
	SubscribedToExternalName: String
}