You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<title>GB Rail API</title> |
|
<link rel="stylesheet" href="main.css"> |
|
<script src="script.js"></script> |
|
</head> |
|
<body> |
|
<h1>Search train schedule by train ID</h1> |
|
<h2>Syntax</h2> |
|
<div class="syntax">/schedule/{id}[/{date}]</div> |
|
<h3>Parameters</h3> |
|
<table class="param"> |
|
<tr> |
|
<th>id</th> |
|
<td>Train ID in the scheduling system</td> |
|
</tr> |
|
<tr> |
|
<th>date</th> |
|
<td> |
|
<span style="font-weight: bold">Optional</span> |
|
The date of the schedule to be searched, in <code>YYYY-MM-DD</code> |
|
format.<br> |
|
<span style="font-weight: bold">Default:</span> today |
|
</td> |
|
</tr> |
|
</table> |
|
<h2>Return Value</h2> |
|
TrainSchedule |
|
<h2>Type References</h2> |
|
<iframe class="retv" src="retv-TrainSchedule.html" id="retv-TrainSchedule" onload="resize('retv-TrainSchedule')"></iframe> |
|
<iframe class="retv" src="retv-TrainScheduleDetail.html" id="retv-TrainScheduleDetail" onload="resize('retv-TrainScheduleDetail')"></iframe> |
|
<iframe class="retv" src="retv-TrainAssociation.html" id="retv-TrainAssociation" onload="resize('retv-TrainAssociation')"></iframe> |
|
</body> |
|
</html> |