TBS Apps API

<back to all web services

SocialGroupsRequest

Social Service

Requires Authentication
Gets 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 .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: SocialGroupsRequest

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<SocialGroupsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<SocialGroupsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
  <Groups>
    <SocialGroup>
      <_x003C_Category_x003E_k__BackingField>String</_x003C_Category_x003E_k__BackingField>
      <_x003C_Email_x003E_k__BackingField>String</_x003C_Email_x003E_k__BackingField>
      <_x003C_FullName_x003E_k__BackingField>String</_x003C_FullName_x003E_k__BackingField>
      <_x003C_GroupId_x003E_k__BackingField>0</_x003C_GroupId_x003E_k__BackingField>
      <_x003C_GroupName_x003E_k__BackingField>String</_x003C_GroupName_x003E_k__BackingField>
      <_x003C_IsFollowing_x003E_k__BackingField>false</_x003C_IsFollowing_x003E_k__BackingField>
      <_x003C_IsSelected_x003E_k__BackingField>false</_x003C_IsSelected_x003E_k__BackingField>
      <_x003C_UserType_x003E_k__BackingField>String</_x003C_UserType_x003E_k__BackingField>
      <_x003C_Users_x003E_k__BackingField i:nil="true" />
      <_x003C_WinningTipsReceived_x003E_k__BackingField>0</_x003C_WinningTipsReceived_x003E_k__BackingField>
      <_x003C_WinningTipsSent_x003E_k__BackingField>0</_x003C_WinningTipsSent_x003E_k__BackingField>
    </SocialGroup>
  </Groups>
</SocialGroupsResponse>

    </soap:Body>
</soap:Envelope>