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

{
	OwnerId: 00000000000000000000000000000000,
	ConnectToId: 00000000000000000000000000000000,
	IsFavorite: False,
	ConnectToType: User
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		Id: 00000000000000000000000000000000,
		OwnerId: 00000000000000000000000000000000,
		UserId: 00000000000000000000000000000000,
		UserDefaultVenueId: 00000000000000000000000000000000,
		FirstName: String,
		LastName: String,
		IsFavorite: False
	}
]