POST api/Notification/RetrieveNotifications

Retrieves the Dashboard Notifications

Request Information

Parameters

NameDescriptionAdditional information
request
Request

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CreatedDateFrom": "2024-10-16T15:52:24.5992101+02:00",
  "CreatedDateTo": "2024-10-16T15:52:24.5992101+02:00",
  "MarkNotificationsAsRead": true,
  "NotificationType": 1,
  "BaseDate": "2024-10-16T15:52:24.5992101+02:00",
  "InMemoryTriggerNotifiationIDsCSV": "sample string 2",
  "LoadAcknowledgedNotification": 3,
  "TriggerScheduleIds": [
    1,
    2,
    3
  ],
  "VehicleIds": [
    1,
    2,
    3
  ],
  "Token": "sample string 4",
  "FreeText": "sample string 5",
  "GroupIds": [
    1,
    2,
    3
  ],
  "FromIndex": 6,
  "ToIndex": 7,
  "IsWebCalling": true,
  "RequestMode": "sample string 9",
  "Client": "sample string 10",
  "AppVersion": "sample string 11",
  "AppOperatingSystem": "sample string 12",
  "AppName": "sample string 13",
  "MasterUserID": 14,
  "IsRecurringRequest": true
}

text/html

Sample:
{"CreatedDateFrom":"2024-10-16T15:52:24.5992101+02:00","CreatedDateTo":"2024-10-16T15:52:24.5992101+02:00","MarkNotificationsAsRead":true,"NotificationType":1,"BaseDate":"2024-10-16T15:52:24.5992101+02:00","InMemoryTriggerNotifiationIDsCSV":"sample string 2","LoadAcknowledgedNotification":3,"TriggerScheduleIds":[1,2,3],"VehicleIds":[1,2,3],"Token":"sample string 4","FreeText":"sample string 5","GroupIds":[1,2,3],"FromIndex":6,"ToIndex":7,"IsWebCalling":true,"RequestMode":"sample string 9","Client":"sample string 10","AppVersion":"sample string 11","AppOperatingSystem":"sample string 12","AppName":"sample string 13","MasterUserID":14,"IsRecurringRequest":true}

application/xml, text/xml

Sample:
<APITriggerNotificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels">
  <AppName xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 13</AppName>
  <AppOperatingSystem xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 12</AppOperatingSystem>
  <AppVersion xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 11</AppVersion>
  <Client xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 10</Client>
  <FreeText xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 5</FreeText>
  <FromIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">6</FromIndex>
  <GroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </GroupIds>
  <IsRecurringRequest xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</IsRecurringRequest>
  <IsWebCalling xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</IsWebCalling>
  <MasterUserID xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">14</MasterUserID>
  <RequestMode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 9</RequestMode>
  <ToIndex xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">7</ToIndex>
  <Token xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 4</Token>
  <BaseDate>2024-10-16T15:52:24.5992101+02:00</BaseDate>
  <CreatedDateFrom>2024-10-16T15:52:24.5992101+02:00</CreatedDateFrom>
  <CreatedDateTo>2024-10-16T15:52:24.5992101+02:00</CreatedDateTo>
  <InMemoryTriggerNotifiationIDsCSV>sample string 2</InMemoryTriggerNotifiationIDsCSV>
  <LoadAcknowledgedNotification>3</LoadAcknowledgedNotification>
  <MarkNotificationsAsRead>true</MarkNotificationsAsRead>
  <NotificationType>1</NotificationType>
  <TriggerScheduleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </TriggerScheduleIds>
  <VehicleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </VehicleIds>
</APITriggerNotificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Dashboard Notifications

Response body formats

application/json, text/json

