POST api/debug/test-send-placed-wagers-notifications

Request Information

URI Parameters

None.

Body Parameters

PlacedWagersNotification
NameDescriptionTypeAdditional information
WagerNum

string

None.

CustRef

string

None.

RiskCat

string

None.

PlacedDateTime

string

None.

Wager

WagerNotification

None.

Selections

Collection of SelectionNotification

None.

Request Formats

application/json, text/json

Sample:
{
  "WagerNum": "sample string 1",
  "CustRef": "sample string 2",
  "RiskCat": "sample string 3",
  "PlacedDateTime": "sample string 4",
  "Wager": {
    "WagerName": "sample string 1",
    "EachWay": true,
    "Lines": 3,
    "UnitStake": 4.0,
    "TotalStake": 5.0,
    "CurrencySymbol": "sample string 6",
    "IsForcast": true,
    "EachWayOrForcast": "Forecast",
    "UnitStakeStr": "sample string 64.00",
    "TotalStakeStr": "sample string 65.00"
  },
  "Selections": [
    {
      "MeetingName": "sample string 1",
      "EventName": "sample string 2",
      "EventTime": "sample string 3",
      "SelectionName": "sample string 4",
      "DecimalPrice": 1.0,
      "PriceType": "sample string 5",
      "EventByTime": true,
      "MarketOrEventName": "sample string 3 - sample string 2",
      "DecimalPriceOrType": "at 1.00"
    },
    {
      "MeetingName": "sample string 1",
      "EventName": "sample string 2",
      "EventTime": "sample string 3",
      "SelectionName": "sample string 4",
      "DecimalPrice": 1.0,
      "PriceType": "sample string 5",
      "EventByTime": true,
      "MarketOrEventName": "sample string 3 - sample string 2",
      "DecimalPriceOrType": "at 1.00"
    }
  ]
}

application/xml, text/xml

Sample:
<PlacedWagersNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anthill.Geoff.Integrations.Betty.Models">
  <CustRef>sample string 2</CustRef>
  <PlacedDateTime>sample string 4</PlacedDateTime>
  <RiskCat>sample string 3</RiskCat>
  <Selections>
    <SelectionNotification>
      <DecimalPrice>1</DecimalPrice>
      <EventByTime>true</EventByTime>
      <EventName>sample string 2</EventName>
      <EventTime>sample string 3</EventTime>
      <MeetingName>sample string 1</MeetingName>
      <PriceType>sample string 5</PriceType>
      <SelectionName>sample string 4</SelectionName>
    </SelectionNotification>
    <SelectionNotification>
      <DecimalPrice>1</DecimalPrice>
      <EventByTime>true</EventByTime>
      <EventName>sample string 2</EventName>
      <EventTime>sample string 3</EventTime>
      <MeetingName>sample string 1</MeetingName>
      <PriceType>sample string 5</PriceType>
      <SelectionName>sample string 4</SelectionName>
    </SelectionNotification>
  </Selections>
  <Wager>
    <CurrencySymbol>sample string 6</CurrencySymbol>
    <EachWay>true</EachWay>
    <IsForcast>true</IsForcast>
    <Lines>3</Lines>
    <TotalStake>5</TotalStake>
    <UnitStake>4</UnitStake>
    <WagerName>sample string 1</WagerName>
  </Wager>
  <WagerNum>sample string 1</WagerNum>
</PlacedWagersNotification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.