Closed almex closed 9 years ago
see [#30] for more explanation of the JSON response.
Here is an example of a canceled stop:
{"jId":"513_150408_8891702_1340",
"csId":8814001,
"cs":"Bruxelles-Midi",
"csAt":"14:54",
"csDt":"14:56",
"dA":0,
"dD":0,
"jN":"IC 513",
"dsId":8891702,
"dT":"13:40",
"asId":8844628,
"aT":"16:45",
"oD":1428444000000,
"c1":null,
"c2":null,
"tI":11,
"tA":"12",
"tD":"12",
"sA":0,
"sD":1,
"tAR":"",
"tDR":"",
"sCS":null,
"tNr":"513",
"idD":null,
"idO":null,
"sJ":null
}
sA
= 'suppression' (French word for cancel) Arrival -> null/0 = false
- 1 = true
sD
= 'suppression' (French word for cancel) Departure -> null/0 = false
- 1 = true
Here is what is rendered with our data:
Should take into account sD for departure and sA for arrival. Otherwise the status is wrong :
We don't know yet what is used to determine in the JSON response when we have a canceled stop.