Sample:
{
  "TriggerNotificationData": [
    {
      "ID": 1,
      "NotificationHeader": "sample string 2",
      "NotificationText": "sample string 3",
      "CreatedDate": "2024-10-16T15:52:24.6236222+02:00",
      "Comments": "sample string 5",
      "IsAcknowledged": true,
      "IsRead": true,
      "IsAcknowledgementRequired": true,
      "RegistrationNumber": "sample string 6",
      "LastAddress": "sample string 7",
      "TriggerScheduleID": 8,
      "Latitude": 9.0,
      "Longitude": 10.0,
      "TotalLeftNotificationCount": 11
    },
    {
      "ID": 1,
      "NotificationHeader": "sample string 2",
      "NotificationText": "sample string 3",
      "CreatedDate": "2024-10-16T15:52:24.6236222+02:00",
      "Comments": "sample string 5",
      "IsAcknowledged": true,
      "IsRead": true,
      "IsAcknowledgementRequired": true,
      "RegistrationNumber": "sample string 6",
      "LastAddress": "sample string 7",
      "TriggerScheduleID": 8,
      "Latitude": 9.0,
      "Longitude": 10.0,
      "TotalLeftNotificationCount": 11
    },
    {
      "ID": 1,
      "NotificationHeader": "sample string 2",
      "NotificationText": "sample string 3",
      "CreatedDate": "2024-10-16T15:52:24.6236222+02:00",
      "Comments": "sample string 5",
      "IsAcknowledged": true,
      "IsRead": true,
      "IsAcknowledgementRequired": true,
      "RegistrationNumber": "sample string 6",
      "LastAddress": "sample string 7",
      "TriggerScheduleID": 8,
      "Latitude": 9.0,
      "Longitude": 10.0,
      "TotalLeftNotificationCount": 11
    }
  ],
  "Success": true,
  "ErrorMessage": "sample string 2",
  "MenuAccessData": {
    "HasAccessToMap": true,
    "HasAccessToVehicle": true,
    "HasAccessToVehicleAdministration": true,
    "HasAccessToDriver": true,
    "HasAccessToPOI": true,
    "HasAccessToReports": true,
    "HasAccessToSettings": true,
    "HasAccessToTrips": true,
    "HasAccessToTranslations": true,
    "HasAccessToDashboard": true,
    "HasAccessToLogBook": true,
    "HasAccessToGroup": true,
    "HasAccessToTemplate": true,
    "HasAccessToUnit": true,
    "HasAccessToUser": true,
    "HasAccessToTicket": true,
    "HasAccessToContract": true,
    "HasAccessToSIM": true,
    "HasAccessToCommand": true,
    "HasAccessToUnitProfile": true,
    "HasAccessToProfileTrigger": true,
    "HasAccessToScript": true,
    "HasAccessToTriggerSchedule": true
  },
  "StatusCode": 3,
  "ComponentFilterIds": [
    1,
    2,
    3
  ]
}

text/html

Sample:
{"TriggerNotificationData":[{"ID":1,"NotificationHeader":"sample string 2","NotificationText":"sample string 3","CreatedDate":"2024-10-16T15:52:24.6236222+02:00","Comments":"sample string 5","IsAcknowledged":true,"IsRead":true,"IsAcknowledgementRequired":true,"RegistrationNumber":"sample string 6","LastAddress":"sample string 7","TriggerScheduleID":8,"Latitude":9.0,"Longitude":10.0,"TotalLeftNotificationCount":11},{"ID":1,"NotificationHeader":"sample string 2","NotificationText":"sample string 3","CreatedDate":"2024-10-16T15:52:24.6236222+02:00","Comments":"sample string 5","IsAcknowledged":true,"IsRead":true,"IsAcknowledgementRequired":true,"RegistrationNumber":"sample string 6","LastAddress":"sample string 7","TriggerScheduleID":8,"Latitude":9.0,"Longitude":10.0,"TotalLeftNotificationCount":11},{"ID":1,"NotificationHeader":"sample string 2","NotificationText":"sample string 3","CreatedDate":"2024-10-16T15:52:24.6236222+02:00","Comments":"sample string 5","IsAcknowledged":true,"IsRead":true,"IsAcknowledgementRequired":true,"RegistrationNumber":"sample string 6","LastAddress":"sample string 7","TriggerScheduleID":8,"Latitude":9.0,"Longitude":10.0,"TotalLeftNotificationCount":11}],"Success":true,"ErrorMessage":"sample string 2","MenuAccessData":{"HasAccessToMap":true,"HasAccessToVehicle":true,"HasAccessToVehicleAdministration":true,"HasAccessToDriver":true,"HasAccessToPOI":true,"HasAccessToReports":true,"HasAccessToSettings":true,"HasAccessToTrips":true,"HasAccessToTranslations":true,"HasAccessToDashboard":true,"HasAccessToLogBook":true,"HasAccessToGroup":true,"HasAccessToTemplate":true,"HasAccessToUnit":true,"HasAccessToUser":true,"HasAccessToTicket":true,"HasAccessToContract":true,"HasAccessToSIM":true,"HasAccessToCommand":true,"HasAccessToUnitProfile":true,"HasAccessToProfileTrigger":true,"HasAccessToScript":true,"HasAccessToTriggerSchedule":true},"StatusCode":3,"ComponentFilterIds":[1,2,3]}

application/xml, text/xml

