GET api/alertnotification/{userID}/{token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

The ID returned from a successful login

unsigned integer

Required

token

The authentication token returned from a successful login

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AlertNotificationResponse
NameDescriptionTypeAdditional information
ID

unsigned integer

None.

AlertTypeID

integer

None.

AlertType

string

None.

AlertID

unsigned integer

None.

ServiceID

unsigned integer

None.

VehicleReg

string

None.

Payload

string

None.

TimeStamp

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "AlertTypeID": 2,
    "AlertType": "sample string 3",
    "AlertID": 4,
    "ServiceID": 5,
    "VehicleReg": "sample string 6",
    "Payload": "sample string 7",
    "TimeStamp": "2025-04-27T15:23:06.2436248+00:00"
  },
  {
    "ID": 1,
    "AlertTypeID": 2,
    "AlertType": "sample string 3",
    "AlertID": 4,
    "ServiceID": 5,
    "VehicleReg": "sample string 6",
    "Payload": "sample string 7",
    "TimeStamp": "2025-04-27T15:23:06.2436248+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAlertNotificationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AlertNotificationResponse>
    <ID>1</ID>
    <AlertTypeID>2</AlertTypeID>
    <AlertType>sample string 3</AlertType>
    <AlertID>4</AlertID>
    <ServiceID>5</ServiceID>
    <VehicleReg>sample string 6</VehicleReg>
    <Payload>sample string 7</Payload>
    <TimeStamp>2025-04-27T15:23:06.2436248+00:00</TimeStamp>
  </AlertNotificationResponse>
  <AlertNotificationResponse>
    <ID>1</ID>
    <AlertTypeID>2</AlertTypeID>
    <AlertType>sample string 3</AlertType>
    <AlertID>4</AlertID>
    <ServiceID>5</ServiceID>
    <VehicleReg>sample string 6</VehicleReg>
    <Payload>sample string 7</Payload>
    <TimeStamp>2025-04-27T15:23:06.2436248+00:00</TimeStamp>
  </AlertNotificationResponse>
</ArrayOfAlertNotificationResponse>