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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
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}]}