-
Notifications
You must be signed in to change notification settings - Fork 5
/
bookings.html
546 lines (222 loc) · 16.2 KB
/
bookings.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Bookings · GitBook</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link rel="stylesheet" href="gitbook/style.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="tickets.html" />
<link rel="prev" href="vehicles.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="1.1" data-path="./">
<a href="./">
Introduction
</a>
</li>
<li class="chapter " data-level="1.2" data-path="maas-overview.html">
<a href="maas-overview.html">
MaaS Overview
</a>
</li>
<li class="header">Transportation Service Providers</li>
<li class="chapter " data-level="2.1" data-path="introduction.html">
<a href="introduction.html">
Introduction
</a>
</li>
<li class="chapter " data-level="2.2" data-path="vehicles.html">
<a href="vehicles.html">
Vehicles
</a>
</li>
<li class="chapter active" data-level="2.3" data-path="bookings.html">
<a href="bookings.html">
Bookings
</a>
</li>
<li class="chapter " data-level="2.4" data-path="tickets.html">
<a href="tickets.html">
Tickets
</a>
</li>
<li class="chapter " data-level="2.5" data-path="products.html">
<a href="products.html">
Products
</a>
</li>
<li class="chapter " data-level="2.6" data-path="coverage-and-routes.html">
<a href="coverage-and-routes.html">
Coverage and Routes
</a>
</li>
<li class="chapter " data-level="2.7" data-path="announcements.html">
<a href="announcements.html">
Announcements
</a>
</li>
<li class="chapter " data-level="2.8" data-path="payments.html">
<a href="payments.html">
Payments
</a>
</li>
<li class="header">Mobility as a Service Providers</li>
<li class="chapter " data-level="3.1" data-path="mobility-as-a-service-providers/introduction.html">
<a href="mobility-as-a-service-providers/introduction.html">
Introduction
</a>
</li>
<li class="chapter " data-level="3.2" data-path="mobility-as-a-service-providers/roaming.html">
<a href="mobility-as-a-service-providers/roaming.html">
Roaming
</a>
</li>
<li class="chapter " data-level="3.3" data-path="mobility-as-a-service-providers/simplicity.html">
<a href="mobility-as-a-service-providers/simplicity.html">
Simplicity
</a>
</li>
<li class="chapter " data-level="3.4" data-path="mobility-as-a-service-providers/identity.html">
<a href="mobility-as-a-service-providers/identity.html">
Identity
</a>
</li>
<li class="chapter " data-level="3.5" data-path="mobility-as-a-service-providers/consistency.html">
<a href="mobility-as-a-service-providers/consistency.html">
Consistency
</a>
</li>
<li class="chapter " data-level="3.6" data-path="mobility-as-a-service-providers/awareness.html">
<a href="mobility-as-a-service-providers/awareness.html">
Awareness
</a>
</li>
<li class="header">Common Responsibilities</li>
<li class="chapter " data-level="4.1" data-path="common-responsibilities/data-sharing.html">
<a href="common-responsibilities/data-sharing.html">
Data sharing
</a>
</li>
<li class="chapter " data-level="4.2" data-path="common-responsibilities/privacy.html">
<a href="common-responsibilities/privacy.html">
Privacy
</a>
</li>
<li class="chapter " data-level="4.3" data-path="common-responsibilities/public-benefit.html">
<a href="common-responsibilities/public-benefit.html">
Public benefit
</a>
</li>
<li class="chapter " data-level="4.4" data-path="common-responsibilities/two-way-communication.html">
<a href="common-responsibilities/two-way-communication.html">
Two-way communication
</a>
</li>
<li class="header">End matter</li>
<li class="chapter " data-level="5.1" data-path="GLOSSARY.html">
<a href="GLOSSARY.html">
Glossary
</a>
</li>
<li class="chapter " data-level="5.2" data-path="resources.html">
<a href="resources.html">
Resources
</a>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
Published with GitBook
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="." >Bookings</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="bookings">Bookings</h1>
<p>Bookings represent an agreement between a <a href="GLOSSARY.html#transportation-service-provider" class="glossary-term" title="An organization or operator that maintains one or more vehicles for the purpose of transporting goods or people.">Transportation Service Provider</a> and a passenger. The <a href="GLOSSARY.html#booking" class="glossary-term" title="A form of reservation with one or more transportation service providers that enables a person to take a trip.">booking</a> confirms the <strong>vehicle availablility</strong> of a transportation service and the passenger <strong>payment</strong> to reserve access to the vehicle. Bookings are typically represented in the form of a <a href="GLOSSARY.html#ticket" class="glossary-term" title="A digital or physical representation of a booking, allowing a person to gain access to a form of transportation.">ticket</a>, whether physical or digital, but are distinct from the <a href="GLOSSARY.html#ticket" class="glossary-term" title="A digital or physical representation of a booking, allowing a person to gain access to a form of transportation.">ticket</a> itself.</p>
<h2 id="booking-options">Booking options</h2>
<p>When planning a <a href="GLOSSARY.html#trip" class="glossary-term" title="A journey, taken by one or more persons, with one or more modes of transportation.">trip</a>, there may be multiple options that would deliver a passenger to their destination. As such, it is important that the TSP provide access to <a href="GLOSSARY.html#booking" class="glossary-term" title="A form of reservation with one or more transportation service providers that enables a person to take a trip.">booking</a> options via a programmatic API. In turn, MaaS providers display <a href="GLOSSARY.html#booking" class="glossary-term" title="A form of reservation with one or more transportation service providers that enables a person to take a trip.">booking</a> options to the end-user, allowing them to select the option(s) that best fit their needs and preferences.</p>
<h2 id="booking-actions">Booking actions</h2>
<p>In addition to knowing what <a href="GLOSSARY.html#booking" class="glossary-term" title="A form of reservation with one or more transportation service providers that enables a person to take a trip.">booking</a> options are available, MaaS providers need to create and manage bookings on behalf of passengers. This includes the need to</p>
<ul>
<li><em>create</em> bookings, </li>
<li><em>read</em> details about existing bookings, </li>
<li><em>update</em> <a href="GLOSSARY.html#booking" class="glossary-term" title="A form of reservation with one or more transportation service providers that enables a person to take a trip.">booking</a> details, and, in some cases, </li>
<li><em>cancel</em> bookings.</li>
</ul>
<h2 id="further-reading">Further reading</h2>
<ul>
<li>MaaS TSP APIs: <a href="http://docs.maas-api.org/" target="_blank">Bookings</a> - specification describing Bookings API endpoints and data structures</li>
</ul>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="vehicles.html" class="navigation navigation-prev " aria-label="Previous page: Vehicles">
<i class="fa fa-angle-left"></i>
</a>
<a href="tickets.html" class="navigation navigation-next " aria-label="Next page: Tickets">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Bookings","level":"2.3","depth":1,"next":{"title":"Tickets","level":"2.4","depth":1,"path":"tickets.md","ref":"tickets.md","articles":[]},"previous":{"title":"Vehicles","level":"2.2","depth":1,"path":"vehicles.md","ref":"vehicles.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"bookings.md","mtime":"2020-01-09T10:47:09.817Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-01-09T10:57:07.288Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
<script src="gitbook/gitbook.js"></script>
<script src="gitbook/theme.js"></script>
<script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="gitbook/gitbook-plugin-search/search.js"></script>
<script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>