| POST | /ShareForm | Shares form with one or more social connections. | Shares form with social contacts. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ConnectionId | body | string | No | ConnectionId |
| EventId | body | int | No | EventId |
| Comment | body | string | No | Comment |
| SharedAmongGroups | body | SocialGroup[] | No | a list of social groups |
| SharedAmongConnections | body | SocialUser[] | No | a list of social users |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GroupName | form | string | No | |
| GroupId | form | int | No | |
| Users | form | IEnumerable<SocialUser> | No | |
| IsSelected | form | bool | No | |
| FullName | form | string | No | |
| Category | form | string | No | |
| UserType | form | string | No | |
| form | string | No | ||
| EmailHash | form | string | No | |
| WinningTipsSent | form | int | No | |
| WinningTipsReceived | form | int | No | |
| IsFollowing | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| ClientId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Success | form | bool | No | |
| ErrorMessages | form | List<string> | No | |
| SuccessMessage | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ShareForm HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ConnectionId":"String","EventId":0,"Comment":"String","SharedAmongGroups":[{"GroupName":"String","GroupId":0,"IsSelected":false,"FullName":"String","Category":"String","UserType":"String","Email":"String","EmailHash":"27118326006d3829667a400ad23d5d98","WinningTipsSent":0,"WinningTipsReceived":0,"IsFollowing":false}],"SharedAmongConnections":[{"Name":"String","ClientId":0}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Success":false,"ErrorMessages":["String"],"SuccessMessage":"String"}