TBS Apps API

<back to all web services

SocialGroupsRequest

Social Service

Requires Authentication
The following routes are available for this service:
GET,POST/SocialGroupsGets Social Connections for the currently authenticated user.Gets Social Users and Groups belonging to the currently authenticated user.
SocialGroupsResponse Parameters:
NameParameterData TypeRequiredDescription
GroupsformList<SocialGroup>No
SocialGroup Parameters:
NameParameterData TypeRequiredDescription
GroupNameformstringNo
GroupIdformintNo
UsersformIEnumerable<SocialUser>No
IsSelectedformboolNo
FullNameformstringNo
CategoryformstringNo
UserTypeformstringNo
EmailformstringNo
EmailHashformstringNo
WinningTipsSentformintNo
WinningTipsReceivedformintNo
IsFollowingformboolNo
SocialUser Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ClientIdformintNo

To override the Content-type in your clients, use the 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 /SocialGroups HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Groups: 
	[
		{
			GroupName: String,
			GroupId: 0,
			IsSelected: False,
			FullName: String,
			Category: String,
			UserType: String,
			Email: String,
			EmailHash: 27118326006d3829667a400ad23d5d98,
			WinningTipsSent: 0,
			WinningTipsReceived: 0,
			IsFollowing: False
		}
	]
}