POST APIControllers/Policy/PushNotificationMessageMarkAsRead
Request Information
URI Parameters
None.
Body Parameters
PushNotificationMarkAsReadRequestName | Description | Type | Additional information |
---|---|---|---|
securityKey | string |
None. |
|
activityId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "securityKey": "sample string 1", "activityId": 2 }
application/xml, text/xml
Sample:
<PushNotificationMarkAsReadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models"> <activityId>2</activityId> <securityKey>sample string 1</securityKey> </PushNotificationMarkAsReadRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Message | string |
None. |
|
Entity | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Message": "sample string 2", "Entity": true }
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core"> <Entity>true</Entity> <Message>sample string 2</Message> <Success>true</Success> </ResponseOfboolean>