POST api/betting/{toEmail}/provisionalbetting/notify

Request Information

URI Parameters

NameDescriptionTypeAdditional information
toEmail

string

Required

Body Parameters

BO.Models.Communication.BookABet
NameDescriptionTypeAdditional information
Reference

string

None.

EventDetails

Collection of BO.Models.Communication.BookABet+EventDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "reference": "sample string 1",
  "eventDetails": [
    {
      "eventName": "sample string 1",
      "selection": "sample string 2",
      "betType": "sample string 3"
    },
    {
      "eventName": "sample string 1",
      "selection": "sample string 2",
      "betType": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<BookABet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Reference>sample string 1</Reference>
  <EventDetails>
    <EventDetail>
      <EventName>sample string 1</EventName>
      <Selection>sample string 2</Selection>
      <BetType>sample string 3</BetType>
    </EventDetail>
    <EventDetail>
      <EventName>sample string 1</EventName>
      <Selection>sample string 2</Selection>
      <BetType>sample string 3</BetType>
    </EventDetail>
  </EventDetails>
</BookABet>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BO.BETResponseObjects.SimpleResponse
NameDescriptionTypeAdditional information
ResponseType

BO.Enums.ResponseType

None.

ResponseMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseType": 1,
  "responseMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<SimpleResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseType>Success</ResponseType>
  <ResponseMessage>sample string 1</ResponseMessage>
</SimpleResponse>