Darwin:Train Alert data: Difference between revisions
No edit summary |
m Added category |
||
Line 46: | Line 46: | ||
|- | |- | ||
|} | |} | ||
[[Category:National Rail Enquiries Data Feeds]] |
Revision as of 20:53, 11 July 2015
Train Alerts
Overview
Train alerts can be sent out through the Push Port by the NRCC or a TOC. A train alert can be attached to one or more services or to a station that the service calls at.
Detail
The following table shows the data items in a train alert.
Data item | Description |
---|---|
Alert ID | Unique identifier for the alert |
Services | List of services attached to this alert |
SendAlertBySMS | If this is set to True, then this alert can be sent by SMS |
SendAlertByEmail | If this is set to True, then this alert can be sent by Email |
SendAlertByTwitter | If this is set to True, then this alert can be sent by Twitter |
Source | The alert sender, either the TOC code or the string "NRCC" |
AlertText | The text of the alert |
Audience | The target audience of the alert, one of Customer, Staff, or Operations |
AlertType | This can be either Normal or Forced. Forced alerts are sent by clients immediately, while Normal alerts are sent within a time window |
CopiedFromAlertID | This is an optional item, and is the original Alert ID from which this alert has been copied |
CopiedFromSource | This is an optional item, and is the original source (TOC code or "NRCC") from which this alert has been copied |