Retrieves a specific push communication message for an account.
Endpoint ID: | 7002 | |||||||||||||
Method: | GET | |||||||||||||
URL: | /communication/push/dp-key/{dp-key}/{message-id} /communication/push/ext-key/{ext-key}/{ext-type}/{message-id}
| |||||||||||||
dp-key | dialogportal™ master key that uniquely identifies the account to retrieve the message for | |||||||||||||
ext-key | External key that uniquely identifies the account to retrieve the message for | |||||||||||||
| ext-type | Type of external key | ||||||||||||
message-id | ID of the message to retrieve | |||||||||||||
Request body: | None | |||||||||||||
Response body: | JSON data containing the push communication details, and the base64 encoded message. Example – Push communication message with title, link and type { "messageID": 23930553, "creationDate": "2014-01-08T17:17:04", "title": "R3JlYXQgbmV3cyBEYXZlIQ==", "message": "DQo8aHRtbD48aGVhZD48L2hlYWQ+PGJvZHk+PC9ib2R5PjwvaHRtbD4=", "link": "http://www.google.com?id=123456789", "type": "BreakingNews" } The possible response body fields are:
* Use of the "link" and "type" properties should be decided between the app developer and the content producer | |||||||||||||
Status codes: | 200 | Message retrieved successfully | ||||||||||||
404 | Message was not found The following sub codes may be returned:
|