GET api/NotificationDevices

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NotificationDevice
NameDescriptionTypeAdditional information
Id

integer

None.

DeviceId

string

None.

RegistrationCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "DeviceId": "sample string 2",
    "RegistrationCode": "sample string 3"
  },
  {
    "Id": 1,
    "DeviceId": "sample string 2",
    "RegistrationCode": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models">
  <NotificationDevice>
    <DeviceId>sample string 2</DeviceId>
    <Id>1</Id>
    <RegistrationCode>sample string 3</RegistrationCode>
  </NotificationDevice>
  <NotificationDevice>
    <DeviceId>sample string 2</DeviceId>
    <Id>1</Id>
    <RegistrationCode>sample string 3</RegistrationCode>
  </NotificationDevice>
</ArrayOfNotificationDevice>