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
Parameter | Description | Mandatory Field |
---|---|---|
Username | Username as it appears in the package | ✓ |
Password | Password as it appears the package | ✓ |
PackageId | PackageId as provided by LSports | ✓ |
SportsId | sportsId as a filter opportunity Type:List <int> | x |
LocationsId | locationsId as a filter opportunity Type : List <int> Must be provided with SportsId | x |
LeaguesId | LeaguesId 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
Feedback sent
We appreciate your effort and will try to fix the article