GET All Manual Suspensions

Modified on Sun, 10 Sep, 2023 at 12:15 PM

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

ParameterTypeDescription
UsernameStringUsername as it apparrs in the package
PasswordStringPassword as it appears the package
PackageIdIntegerPackageId 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

FieldTypeDescription
Body.SucceededBoolif all suspension succeeded = true, else = false
Body.ReasonStringReason in case of general request failure
Suspension.SucceededBoolflag that indicates if suspension request succeeded or not
Suspension.ReasonStringReason for any failed suspension request
SportIdIntegerRequested sport id
LocationIdIntegerRequested location id
CompetitionIdIntegerRequested competition id
FixtureIdIntegerRequested fixture id
CreationDateDatetimeSuspension creation date
MarketsList of MarketsRequested 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

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