GET Schedule

Modified on Wed, 6 Mar at 3:38 PM

The following post provides a list of supported scheduled InPlay fixtures that you can subscribe to, excluding the fixtures you're already subscribed to.

Method - POST
URL - https://stm-api.lsports.eu/Fixtures/InPlaySchedule

Body Scheme


 {
   "PackageId": YourPackageId,
    "UserName": "YourUserName",
    "Password": "YourPassword",
    "SportsId": [1234,12345]
    "LocationsId": [1234,12345]
    "LeaguesId": [1234,12345]
 }

Parameter breakdown

ParameterDescriptionMandatory Field
UsernameUsername as it appears in the package
PasswordPassword as it appears the package
PackageIdPackageId as provided by LSports
SportsIdsportsId as a filter opportunity
Type:List <int>
x
LocationsIdlocationsId as a filter opportunity
Type : List <int>
Must be provided with SportsId
x
LeaguesIdLeaguesId as a filter opportunity
Type : List <int>
x

Response Scheme

{
    "Header": {
        "HttpStatusCode": 200
    },
    "Body": {
        "Fixtures": [
            {
                "FixtureId": 4302425,
                "Sport": {
                    "Id": 6046,
                    "Name": "Football"
                },
                "Location": {
                    "Id": 83,
                    "Name": "Sweden"
                },
                "League": {
                    "Id": 159,
                    "Name": "Div 2 - Norrland"
                },
                "StartDate": "2019-08-03T12:00:00",
                "LastUpdate": "2019-03-30T10:45:09.582107",
                "Status": 1,
                "Participants": [
                    {
                        "Id": 12144,
                        "Position": 1,
                        "Name": "Piteå IF"
                    },
                    {
                        "Id": 236990,
                        "Position": 2,
                        "Name": "Sandviks IK"
                    }
                ]
            },
            {
                "FixtureId": 4302513,
                "Sport": {
                    "Id": 6046,
                    "Name": "Football"
                },
                "Location": {
                    "Id": 83,
                    "Name": "Sweden"
                },
                "League": {
                    "Id": 159,
                    "Name": "Div 2 - Norrland"
                },
                "StartDate": "2019-07-27T12:00:00",
                "LastUpdate": "2019-02-01T07:17:58.690279",
                "Status": 1,
                "Participants": [
                    {
                        "Id": 315518,
                        "Position": 1,
                        "Name": "Gottne IF"
                    },
                    {
                        "Id": 86714,
                        "Position": 2,
                        "Name": "Anundsjö IF"
                    }
                ]
            }
        ]
    }
}


To read more about the Status indication, please visit the Fixture Statuses article



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