Change of Origin: Difference between revisions
m categorisation |
No edit summary |
||
Line 68: | Line 68: | ||
|The time at which the Change of Origin is entered into TRUST | |The time at which the Change of Origin is entered into TRUST | ||
|} | |} | ||
{{Navtable-DataFeeds}} | |||
[[Category:Train Movement Data]] | [[Category:Train Movement Data]] |
Revision as of 18:25, 23 May 2013
Overview
When a train is due to start from a location other than the first location in the schedule, a change of origin message will be sent.
Trains may start from alternate locations for two reasons:
- When the previous working is terminated short of its destination and the return working will start from that location
- When the train starts from, for example, Doncaster North Yard rather than the schedule location of Doncaster South Yard
Data structure
Header
Field | Description |
---|---|
msg_type | Set to '0006' for an change of origin message |
source_dev_id | Set to the ID of the device that issued the change of origin message |
source_system_id | Set to "TRUST" for a change of origin message |
original_data_source | Set to "TRUST DA" or "SDR" for a change of origin message |
Body
Field | Description |
---|---|
train_id | The 10-character unique identity for this train at TRUST activation time |
dep_timestamp | The planned departure time at the location where the train is being reinstated |
original_loc_stanox | If the location has been revised, e.g. the new origin is 'out of plan' for the train, the STANOX of location in the schedule at activation |
original_loc_timestamp | The planned departure time associated with the original location |
current_train_id | Always blank |
train_service_code | Train service code as per schedule |
reason_code | The reason code for the cancellation, taken from the Delay Attribution Guide |
division_code | Operating company ID as per TOC Codes |
toc_id | Operating company ID as per TOC Codes |
train_file_address | The TOPS train file address, if applicable |
coo_timestamp | The time at which the Change of Origin is entered into TRUST |
Network Rail Open Data Feeds | |
---|---|
Data Feeds | About the Feeds • Account States • Durable Subscriptions • Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced Uses • FAQ • Release Notes |
RTPPM | RTPPM Feed |
Train Movements | Train Movements Feed • Train Activation • Train Cancellation • Train Movement • Train Reinstatement • Change of Origin • Change of Identity • Change of Location • TSPEED Field • Planned Cancellations • Cancellation Codes |
TD | TD Feed • C-Class Messages • S-Class Messages • Train Describers • TD Berths |
VSTP | VSTP Feed |
TSR | TSR Feed • Route Codes |
SCHEDULE | SCHEDULE Feed • TIPLOC Records • Schedule and Location Records • Association Records • CIF Codes • How Scheduling Works • Allowances |
Reference Data | Reference Data Feed • TOC Codes • CIF Codes • Delay Attribution Codes • Identifying Locations (STANOX, TIPLOC, NLC and 3-Alpha Codes) • STANOX Geographical Areas • Train Planning data (BPLAN) |