Outright Fixture

This documentation describes the complete structure of an Outright Fixture Update message (Type 37) as delivered by TRADE.

[
   {
      "Header":{
         "Type":37,
         "MsgSeq":1,
         "MsgGuid":"7b0cadae-0b61-4a3a-a739-718fd0bbce02",
         "CreationDate":"2024-06-25T14:03:24.9538493Z",
         "ServerTimestamp":1719324204953
      },
      "Body":{
         "Competition":{
            "Id":11217,
            "Name":"Antepost",
            "Type":1,
            "Events":[
               {
                  "FixtureId":22751994,
                  "OutrightFixture":{
                     "Subscription":{
                        "Type":2,
                        "Status":1
                     },
                     "Sport":{
                        "Id":687888,
                        "Name":"Horse Racing"
                     },
                     "Location":{
                        "Id":2,
                        "Name":"Great Britain"
                     },
                     "StartDate":"2024-06-26T14:02:59.348219Z",
                     "LastUpdate":"2024-06-25T14:03:04.397273Z",
                     "Status":1,
                     "Participants":[
                        {
                           "Id":51990374,
                           "Name":"Cheltenham",
                           "Position":"1",
                           "IsActive":1,
                           "ExtraData":[
                              {
                                 "Name":"Color",
                                 "Value":"Bay"
                              },
                              {
                                 "Name":"DamSire",
                                 "Value":"Trebrook"
                              },
                              {
                                 "Name":"Gender",
                                 "Value":"Gelding"
                              },
                              {
                                 "Name":"ProviderParticipantId",
                                 "Value":"36961950"
                              },
                              {
                                 "Name":"Sire",
                                 "Value":"Voix Du Nord"
                              }
                           ]
                        },
                        {
                           "Id":51990385,
                           "Name":"Cheltenham Day 3",
                           "Position":"2",
                           "IsActive":1
                        },
                        {
                           "Id":52023599,
                           "Name":"Catterick",
                           "Position":"3",
                           "IsActive":1
                        },
                        {
                           "Id":52027843,
                           "Name":"Cheltenham Day 2",
                           "Position":"4",
                           "IsActive":1
                        },
                        {
                           "Id":52031169,
                           "Name":"Cheltenham Day 1",
                           "Position":"5",
                           "IsActive":1
                        },
                        {
                           "Id":52052758,
                           "Name":"Perth",
                           "Position":"6",
                           "IsActive":1
                        },
                        {
                           "Id":52163726,
                           "Name":"Uttoxeter",
                           "Position":"7",
                           "IsActive":1
                        },
                        {
                           "Id":52193184,
                           "Name":"Chelmsford City",
                           "Position":"8",
                           "IsActive":1
                        }
                     ],
                     "ExtraData":[
                        {
                           "Name":"WithInPlay",
                           "Value":"false"
                        },
                        {
                           "Name":"WithLivescore",
                           "Value":"false"
                        }
                     ]
                  },
                  "Livescore":null,
                  "Markets":null
               }
            ]
         }
      }
   }
]

Model

Competition

Element

Data Type

Description

Id

int

The unique ID of the competition

Name

string

The competition name

Type

enum

Type 3 is League, Type 4 is Season

Events

array

Array of Events

Events

Element

Data Type

Description

FixtureId

int

The unique ID of the fixture.

Livescore

int

Markets

int

Markets

OutrightFixture

object

OutrightFixture

OutrightFixture

Element

Data Type

Description

Subscription

object

Sport

object

Location

object

StartDate

string

The fixture start date

LastUpdate

string

ISO timestamp of the last update to the provider odds

Status

enum

The current status of the fixture

Participants

array

An array of Participants

ExtraData

array

An array of FixtureExtraData

Subscription

Element

Data Type

Description

Type

enum

Your package type

Status

enum

The current subscription status of the event in your package

Sport

Element

Data Type

Description

Id

int

The unique ID of the sport

Name

string

The name of the sport

Location

Element

Data Type

Description

Id

int

The unique ID of the location

Name

string

The name of the location

Participants

Element

Data Type

Description

Id

int

The unique ID of the participant

Name

string

The unique ID of the participant

Position

string

In 2-participant events the positions will be 1 (home) or 2 (away)

IsActive

bool

Will only show in outright events.

ExtraData

array

Array of data ExtraData

ExtraData

Element

Data Type

Description

Value

string

Representing the extra data value

Name

string

The name of extra data field

Last updated

Was this helpful?