API - returns all existing manual suspension for requested package
Method - POST
URL - https://stm-api.lsports.eu/Markets/ManualSuspension/GetAll
Body Scheme
{ "UserName":"YourUserName", "Password":"YourPassword", "PackageId":YourPackageId }
Request - Parameter breakdown
Parameter | Type | Description |
---|---|---|
Username | String | Username as it apparrs in the package |
Password | String | Password as it appears the package |
PackageId | Integer | PackageId as it provide by LSports |
All the fields above are mandatory!
Response Scheme
{ "Header": { "HttpStatusCode": 200 }, "Body": { "Succeeded": true, "Suspensions": [ { "Succeeded": true, "SportId": 6046, "CompetitionId": 38745, "CreationDate": "2021-07-04T12:29:56", "Markets": [ { "MarketId": 52 } ] }, { "Succeeded": true, "SportId": 6046, "LocationId": 248, "CompetitionId": 38745, "FixtureId": 7144192, "CreationDate": "2021-07-04T12:29:56", "Markets": [ { "MarketId": 52 } ] }, { "Succeeded": true, "SportId": 6046, "LocationId": 248, "CompetitionId": 38745, "FixtureId": 7144715, "CreationDate": "2021-07-04T12:29:56", "Markets": [ { "MarketId": 2, "Line": "2.5" } ] } ] } }
Response fields
Field | Type | Description |
---|---|---|
Body.Succeeded | Bool | if all suspension succeeded = true, else = false |
Body.Reason | String | Reason in case of general request failure |
Suspension.Succeeded | Bool | flag that indicates if suspension request succeeded or not |
Suspension.Reason | String | Reason for any failed suspension request |
SportId | Integer | Requested sport id |
LocationId | Integer | Requested location id |
CompetitionId | Integer | Requested competition id |
FixtureId | Integer | Requested fixture id |
CreationDate | Datetime | Suspension creation date |
Markets | List of Markets | Requested Markets and Lines |
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