Skip to content

deutschebahn.js: Extract stop messages

Kai Uwe Broulik requested to merge work/kbroulik/db-zugportal-msg into master

For Zugportal messages. So far only "CUSTOMER_REASON" (which is probably what should be shown to the user) is extracted, there might be more.

Also, not sure what others there are, and what "code 34" is.


Example

"messages":[{
    "code":"34",
    "type":"CUSTOMER_REASON",
    "displayPriority":null,
    "category":null,
    "text":"Reparatur an einem Signal",
    "textShort":null
}]

Merge request reports