Sample:
<APITriggerNotificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.APIModels">
  <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Model.Transport">Success</ResponseCode>
  <ComponentFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </ComponentFilterIds>
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">sample string 2</ErrorMessage>
  <MenuAccessData xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">
    <HasAccessToCommand>true</HasAccessToCommand>
    <HasAccessToContract>true</HasAccessToContract>
    <HasAccessToDashboard>true</HasAccessToDashboard>
    <HasAccessToDriver>true</HasAccessToDriver>
    <HasAccessToGroup>true</HasAccessToGroup>
    <HasAccessToLogBook>true</HasAccessToLogBook>
    <HasAccessToMap>true</HasAccessToMap>
    <HasAccessToPOI>true</HasAccessToPOI>
    <HasAccessToProfileTrigger>true</HasAccessToProfileTrigger>
    <HasAccessToReports>true</HasAccessToReports>
    <HasAccessToSIM>true</HasAccessToSIM>
    <HasAccessToScript>true</HasAccessToScript>
    <HasAccessToSettings>true</HasAccessToSettings>
    <HasAccessToTemplate>true</HasAccessToTemplate>
    <HasAccessToTicket>true</HasAccessToTicket>
    <HasAccessToTranslations>true</HasAccessToTranslations>
    <HasAccessToTriggerSchedule>true</HasAccessToTriggerSchedule>
    <HasAccessToTrips>true</HasAccessToTrips>
    <HasAccessToUnit>true</HasAccessToUnit>
    <HasAccessToUnitProfile>true</HasAccessToUnitProfile>
    <HasAccessToUser>true</HasAccessToUser>
    <HasAccessToVehicle>true</HasAccessToVehicle>
    <HasAccessToVehicleAdministration>true</HasAccessToVehicleAdministration>
  </MenuAccessData>
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">3</StatusCode>
  <Success xmlns="http://schemas.datacontract.org/2004/07/Accessor.Common.Models.APIModels">true</Success>
  <TriggerNotificationData>
    <APITriggerNotificationData>
      <Comments>sample string 5</Comments>
      <CreatedDate>2024-10-16T15:52:24.6236222+02:00</CreatedDate>
      <ID>1</ID>
      <IsAcknowledged>true</IsAcknowledged>
      <IsAcknowledgementRequired>true</IsAcknowledgementRequired>
      <IsRead>true</IsRead>
      <LastAddress>sample string 7</LastAddress>
      <Latitude>9</Latitude>
      <Longitude>10</Longitude>
      <NotificationHeader>sample string 2</NotificationHeader>
      <NotificationText>sample string 3</NotificationText>
      <RegistrationNumber>sample string 6</RegistrationNumber>
      <TotalLeftNotificationCount>11</TotalLeftNotificationCount>
      <TriggerScheduleID>8</TriggerScheduleID>
    </APITriggerNotificationData>
    <APITriggerNotificationData>
      <Comments>sample string 5</Comments>
      <CreatedDate>2024-10-16T15:52:24.6236222+02:00</CreatedDate>
      <ID>1</ID>
      <IsAcknowledged>true</IsAcknowledged>
      <IsAcknowledgementRequired>true</IsAcknowledgementRequired>
      <IsRead>true</IsRead>
      <LastAddress>sample string 7</LastAddress>
      <Latitude>9</Latitude>
      <Longitude>10</Longitude>
      <NotificationHeader>sample string 2</NotificationHeader>
      <NotificationText>sample string 3</NotificationText>
      <RegistrationNumber>sample string 6</RegistrationNumber>
      <TotalLeftNotificationCount>11</TotalLeftNotificationCount>
      <TriggerScheduleID>8</TriggerScheduleID>
    </APITriggerNotificationData>
    <APITriggerNotificationData>
      <Comments>sample string 5</Comments>
      <CreatedDate>2024-10-16T15:52:24.6236222+02:00</CreatedDate>
      <ID>1</ID>
      <IsAcknowledged>true</IsAcknowledged>
      <IsAcknowledgementRequired>true</IsAcknowledgementRequired>
      <IsRead>true</IsRead>
      <LastAddress>sample string 7</LastAddress>
      <Latitude>9</Latitude>
      <Longitude>10</Longitude>
      <NotificationHeader>sample string 2</NotificationHeader>
      <NotificationText>sample string 3</NotificationText>
      <RegistrationNumber>sample string 6</RegistrationNumber>
      <TotalLeftNotificationCount>11</TotalLeftNotificationCount>
      <TriggerScheduleID>8</TriggerScheduleID>
    </APITriggerNotificationData>
  </TriggerNotificationData>
</APITriggerNotificationResponse>