Fixture

Modified on Tue, 1 Mar, 2022 at 4:54 PM

The fixture element holds general data about the event.

XML

<Fixture LastUpdate="2017-03-04T17:12:00Z" ExternalProviderId="578713">
<Sport Id="6046" Name="Football"/>
<Location Id="243" Name="England"/>
<League Id="67" Name="Premier League"/>
<StartDate>2017-03-04T15:30:00Z</StartDate>
<Status>3</Status>
<Participants>
<Participant Id="19" Name="Liverpool" Position="1"/>
<Participant Id="3" Name="Arsenal" Position="2"/>
</Participants>
<Subscription>
<Type>1</Type>
<Status>1</Status>
</Subscription>
</Fixture>

JSON

{
  "Fixture": {
    "LastUpdate": "2017-03-04T17:12:00Z",
    "ExternalProviderId": "578713",
    "Sport": {
      "Id": "6046",
      "Name": "Football",
    },
    "Location": {
      "Id": "243",
      "Name": "England",
    },
    "League": {
      "Id": "67",
      "Name": "Premier League",
    },
    "StartDate": "2017-03-04T15:30:00Z",
    "Status": "3",
    "Participants": {
      "Participant": [
        {
          "Id": "19",
          "Name": "Liverpool",
          "Position": "1",
        },
        {
          "Id": "3",
          "Name": "Arsenal",
          "Position": "2",
        }
      ]
    },
    "Subscription": {
      "Type": "1",
      "Status": "1"
    }
  },
}

Model

ElementData TypeDescription
Fixture.LastUpdateDateTimeTimestamp representing the last time the fixture was updated
Fixture.ExternalProviderIdintOPTIONAL: For your convenience, an ID of the fixture in a provider of your choosing
Sport.IdintThe unique ID of the sport
Sport.NamenameThe name of the sport
Location.IdintThe unique ID of the location
Location.NamenameThe name of the location
League.IdintThe unique ID of the league
League.NamenameThe name of the league
StartDateDateTimeTimestamp representing the start date of the fixture
StatusenumThe current status of the event
FixtureExtraDataarrayArray of Data
ParticipantsarrayArray of Participant
Subscription.TypeenumYour package type
Subscription.StatusenumThe current subscription status of the event in your package

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article