GET api/NotificationModelApi/GetNotificationByDriverID?driverId={driverId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| driverId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationModelApi| Name | Description | Type | Additional 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": "2025-11-08T13:46:39.2674607+00:00"
},
{
"ID": 1,
"Truck": "sample string 2",
"Driver": "sample string 3",
"NotificationType": "sample string 4",
"Note": "sample string 5",
"DateTime": "2025-11-08T13:46:39.2674607+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>2025-11-08T13:46:39.2674607+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>2025-11-08T13:46:39.2674607+00:00</DateTime>
</NotificationModelApi>
</ArrayOfNotificationModelApi>