- 1 Minute to read
- Print
- DarkLight
/mobilePush/getPushMessage
- 1 Minute to read
- Print
- DarkLight
Get push message.
The message ID.
Example response:
{
"messageId" : 1,
"status" : "COMPLETED"
"owner" : {
"firstName" : "Radmila",
"lastName" : "Petrovic",
"email" : "radmila.petrovic@mapp.com"
},
"lastModified" : "2020-07-31T12:44:46.966Z",
"name" : "test name",
"appId" : "1585031493269",
"selectionPlanId" : "768E488C-45C2-4A6F-800B-C569586F1DC5",
"content" : "This is iOS test push ",
"messageTitle" : "Hello",
"description" : "description",
"notificationSound" : "sound1.mp3",
"pushActionType" : "LAUNCH_APP",
"pushActionParams" : "www.test.com",
"buttonCategory" : "apx_read_open",
"buttonActionType" : "OPEN_LANDING_PAGE",
"buttonActionParams" : "https://www.google.com/",
"mediaType" : "IMAGE", - optional
"mediaUrl" : "https://staging11.shortest-route.com/qatest/imgproxy/img/110/5ac68ca5498a5.png",
"scheduledTime" : "2020-07-31T12:44:46.966Z",
"timeZone" : "Europe/Budapest"
}
One of the parameters is invalid / The message ID or user ID cannot be found. / An unexpected backend error occurred.
Error response: {
"errorActor": "CLIENT",
"errorCode": "INVALID_REQUEST",
"message": "Not Found"
}