TBS Apps API

<back to all web services

GetClientPromotionsBetTriggerCriteriaDetailsRequest

The following routes are available for this service:
GET,POST/GetClientPromotionBetTriggerCriteriaDetailsGets promotion bet trigger criteria details for logged-in and non-logged-in userGets promotions for logged-in and non-logged-in user
GetClientPromotionsBetTriggerCriteriaDetailsResponse Parameters:
NameParameterData TypeRequiredDescription
ClientPromotionsBetTriggerCriteriaDetailsformList<ClientPromotionsBetTriggerCriteriaDetail>No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
ClientPromotionsBetTriggerCriteriaDetail Parameters:
NameParameterData TypeRequiredDescription
PromotionIdformintNo
PromoEndDateformDateTimeNo
MasterEventIdformstringNo
EventIdformstringNo
EventTypeIdformstringNo
EventClassIdformstringNo
CategoryIdformstringNo
MasterCategoryIdformstringNo
MasterEventClassIdformstringNo
MasterEventTypeIdformstringNo
MasterCategoryClassIdformstringNo

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

HTTP + JSON

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}