-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenapi_ojp.yaml
More file actions
526 lines (522 loc) · 28.7 KB
/
openapi_ojp.yaml
File metadata and controls
526 lines (522 loc) · 28.7 KB
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
openapi: "3.0.1"
info:
title: "Swiss OJP OpenAPI explorer"
version: "1.0"
description: |
This swagger introduces the list of provided services the Swiss OJP 1.0 and OJP 2.0 service. The interface follows the CEN standard interface OJP (Open API for distributed Journey Planning). For tests you need first to login with your key or this test key
OJP 1.0:
`57c5dbbbf1fe4d000100001842c323fa9ff44fbba0b9b925f0c052d1`.
OJP 2.0 (neuer Schlüssel):
`eyJvcmciOiI2NDA2NTFhNTIyZmEwNTAwMDEyOWJiZTEiLCJpZCI6IjlkMGQ5NzA1ZDNjMDRhNWU4YTVhZjJkMWY2OTgxYzkwIiwiaCI6Im11cm11cjEyOCJ9`.
You can alter the different examples provided. Some parts are commented out. You make them valid again. Probably you will need to change the value to get a useful result (e.g. set it to the current date)
We offer currently tests for the following services:
- OJPLocationRequest: LIR
- OJPTripRequest: TR
- OJPStopEventRequest: SER
- OJPTripInfoRequest: TIR
externalDocs:
description: "OJP documentation"
url: "https://www.oev-info.ch/sites/default/files/2023-05/open_journey_planner_ojp_de_v1.pdf"
servers:
- url: "https://api.opentransportdata.swiss"
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
security:
- bearerAuth: []
paths:
/ojp20:
post:
summary: "OJP 2.0 acccess"
operationId: "OJP2.0"
description: "OJP 2.0 is the name API under current development. However, this is access to the productive version. OJP 2.0 is a traditional API, where the operation definitions is done in body of the post request."
requestBody:
required: true
content:
application/xml:
schema:
type: object
xml:
name: "OJP"
wrapped: true
examples:
exampleLIR1:
summary: "1. Location Information Service - Simple"
description: "Simple OJPLocationInformationtRequest for Bern"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../Downloads/OJP-changes_for_v1.1%20(1)/OJP-changes_for_v1.1/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPLocationInformationRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:MessageIdentifier>LIR-1a</siri:MessageIdentifier>
<InitialInput>
<Name>Bern</Name>
</InitialInput>
<Restrictions>
<Type>stop</Type>
<NumberOfResults>10</NumberOfResults>
</Restrictions>
</OJPLocationInformationRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleLIR2:
summary: "2. Location Information Service - topographic place"
description: "Simple OJPLocationInformationtRequest for Schaffhausen"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../Downloads/OJP-changes_for_v1.1%20(1)/OJP-changes_for_v1.1/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPLocationInformationRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:MessageIdentifier>LIR-1b</siri:MessageIdentifier>
<InitialInput>
<Name>Schaffh</Name>
</InitialInput>
<Restrictions>
<Type>topographicPlace</Type>
<NumberOfResults>10</NumberOfResults>
</Restrictions>
</OJPLocationInformationRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleLIR4:
summary: "3. Location Information Service - coordinate search rectangle"
description: "OJPLocationInformationtRequest with circle coordinates"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../Downloads/OJP-changes_for_v1.1%20(1)/OJP-changes_for_v1.1/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPLocationInformationRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:MessageIdentifier>LIR-1d</siri:MessageIdentifier>
<InitialInput>
<GeoRestriction>
<Circle>
<Center>
<siri:Longitude>8.55330</siri:Longitude>
<siri:Latitude>47.37609</siri:Latitude>
</Center>
<Radius>1000</Radius>
</Circle>
</GeoRestriction>
</InitialInput>
<Restrictions>
<Type>stop</Type>
<NumberOfResults>10</NumberOfResults>
</Restrictions>
</OJPLocationInformationRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleLIR5:
summary: "4. Location Information Service - extended version"
description: "OJPLocationInformationtRequest extened"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../OJP4/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPLocationInformationRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:MessageIdentifier>LIR-1c</siri:MessageIdentifier>
<InitialInput>
<GeoPosition>
<siri:Longitude>8.55330</siri:Longitude>
<siri:Latitude>47.37609</siri:Latitude>
</GeoPosition>
</InitialInput>
<Restrictions>
<Type>stop</Type>
<NumberOfResults>10</NumberOfResults>
<IncludePtModes>true</IncludePtModes>
<IncludeOperators>true</IncludeOperators>
</Restrictions>
</OJPLocationInformationRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleSER1:
summary: "5. Stop Event Service - Simple"
description: "Simple OJPStopEventRequest for Bern"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../OJP4/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPStopEventRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:MessageIdentifier>SER</siri:MessageIdentifier>
<Location>
<PlaceRef>
<StopPlaceRef>8507000</StopPlaceRef>
<Name>
<Text>Bern</Text>
</Name>
</PlaceRef>
<!-- <DepArrTime>2024-06-01T11:24:34.598Z</DepArrTime> -->
</Location>
<Params>
<OperatorFilter>
<Exclude>false</Exclude>
<OperatorRef>11</OperatorRef>
</OperatorFilter>
<NumberOfResults>5</NumberOfResults>
<StopEventType>departure</StopEventType>
<IncludePreviousCalls>false</IncludePreviousCalls>
<IncludeOnwardCalls>true</IncludeOnwardCalls>
<UseRealtimeData>full</UseRealtimeData>
</Params>
</OJPStopEventRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleSER3:
summary: "6. Stop Event Service - complex"
description: "Complex OJPStopEventRequest"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../OJP4/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPStopEventRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:MessageIdentifier>SER</siri:MessageIdentifier>
<Location>
<PlaceRef>
<siri:StopPointRef>8530813</siri:StopPointRef>
<Name>
<Text>Zürich Kreuzplatz</Text>
</Name>
</PlaceRef>
<!-- <DepArrTime>2024-06-01T11:24:34.598Z</DepArrTime> -->
</Location>
<Params>
<NumberOfResults>5</NumberOfResults>
<StopEventType>departure</StopEventType>
<IncludePreviousCalls>false</IncludePreviousCalls>
<IncludeOnwardCalls>false</IncludeOnwardCalls>
<UseRealtimeData>full</UseRealtimeData>
<IncludeStopHierarchy>all</IncludeStopHierarchy>
</Params>
</OJPStopEventRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleTR1:
summary: "7. Trip Service - Simple"
description: "Simple OJPTripRequest Zürich - Schaffhausen"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp OJP_changes_for_v1.1/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPTripRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:MessageIdentifier>TR-1h2</siri:MessageIdentifier>
<Origin>
<PlaceRef>
<siri:StopPointRef>8503091</siri:StopPointRef>
<Name>
<Text>Giesshübel</Text>
</Name>
</PlaceRef>
<!-- <DepArrTime>2024-06-01T11:16:59.475Z</DepArrTime> -->
</Origin>
<Destination>
<PlaceRef>
<siri:StopPointRef>8503000</siri:StopPointRef>
<Name>
<Text>Zürich HB</Text>
</Name>
</PlaceRef>
</Destination>
<Params>
<ModeAndModeOfOperationFilter>
<Exclude>true</Exclude>
<PtMode>tram</PtMode>
</ModeAndModeOfOperationFilter>
<NumberOfResults>3</NumberOfResults>
</Params>
</OJPTripRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleTR3:
summary: "8. Trip Service - with lots of parameters"
description: "remove parameters to speed things up."
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vdv.de/ojp ../../../../OJP4/OJP.xsd">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPTripRequest>
<siri:RequestTimestamp>2024-06-01T11:24:34.598Z</siri:RequestTimestamp>
<siri:MessageIdentifier>TR-1g</siri:MessageIdentifier>
<Origin>
<PlaceRef>
<siri:StopPointRef>8503016</siri:StopPointRef>
<Name>
<Text>Zürich Flughafen</Text>
</Name>
</PlaceRef>
<!-- <DepArrTime>2024-06-01T11:24:34.598Z</DepArrTime> -->
</Origin>
<Destination>
<PlaceRef>
<siri:StopPointRef>8503424</siri:StopPointRef>
<Name>
<Text>Schaffhausen</Text>
</Name>
</PlaceRef>
<!-- <DepArrTime>2024-06-01T11:24:34.598Z</DepArrTime> -->
</Destination>
<NoChangeAt>
<StopPlaceRef>8506000</StopPlaceRef>
</NoChangeAt>
<Params>
<NoSingleStep>false</NoSingleStep>
<NoStairs>true</NoStairs>
<NoEscalator>false</NoEscalator>
<NoElevator>false</NoElevator>
<NoRamp>false</NoRamp>
<NoSight>false</NoSight>
<NoTravelator>false</NoTravelator>
<LevelEntrance>true</LevelEntrance>
<LevelEntranceOrBoardingAid>false</LevelEntranceOrBoardingAid>
<BikeTransport>false</BikeTransport>
<WalkSpeed>150</WalkSpeed>
<HikingProfile>easy</HikingProfile>
<CyclingProfile>comfortable</CyclingProfile>
<NumberOfResults>1</NumberOfResults>
<UseRealtimeData>explanatory</UseRealtimeData>
<OptimisationMethod>fastest</OptimisationMethod>
<IncludeAlternativeOptions>true</IncludeAlternativeOptions>
<IncludeLegProjection>false</IncludeLegProjection>
<IncludeTurnDescription>false</IncludeTurnDescription>
<IncludeAccessFeatures>true</IncludeAccessFeatures>
<IncludeSituationsContext>false</IncludeSituationsContext>
<IncludeIntermediateStops>false</IncludeIntermediateStops>
<IncludeOperatingDays>true</IncludeOperatingDays>
</Params>
</OJPTripRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
exampleTIR1:
summary: "9. Trip Information Service"
description: "You need to copy a valid JourneyRef from the Service of a recently obtained. Operating day also needs to set to a valid day."
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP version="2.0" xsi:schemaLocation="http://www.vdv.de/ojp OJP_changes_for_v1.1/OJP.xsd" xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OJPRequest>
<siri:ServiceRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:RequestorRef>MENTZRegTest</siri:RequestorRef>
<OJPTripInfoRequest>
<siri:RequestTimestamp>2024-06-01T11:16:59.475Z</siri:RequestTimestamp>
<siri:MessageIdentifier>TIR-1a</siri:MessageIdentifier>
<JourneyRef>ojp-91-3-J-j24-1-3107-TA</JourneyRef>
<OperatingDayRef>2024-06-10</OperatingDayRef>
</OJPTripInfoRequest>
</siri:ServiceRequest>
</OJPRequest>
</OJP>
responses:
"400":
description: "Bad Request"
content:
application/xml:
schema:
type: object
xml:
name: "OJP"
wrapped: true
examples:
example1:
summary: "Not a valid XML"
description: "The request is not valid. Check with xmllint or XMLSpy or so."
value: |
<problem xmlns="urn:ietf:rfc:7807">
<status>400</status>
<title>One or more validation errors occurred.</title>
<type>https://tools.ietf.org/html/rfc7231#section-6.5.1</type>
<traceId>00-32a4cf02692338530c7fd9899f0d6e4f-55e5e50844017d32-00</traceId>
<MVC-Errors>
<MVC-Empty>An error occurred while deserializing input data.</MVC-Empty>
</MVC-Errors>
</problem>
"401":
description: "Unauthorized"
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
examples:
example2:
summary: "Wrong or no key provided"
description: "Get a correct key and apply it correctly."
value:
error: "Authorization field missing"
"403":
description: "Forbidden"
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
examples:
example2:
summary: "Wrong or no key provided"
description: "Get a correct key and apply it correctly."
value:
error: "Access to this API has been disallowed"
"500":
description: "Internal server error"
content:
application/json:
schema:
type: object
properties:
traceId:
type: string
error:
type: string
host:
type: string
required:
- error
examples:
example3:
summary: "Something caused an internal problem"
description: "Some parameter could really not be processed."
value:
traceId: "dfdd"
error: "Object reference not set to an instance of an object."
host: "xyk1-123host.host"
/ojp2020:
post:
summary: "OJP 1.0 acccess"
operationId: "OJP1.0"
description: "OJP is a traditional API, where the operation definitions is done in body of the post request"
requestBody:
required: true
content:
application/xml:
schema:
type: object
xml:
name: "OJP"
wrapped: true
examples:
exampleA:
summary: "LIR - Simple"
description: "Simple OJPLocationInformationtRequest for Bern"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.siri.org.uk/siri" version="1.0" xmlns:ojp="http://www.vdv.de/ojp" xsi:schemaLocation="http://www.siri.org.uk/siri ../ojp-xsd-v1.0/OJP.xsd">
<OJPRequest>
<ServiceRequest>
<RequestTimestamp>2024-06-01T11:24:34.598Z</RequestTimestamp>
<RequestorRef>API-Explorer</RequestorRef>
<ojp:OJPLocationInformationRequest>
<RequestTimestamp>2024-06-01T11:24:34.598Z</RequestTimestamp>
<ojp:InitialInput>
<ojp:LocationName>Bern</ojp:LocationName>
</ojp:InitialInput>
<ojp:Restrictions>
<ojp:Type>stop</ojp:Type>
<ojp:NumberOfResults>1</ojp:NumberOfResults>
<ojp:IncludePtModes>true</ojp:IncludePtModes>
</ojp:Restrictions>
</ojp:OJPLocationInformationRequest>
</ServiceRequest>
</OJPRequest>
</OJP>
exampleB:
summary: "SER - Simple"
description: "Simple OJPStopEventRequest for Bern"
value: |
<?xml version="1.0" encoding="UTF-8"?>
<OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.siri.org.uk/siri" version="1.0" xmlns:ojp="http://www.vdv.de/ojp" xsi:schemaLocation="http://www.siri.org.uk/siri ../ojp-xsd-v1.0/OJP.xsd">
<OJPRequest>
<ServiceRequest>
<RequestTimestamp>2024-06-01T11:16:59.475Z</RequestTimestamp>
<RequestorRef>API-Explorer</RequestorRef>
<ojp:OJPStopEventRequest>
<RequestTimestamp>2024-06-01T11:16:59.475Z</RequestTimestamp>
<ojp:Location>
<ojp:PlaceRef>
<StopPlaceRef>8507000</StopPlaceRef>
<ojp:LocationName>
<ojp:Text>Bern</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
<!-- <ojp:DepArrTime>2024-06-01T12:43:50</ojp:DepArrTime> -->
</ojp:Location>
<ojp:Params>
<ojp:OperatorFilter>
<ojp:Exclude>false</ojp:Exclude>
<ojp:OperatorRef>11</ojp:OperatorRef>
</ojp:OperatorFilter>
<ojp:NumberOfResults>1</ojp:NumberOfResults>
<ojp:StopEventType>departure</ojp:StopEventType>
<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>
</ojp:Params>
</ojp:OJPStopEventRequest>
</ServiceRequest>
</OJPRequest>
</OJP>
responses:
"401":
description: "Unauthorized"
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
examples:
exampleAX:
summary: "Wrong or no key provided"
description: "Get a correct key and apply it correctly."
value:
error: Authorization field missing