GET api/NotificationModelApi/GetNotifications

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NotificationModelApi
NameDescriptionTypeAdditional information
ID

integer

None.

Truck

string

None.

Driver

string

None.

NotificationType

string

None.

Note

string

None.

DateTime

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Truck": "sample string 2",
    "Driver": "sample string 3",
    "NotificationType": "sample string 4",
    "Note": "sample string 5",
    "DateTime": "2024-05-18T08:41:03.6973147+00:00"
  },
  {
    "ID": 1,
    "Truck": "sample string 2",
    "Driver": "sample string 3",
    "NotificationType": "sample string 4",
    "Note": "sample string 5",
    "DateTime": "2024-05-18T08:41:03.6973147+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NotificationModelApi>
    <ID>1</ID>
    <Truck>sample string 2</Truck>
    <Driver>sample string 3</Driver>
    <NotificationType>sample string 4</NotificationType>
    <Note>sample string 5</Note>
    <DateTime>2024-05-18T08:41:03.6973147+00:00</DateTime>
  </NotificationModelApi>
  <NotificationModelApi>
    <ID>1</ID>
    <Truck>sample string 2</Truck>
    <Driver>sample string 3</Driver>
    <NotificationType>sample string 4</NotificationType>
    <Note>sample string 5</Note>
    <DateTime>2024-05-18T08:41:03.6973147+00:00</DateTime>
  </NotificationModelApi>
</ArrayOfNotificationModelApi>