GET v1/api/notification/listPushNotification?enrolleeNo={enrolleeNo}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
enrolleeNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
listPushNotificationResultName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
errorMsg | string |
None. |
|
notification | Collection of notificationData |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "errorMsg": "sample string 2", "notification": [ { "title": "sample string 1", "notification_id": 2, "enabled": true }, { "title": "sample string 1", "notification_id": 2, "enabled": true } ] }
application/xml, text/xml
Sample:
<listPushNotificationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.listPushNotification"> <errorMsg>sample string 2</errorMsg> <notification> <listPushNotificationResult.notificationData> <enabled>true</enabled> <notification_id>2</notification_id> <title>sample string 1</title> </listPushNotificationResult.notificationData> <listPushNotificationResult.notificationData> <enabled>true</enabled> <notification_id>2</notification_id> <title>sample string 1</title> </listPushNotificationResult.notificationData> </notification> <success>true</success> </listPushNotificationResult>
text/html
Sample:
{"success":true,"errorMsg":"sample string 2","notification":[{"title":"sample string 1","notification_id":2,"enabled":true},{"title":"sample string 1","notification_id":2,"enabled":true}]}