GET api/Profile/GetPushNotificationsByProfile

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PushNotification
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Content

string

None.

DateTime

date

None.

IssuedBy

string

None.

Title

string

None.

Body

string

None.

Usernames

string

None.

CampusId

globally unique identifier

None.

CollegeId

globally unique identifier

None.

Roles

integer

None.

All

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": "fd15923c-6c0a-4adc-b012-bea9948db2bc",
    "Content": "sample string 2",
    "DateTime": "2024-05-03T10:00:08.1665687+02:00",
    "IssuedBy": "sample string 4",
    "Title": "sample string 5",
    "Body": "sample string 6",
    "Usernames": "sample string 7",
    "CampusId": "51455d4d-9169-41ae-9355-e2a405beb526",
    "CollegeId": "b317dc00-aa68-414f-9454-000813764cf6",
    "Roles": 1,
    "All": true
  },
  {
    "ID": "fd15923c-6c0a-4adc-b012-bea9948db2bc",
    "Content": "sample string 2",
    "DateTime": "2024-05-03T10:00:08.1665687+02:00",
    "IssuedBy": "sample string 4",
    "Title": "sample string 5",
    "Body": "sample string 6",
    "Usernames": "sample string 7",
    "CampusId": "51455d4d-9169-41ae-9355-e2a405beb526",
    "CollegeId": "b317dc00-aa68-414f-9454-000813764cf6",
    "Roles": 1,
    "All": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPushNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.ViewModels">
  <PushNotification>
    <All>true</All>
    <Body>sample string 6</Body>
    <CampusId>51455d4d-9169-41ae-9355-e2a405beb526</CampusId>
    <CollegeId>b317dc00-aa68-414f-9454-000813764cf6</CollegeId>
    <Content>sample string 2</Content>
    <DateTime>2024-05-03T10:00:08.1665687+02:00</DateTime>
    <ID>fd15923c-6c0a-4adc-b012-bea9948db2bc</ID>
    <IssuedBy>sample string 4</IssuedBy>
    <Roles>1</Roles>
    <Title>sample string 5</Title>
    <Usernames>sample string 7</Usernames>
  </PushNotification>
  <PushNotification>
    <All>true</All>
    <Body>sample string 6</Body>
    <CampusId>51455d4d-9169-41ae-9355-e2a405beb526</CampusId>
    <CollegeId>b317dc00-aa68-414f-9454-000813764cf6</CollegeId>
    <Content>sample string 2</Content>
    <DateTime>2024-05-03T10:00:08.1665687+02:00</DateTime>
    <ID>fd15923c-6c0a-4adc-b012-bea9948db2bc</ID>
    <IssuedBy>sample string 4</IssuedBy>
    <Roles>1</Roles>
    <Title>sample string 5</Title>
    <Usernames>sample string 7</Usernames>
  </PushNotification>
</ArrayOfPushNotification>