GET api/Customer/GetNotificationLogs?Fromdate={Fromdate}&Todate={Todate}&AlertType={AlertType}&CustomerDeviceID={CustomerDeviceID}

To get Notification Logs of Device

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Fromdate

string

Required

Todate

string

Required

AlertType

string

Required

CustomerDeviceID

string

Required

Body Parameters

CommonParameters
NameDescriptionTypeAdditional information
PageIndex

set value = 1 for viewing first page records. change as per pagesize and number of records.

integer

Required

PageSize

Set value = 15. Possible values between 15 to 100

integer

Required

SortExp

Set value = "CreatedDateTime". Possible value will be based on API Method's response data columns.

string

Required

SortDir

Set value = "desc". Possible values will be "asc" or "desc" for sorting records

string

Required

Keyword

set value = "" (blank). Possible value will be any words.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PageIndex": 1,
  "PageSize": 2,
  "SortExp": "sample string 3",
  "SortDir": "sample string 4",
  "Keyword": "sample string 5"
}

application/xml, text/xml

Sample:
<CommonParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sscTeklekWebAPI.Models">
  <Keyword>sample string 5</Keyword>
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <SortDir>sample string 4</SortDir>
  <SortExp>sample string 3</SortExp>
</CommonParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
Status

integer

None.

Description

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Description": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sscTeklekWebAPI.Models">
  <Data />
  <Description>sample string 2</Description>
  <Status>1</Status>
</APIResult>