URL

http://webapi.leadmaster.com/api/LMAPI/DeletePushNotificationHistory

Description

Removes the specific push notification message of current user

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
model
Accepts devicetoken and Id to be deleted

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Ids": [
    1.0,
    2.0,
    3.0
  ]
}

application/xml, text/xml

Sample:
<DeletePushNotificationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>2</d2p1:decimal>
    <d2p1:decimal>3</d2p1:decimal>
  </Ids>
</DeletePushNotificationRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "IsSuccess": true,
  "Message": "sample string 2",
  "Result": {
    "Status": true,
    "Message": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<APIResponseBaseOfLMApiResponse6ZPUqztj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ViewModel">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result>
    <Message>sample string 2</Message>
    <Status>true</Status>
  </Result>
  <StatusCode>Continue</StatusCode>
</APIResponseBaseOfLMApiResponse6ZPUqztj>