Created
December 21, 2017 11:37
-
-
Save rabithk/047efd7fb2dc381994fbcb60b5e6fc09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request: | |
GET /action-items/list HTTP/1.1 | |
Host: test-headless.apps.dnadev.jnj | |
appName: hws.healthpartner.newberg.knees.mobile | |
type: notification {this will be new argument in header this can be action-items or notification} | |
Response : | |
[ | |
{ | |
"type": "PortalNotification", | |
"extension": { | |
"type": "Incomplete lessons", | |
"portalNotificationId": "3e13f2bc-eeab-47ac-9b9f-81f34cf6ca7a", | |
"pushNotification": [ | |
{ | |
"order": 0, | |
"title": null, | |
"message": "Time to get dental clearance for your surgery. Once scheduled, you can add the appointment to your Action List!", | |
"referenceDate": "Surgery date", | |
"daysUntilReference": "37", | |
"scheduleTimeDayHour": "11", | |
"scheduleTimeDayMinutes": "00", | |
"turnOffWhen": [ | |
"Lessons complete", | |
"PT done" | |
] | |
}, | |
{ | |
"order": 1, | |
"title": null, | |
"message": "Time to get dental clearance for your surgery. Once scheduled, you can add the appointment to your Action List!", | |
"referenceDate": "Surgery date", | |
"daysUntilReference": "30", | |
"scheduleTimeDayHour": "11", | |
"scheduleTimeDayMinutes": "00", | |
"turnOffWhen": [ | |
"PT done" | |
] | |
} | |
] | |
}, | |
"title": "Get dental clearance for surgery." | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment