Outright League Fixture

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

The following format will be sent for outright league fixtures

XML

    <Header>
        <Type>38</Type>
        <MsgGuid>2c1ddd29-3879-49d5-a38f-45ea2184b209</MsgGuid>
        <ServerTimestamp>1575369603465</ServerTimestamp>
    </Header>
    <Body>
        <Competition Id="8232" Name="National League South" Type="3">
            <Competitions>
                <Competition Id="1" Name="All" Type="4">
                    <Events>
                        <Event FixtureId="4908401">
                            <OutrightLeague LastUpdate="2019-11-10T08:51:43.989Z">
                                <Sport Id="6046" Name="Football" />
                                <Location Id="243" Name="England" />
                                <Status>1</Status>
                                <Subscription>
                                    <Type>2</Type>
                                    <Status>1</Status>
                                </Subscription>
                            </OutrightLeague>
                        </Event>
                    </Events>
                </Competition>
            </Competitions>
        </Competition>

Json

{
   "Message": {
      "Header": {
         "Type": "38",
         "MsgGuid": "2c1ddd29-3879-49d5-a38f-45ea2184b209",
         "ServerTimestamp": "1575369603465"
      },
      "Body": {
         "Competition": {
            "Competitions": {
               "Competition": {
                  "Events": {
                     "Event": {
                        "OutrightLeague": {
                           "Sport": {
                              "Id": "6046",
                              "Name": "Football"
                           },
                           "Location": {
                              "Id": "243",
                              "Name": "England"
                           },
                           "Status": "1",
                           "Subscription": {
                              "Type": "2",
                              "Status": "1"
                           },
                           "LastUpdate": "2019-11-10T08:51:43.989Z"
                        },
                        "FixtureId": "4908401"
                     }
                  },
                  "Id": "1",
                  "Name": "All",
                  "Type": "4"
               }
            },
            "Id": "8232",
            "Name": "National League South",
            "Type": "3"
         }
      }
   }
}

Model

ElementData TypeDescription
Competition.IdintThe unique ID of the competition
OutrightLeague.LastUpdateDateTimeTimestamp representing the last time the fixture was updated
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
TypeenumType 3 is League,Type 4 is Season
StatusenumThe current status of the event
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