Skip to main content
Version: 6.1.0

ScheduleNormalizedPushNotifications

Schedules normalized notifications based on user local time.

Results​

NameDescription
notificationJobsNumber of notification jobs/time zones targeted
ServiceOperation
pushNotificationSCHEDULE_NORMALIZED_NOTIFICATIONS

Method Parameters​

ParameterDescription
alertContentBody and title of message in JSON format.
customDataCustom attributes of message.
segmentCodeListList of target segment codes. Required, unless the deprecated segmentIdList is given.
segmentIdListDeprecated: list of target segment ids. Use segmentCodeList instead.
localTimeThe scheduled local arrival time.
minimizeJobsOptional flag to cause the server to scan players time zones to reduce scope.
startDateUTCOptional base date for local time calculation.
warning

segmentIdList is deprecated. Use segmentCodeList instead. Segment ids are assigned separately in each environment, so the same id can refer to a different segment after an app is copied or promoted, and new apps reject segment ids in cloud code.

Usage​

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"packetId": 1,
"messageResponses": [
{
"data": {
"notificationJobs": 3
},
"status": 200
}
]
}