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 .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/CreateSubscription HTTP/1.1 
Host: api.tigris.mymitchell.com 
Content-Type: text/csv
Content-Length: length

SubscriberId,SubscribedToVenueId
00000000000000000000000000000000,00000000000000000000000000000000

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

SubscriberId,SubscribedToId,SubscriberToDisplayName,SubscribedToExternalName
00000000000000000000000000000000,00000000000000000000000000000000,String,String