Tigris Social Api

<back to all web services

CreateNetwork

The following routes are available for this service:
POST/NetworksCreate a new Network.
Parameters:
NameParameterData TypeRequiredDescription
NamebodystringYesThe name of the Network.
DescriptionbodystringNoThe description of the Network.
OwnerIdbodystringYesThe OwnerId field is a GUID uniquely identifying the owning Tigris user.
RecipientsbodystringNoA comma-separated list of Tigris Ids (Guids).
MembersbodystringNoA comma-separated list of Tigris Ids (Guids).

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

{
	Name: String,
	Description: String,
	OwnerId: 00000000000000000000000000000000,
	Recipients: String,
	Members: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 00000000000000000000000000000000,
	Name: String,
	Description: String,
	OwnerId: 00000000000000000000000000000000,
	Members: 
	[
		{
			Id: 00000000000000000000000000000000,
			FirstName: String,
			LastName: String,
			JobTitle: String,
			CompanyName: String
		}
	],
	Recipients: 
	[
		{
			Id: 00000000000000000000000000000000,
			FirstName: String,
			LastName: String,
			JobTitle: String,
			CompanyName: String
		}
	]
}