Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.