Tigris Social Api

<back to all web services

CreateConnection

The following routes are available for this service:
POST/Users/{OwnerId}/ConnectionsCreate a New Connection.
Parameters:
NameParameterData TypeRequiredDescription
OwnerIdpathstringYesThe OwnerId field is a string GUID uniquely identifying the Tigris user that owns the connection.
ConnectToIdbodystringYesThe UserId field is a string GUID uniquely identifying the Tigris user the owner wishes to remain connected to
IsFavoritebodystringNoA boolean indicator marking this connection as a favorite.
ConnectToTypebodystringNoEnum to determine type of ConnectToId

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

OwnerId,ConnectToId,IsFavorite,ConnectToType
00000000000000000000000000000000,00000000000000000000000000000000,False,User

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

Id,OwnerId,UserId,UserDefaultVenueId,FirstName,LastName,IsFavorite
00000000000000000000000000000000,00000000000000000000000000000000,00000000000000000000000000000000,00000000000000000000000000000000,String,String,False