You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Table of Contents
Inbox
Current Implementation
Retrieves the messages from user's Inbox.
API Sample
curl 'http://192.168.2.102:8080/PresentationServices/getMessages?type=Alert&location=INBOX&userId=poda&token=d2360c39-637b-41da-988d-f031db5affbb&_=1395133673255' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'User-Agent: Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36' --compressed
{
"messagesFact": {
"statusFact": {
"success": true
}
,"messageObjects": [
{
"messageId": "25",
"type": "Alert",
"podId": "Pod C",
"location": "INBOX",
"labels": [],
"messageDate": "3/07/14",
"messageTime": "13:26",
"description": "No Skin To Skin Contact In 7 Days",
"from": "[S4-ALERT] No skin to skin contact in 7 days",
"title": " peggy 501##split##33wks 998g",
"payload": "This patient has not had skin to skin contact for at least 7 consecutive days.",
"status": "Unread",
"priority": "HIGH",
"tasksCount": 1,
"tasksComplete": 0
},{
"messageId": "22",
...
}
]}}
0 Comments