<sport_event>

What is sport_event element?

The sport_event element provides information related to a match/fixture. This element identifies the match in a very similar way to the fixture element described in Fixture endpoint.

Structure / Sub-elements

  • <sport_event>

    • <tournament_round>

    • <tournament>

      • <sport>

      • <category>

    • <competitors>

      • <competitor>

        • <reference_ids>

          • <reference_id>

Example XML Response Snippet

<sport_event liveodds="bookable" status="ended" next_live_time="2024-03-03T16:00:00+00:00" id="sr:match:43901686" scheduled="2024-03-02T11:00:00+00:00" start_time_tbd="false">
      <tournament_round betradar_id="52058"/>
      <tournament id="sr:simple_tournament:52058" name="A2, Women">
        <sport id="sr:sport:23" name="Volleyball"/>
        <category id="sr:category:179" name="Greece" country_code="GRC"/>
      </tournament>
      <competitors>
        <competitor qualifier="home" id="sr:competitor:426097" name="Opath Perseas" abbreviation="OPA" country="Greece" country_code="GRC" gender="female">
          <reference_ids>
            <reference_id name="betradar" value="21222085"/>
          </reference_ids>
        </competitor>
        <competitor qualifier="away" id="sr:competitor:684473" name="Pas Giannina" abbreviation="PAS" short_name="Giannina" country="Greece" country_code="GRC" age_group="U20" gender="female">
          <reference_ids>
            <reference_id name="betradar" value="19949125"/>
          </reference_ids>
        </competitor>
      </competitors>
    </sport_event>

Element Attributes

The table below shows the attributes of the sport_event element.

Attribute

Meaning

Possible values

id

Unique identifier of the event

Numeric string

Example: id="sr:match:43901686"

scheduled

Specifies when the specific match will start

Datetime

Example: scheduled="2024-03-02T11:00:00+00:00"

start_time_tbd

Specifies if the starting time is confirmed or not

  • TRUE

  • FALSE

liveodds

Explains the situation of the liveodds for the match, if the match can be bought, booked or if it is not available at all.

  • BOOKABLE The match can be booked

  • BOOKED The match is booked

  • BUYABLE The match is bookable, if the client buys the proper package

  • NOT_AVAILABLE Either the match does not exist, or the match is not visible by the client

next_live_time

specifies when the event is live, the next time

Datetime

Example: next_live_time="2024-03-03T16:00:00+00:00"

Last updated

Was this helpful?