TBS Apps API

<back to all web services

SocialFollowRequest

Requires Authentication
The following routes are available for this service:
POST/SocialFollowUpdates Social Connection Following Status.Updates Social Connection Following State. When set to 'true' the user will be altered to blackbooks that belong to that connection.
SocialFollowRequest Parameters:
NameParameterData TypeRequiredDescription
ConnectionIdbodyintNoConnectionId
DoFollowbodyboolNoDoFollow
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No

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 /SocialFollow HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ConnectionId: 0,
	DoFollow: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ErrorNo: 0,
	Message: String,
	Identity: 0
}