| POST | /UpdateBlackbook | Updates a blackbook. | Updates a blackbook. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BlackbookType | body | byte | No | BlackbookType |
| EventType | body | int | No | EventType |
| Name | body | string | No | Name |
| Comment | body | string | No | Comment |
| EventId | body | int | No | EventId |
| SocialGroupIDs | body | List<int> | No | a list of social group ids |
| OutcomeId | body | int | No | OutcomeId |
| BlackbookId | body | int | No | BlackbookId |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorNo | form | int | No | |
| Message | form | string | No | |
| LastUpdate | form | DateTime? | No | |
| Username | form | string | No | |
| HighlightedEvents | form | IEnumerable<BlackbookInsertHighlightedEvents> | No | |
| SocialGroups | form | IEnumerable<BlackbookSocialGroup> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BlackbookHighlightID | form | long | No | |
| EventID | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GroupId | form | int | No | |
| GroupName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /UpdateBlackbook HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BlackbookType: 0,
EventType: 0,
Name: String,
Comment: String,
EventId: 0,
SocialGroupIDs:
[
0
],
OutcomeId: 0,
BlackbookId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ErrorNo: 0,
Message: String,
LastUpdate: 0001-01-01,
Username: String
}