Skip to main content

Maintenance Notifications

Request

URI: /notification/maintenance

Example usage: https://{callback_url}/notification/maintenance

The request is executed using the POST method.

This method provides detailed maintenance data.

Request body

NameTypeRequiredDescription
statusstringYesMaintenance status: started, test, created, finished, failed, canceled
batchIdstringYesBatch Identifier
gameIdsarrayYesThe IDs of the games that are under maintenance
additionsobjectYesMaintenance data
brandNamestringYesName of brand whose games are under maintenance
countriesarrayYesCountries for which the games are on maintenance
currenciesarrayYesCurrencies configured for games that are under maintenance
providerIdsarrayYesIDs of providers whose games are under maintenance

Example of a request body

Request: /notification/maintenance
{
"status": "started",
"batchId": "test",
"gameIds": [],
"additions": {
"endAt": "2024-04-01 00:00:00",
"reason": null,
"startAt": "2024-03-28 00:00:00"
},
"brandName": "brand name",
"countries": [
"AF",
"AI"
],
"currencies": [],
"providerIds": [
383
]
}

Response body

NameTypeRequiredDescription
statusbooleanYesResponse status code
Accepted values: true, false

Example of a response body

Response: /notification/maintenance
{
"status": true
}