POST api/v1/pushnotifications

Request Information

URI Parameters

None.

Body Parameters

PushNotificationSeenRequest
NameDescriptionTypeAdditional information
seen

boolean

None.

ids

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "seen": true,
  "ids": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<Request.PushNotificationSeenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/qPonesApi.DTO">
  <ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ids>
  <seen>true</seen>
</Request.PushNotificationSeenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PushNotificationsSeenResponse
NameDescriptionTypeAdditional information
updated

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "updated": 1
}

application/xml, text/xml

Sample:
<Response.PushNotificationsSeenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/qPonesApi.DTO">
  <updated>1</updated>
</Response.PushNotificationsSeenResponse>