| GET,POST | /GetClientPromotionBetTriggerCriteriaDetails | Gets promotion bet trigger criteria details for logged-in and non-logged-in user | Gets promotions for logged-in and non-logged-in user |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClientPromotionsBetTriggerCriteriaDetails | form | List<ClientPromotionsBetTriggerCriteriaDetail> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorNo | form | int | No | |
| Message | form | string | No | |
| Identity | form | long? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PromotionId | form | int | No | |
| PromoEndDate | form | DateTime | No | |
| MasterEventId | form | string | No | |
| EventId | form | string | No | |
| EventTypeId | form | string | No | |
| EventClassId | form | string | No | |
| CategoryId | form | string | No | |
| MasterCategoryId | form | string | No | |
| MasterEventClassId | form | string | No | |
| MasterEventTypeId | form | string | No | |
| MasterCategoryClassId | form | string | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /GetClientPromotionBetTriggerCriteriaDetails 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
{"ClientPromotionsBetTriggerCriteriaDetails":[{"PromotionId":0,"PromoEndDate":"0001-01-01T00:00:00.0000000Z","MasterEventId":"String","EventId":"String","EventTypeId":"String","EventClassId":"String","CategoryId":"String","MasterCategoryId":"String","MasterEventClassId":"String","MasterEventTypeId":"String","MasterCategoryClassId":"String"}],"ErrorNo":0,"Message":"String","Identity":0}