PUT api/Screeners/Matches/{id}?limit={limit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

limit

integer

Default value is 10

Body Parameters

ScreenerDTO
NameDescriptionTypeAdditional information
ID

integer

Required

Name

string

Required

Description

string

None.

UserID

string

None.

TradingBehavior

TradingBehaviors

None.

MarketGrouping

MarketGroupings

None.

MarketQueries

Collection of MarketQueryDTO

None.

AlertQueries

Collection of AlertQueryDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "userID": "sample string 4",
  "tradingBehavior": 0,
  "marketGrouping": 0,
  "marketQueries": [
    {
      "id": 1,
      "sportID": 1,
      "tournamentGroupID": 1,
      "conditions": [
        {
          "id": 1,
          "oddsType": 0,
          "operator": 0,
          "team": 0,
          "value": 2.0,
          "wagerType": 0,
          "conditionOperator": 0
        },
        {
          "id": 1,
          "oddsType": 0,
          "operator": 0,
          "team": 0,
          "value": 2.0,
          "wagerType": 0,
          "conditionOperator": 0
        }
      ]
    },
    {
      "id": 1,
      "sportID": 1,
      "tournamentGroupID": 1,
      "conditions": [
        {
          "id": 1,
          "oddsType": 0,
          "operator": 0,
          "team": 0,
          "value": 2.0,
          "wagerType": 0,
          "conditionOperator": 0
        },
        {
          "id": 1,
          "oddsType": 0,
          "operator": 0,
          "team": 0,
          "value": 2.0,
          "wagerType": 0,
          "conditionOperator": 0
        }
      ]
    }
  ],
  "alertQueries": [
    {
      "id": 1,
      "oddsType": 0,
      "alertLevel": 0,
      "conditionOperator": 0,
      "numberOfAlerts": 2,
      "queryRange": 1
    },
    {
      "id": 1,
      "oddsType": 0,
      "alertLevel": 0,
      "conditionOperator": 0,
      "numberOfAlerts": 2,
      "queryRange": 1
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ScreenerDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.