20
20
description : Core EPR API read endpoints
21
21
- name : Core EPR Deletion Endpoints
22
22
description : Core EPR API deletion endpoints
23
- - name : EPR
24
- description : EPR API endpoints
25
- - name : SDS
23
+ - name : SDS Search Endpoints
26
24
description : Search Results provided for the SDS FHIR API
27
25
28
26
paths :
@@ -107,6 +105,8 @@ paths:
107
105
post :
108
106
operationId : createproductteamepr
109
107
summary : Create a Product Team (Epr) resource (POST)
108
+ description : |
109
+ - Create an EPR Product Team using a product team ID.
110
110
tags :
111
111
- Core EPR Creation Endpoints
112
112
requestBody :
@@ -133,6 +133,8 @@ paths:
133
133
get :
134
134
operationId : readproductteamepr
135
135
summary : Read a Product Team (Epr) resource (GET)
136
+ description : |
137
+ - Read an EPR Product Team using a product team ID.
136
138
tags :
137
139
- Core EPR Read Endpoints
138
140
parameters :
@@ -152,16 +154,16 @@ paths:
152
154
- ${authoriser_name} : []
153
155
- app-level0 : []
154
156
155
- /ProductTeamEpr /{product_team_id}/Product :
157
+ /ProductTeam /{product_team_id}/Product :
156
158
post :
157
159
operationId : createproductendpoint
158
160
summary : Create a Product resource (POST)
159
- tags :
160
- - Core EPR Creation Endpoints
161
161
description : |
162
162
This endpoint creates a new Product resource for the specified Product Team.
163
163
**Requirements:**
164
164
- A valid Product Team must exist
165
+ tags :
166
+ - Core Product ID Endpoints
165
167
parameters :
166
168
- $ref : " #/components/parameters/ProductTeamId"
167
169
- $ref : " #/components/parameters/HeaderVersion"
@@ -182,112 +184,177 @@ paths:
182
184
security :
183
185
- ${authoriser_name} : []
184
186
- app-level0 : []
187
+ # get:
188
+ # operationId: searchCpmProduct
189
+ # summary: Retrieve all Products associated with a Product Team (GET)
190
+ # parameters:
191
+ # - $ref: "#/components/parameters/ProductTeamId"
192
+ # - $ref: "#/components/parameters/HeaderVersion"
193
+ # - $ref: "#/components/parameters/HeaderRequestId"
194
+ # - $ref: "#/components/parameters/HeaderCorrelationId"
195
+ # responses:
196
+ # "200":
197
+ # $ref: "#/components/responses/ProductSearch"
198
+ # "404":
199
+ # $ref: "#/components/responses/NotFound"
200
+ # x-amazon-apigateway-integration:
201
+ # <<: *ApiGatewayIntegration
202
+ # uri: ${method_searchCpmProduct}
203
+ # security:
204
+ # - ${authoriser_name}: []
205
+ # - app-level0: []
206
+
207
+ /ProductTeam/{product_team_id}/Product/{product_id} :
185
208
get :
186
- operationId : searchCpmProduct
187
- summary : Retrieve all Products associated with a Product Team (GET)
209
+ operationId : readproductendpoint
210
+ summary : Read a Product resource (GET)
188
211
description : |
189
- - Retrieve all products for a Product Team using a product team ID.
212
+ - Retrieve a product using a product team ID and product ID.
190
213
tags :
191
- - Core EPR Read Endpoints
214
+ - Core Product ID Endpoints
192
215
parameters :
193
216
- $ref : " #/components/parameters/ProductTeamId"
217
+ - $ref : " #/components/parameters/ProductId"
194
218
- $ref : " #/components/parameters/HeaderVersion"
195
219
- $ref : " #/components/parameters/HeaderRequestId"
196
220
- $ref : " #/components/parameters/HeaderCorrelationId"
197
221
responses :
198
222
" 200 " :
199
- $ref : " #/components/responses/ProductSearch "
223
+ $ref : " #/components/responses/ProductRead "
200
224
" 404 " :
201
225
$ref : " #/components/responses/NotFound"
202
226
x-amazon-apigateway-integration :
203
227
<< : *ApiGatewayIntegration
204
- uri : ${method_searchCpmProduct }
228
+ uri : ${method_readCpmProduct }
205
229
security :
206
230
- ${authoriser_name} : []
207
231
- app-level0 : []
232
+ # delete:
233
+ # operationId: deleteproductendpoint
234
+ # summary: Delete a Product resource (DELETE)
235
+ # parameters:
236
+ # - $ref: "#/components/parameters/ProductTeamId"
237
+ # - $ref: "#/components/parameters/ProductId"
238
+ # - $ref: "#/components/parameters/HeaderVersion"
239
+ # - $ref: "#/components/parameters/HeaderRequestId"
240
+ # - $ref: "#/components/parameters/HeaderCorrelationId"
241
+ # responses:
242
+ # "204":
243
+ # description: Delete Product operation successful
244
+ # "404":
245
+ # $ref: "#/components/responses/NotFound"
246
+ # x-amazon-apigateway-integration:
247
+ # <<: *ApiGatewayIntegration
248
+ # uri: ${method_deleteCpmProduct}
249
+ # security:
250
+ # - ${authoriser_name}: []
251
+ # - app-level0: []
208
252
209
- /ProductTeamEpr/{product_team_id}/Product/{product_id} :
253
+ /ProductTeamEpr/{product_team_id}/ProductEpr :
254
+ post :
255
+ operationId : createproductendpointepr
256
+ summary : Create an EPR Product resource (POST)
257
+ description : |
258
+ This endpoint creates a new EPR Product resource for the specified Product Team.
259
+ **Requirements:**
260
+ - A valid Product Team must exist
261
+ tags :
262
+ - Core EPR Creation Endpoints
263
+ parameters :
264
+ - $ref : " #/components/parameters/ProductTeamId"
265
+ - $ref : " #/components/parameters/HeaderVersion"
266
+ - $ref : " #/components/parameters/HeaderRequestId"
267
+ - $ref : " #/components/parameters/HeaderCorrelationId"
268
+ requestBody :
269
+ $ref : " #/components/requestBodies/ProductCreateRequestBody"
270
+ responses :
271
+ " 201 " :
272
+ $ref : " #/components/responses/EprProductCreate"
273
+ " 400 " :
274
+ $ref : " #/components/responses/BadRequest"
275
+ " 404 " :
276
+ $ref : " #/components/responses/NotFound"
277
+ x-amazon-apigateway-integration :
278
+ << : *ApiGatewayIntegration
279
+ uri : ${method_createEprProduct}
280
+ security :
281
+ - ${authoriser_name} : []
282
+ - app-level0 : []
210
283
get :
211
- operationId : readproductendpoint
212
- summary : Read a Product resource (GET)
284
+ operationId : searchEprProduct
285
+ summary : Retrieve all EPR Products associated with a Product Team (GET)
213
286
description : |
214
- - Retrieve a product using a product team ID and product ID.
287
+ - Retrieve all EPR products for an EPR Product Team using a product team ID.
215
288
tags :
216
289
- Core EPR Read Endpoints
217
290
parameters :
218
291
- $ref : " #/components/parameters/ProductTeamId"
219
- - $ref : " #/components/parameters/ProductId"
220
292
- $ref : " #/components/parameters/HeaderVersion"
221
293
- $ref : " #/components/parameters/HeaderRequestId"
222
294
- $ref : " #/components/parameters/HeaderCorrelationId"
223
295
responses :
224
296
" 200 " :
225
- $ref : " #/components/responses/ProductRead "
297
+ $ref : " #/components/responses/ProductSearch "
226
298
" 404 " :
227
299
$ref : " #/components/responses/NotFound"
228
300
x-amazon-apigateway-integration :
229
301
<< : *ApiGatewayIntegration
230
- uri : ${method_readCpmProduct }
302
+ uri : ${method_searchEprProduct }
231
303
security :
232
304
- ${authoriser_name} : []
233
305
- app-level0 : []
234
- delete :
235
- operationId : deleteproductendpoint
236
- summary : Delete a Product resource (DELETE)
306
+
307
+ /ProductTeamEpr/{product_team_id}/ProductEpr/{product_id} :
308
+ get :
309
+ operationId : readproductendpointepr
310
+ summary : Read an EPR Product resource (GET)
237
311
description : |
238
- - Delete a product using a product team ID and product ID.
312
+ - Retrieve an EPR product using an EPR product team ID and product ID.
239
313
tags :
240
- - Core EPR Deletion Endpoints
314
+ - Core EPR Read Endpoints
241
315
parameters :
242
316
- $ref : " #/components/parameters/ProductTeamId"
243
317
- $ref : " #/components/parameters/ProductId"
244
318
- $ref : " #/components/parameters/HeaderVersion"
245
319
- $ref : " #/components/parameters/HeaderRequestId"
246
320
- $ref : " #/components/parameters/HeaderCorrelationId"
247
321
responses :
248
- " 204 " :
249
- description : Delete Product operation successful
322
+ " 200 " :
323
+ $ref : " #/components/responses/ProductRead "
250
324
" 404 " :
251
325
$ref : " #/components/responses/NotFound"
252
326
x-amazon-apigateway-integration :
253
327
<< : *ApiGatewayIntegration
254
- uri : ${method_deleteCpmProduct }
328
+ uri : ${method_readEprProduct }
255
329
security :
256
330
- ${authoriser_name} : []
257
331
- app-level0 : []
258
-
259
- /ProductTeamEpr/{product_team_id}/Product/Epr :
260
- post :
261
- operationId : createproductforeprendpoint
262
- summary : Create an EPR Product resource (POST)
263
- tags :
264
- - EPR
332
+ delete :
333
+ operationId : deleteeprproductendpoint
334
+ summary : Delete an EPR Product resource (DELETE)
265
335
description : |
266
- This endpoint creates a new EPR Product resource for the specified Product Team .
267
- **Requirements:**
268
- - A valid Product Team must exist
336
+ - Delete an EPR product using an EPR product team ID and product ID .
337
+ tags :
338
+ - Core EPR Deletion Endpoints
269
339
parameters :
270
340
- $ref : " #/components/parameters/ProductTeamId"
341
+ - $ref : " #/components/parameters/ProductId"
271
342
- $ref : " #/components/parameters/HeaderVersion"
272
343
- $ref : " #/components/parameters/HeaderRequestId"
273
344
- $ref : " #/components/parameters/HeaderCorrelationId"
274
- requestBody :
275
- $ref : " #/components/requestBodies/ProductCreateRequestBody"
276
345
responses :
277
- " 201 " :
278
- $ref : " #/components/responses/EprProductCreate"
279
- " 400 " :
280
- $ref : " #/components/responses/BadRequest"
346
+ " 204 " :
347
+ description : Delete Product operation successful
281
348
" 404 " :
282
349
$ref : " #/components/responses/NotFound"
283
350
x-amazon-apigateway-integration :
284
351
<< : *ApiGatewayIntegration
285
- uri : ${method_createCpmProductForEpr }
352
+ uri : ${method_deleteEprProduct }
286
353
security :
287
354
- ${authoriser_name} : []
288
355
- app-level0 : []
289
356
290
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/DeviceReferenceData
357
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/DeviceReferenceData
291
358
: get :
292
359
operationId : searchDeviceReferenceData
293
360
summary : Retrieve all Data Reference Data resources associated with a Product (GET)
@@ -343,7 +410,7 @@ paths:
343
410
- ${authoriser_name} : []
344
411
- app-level0 : []
345
412
346
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/DeviceReferenceData/MhsMessageSet
413
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/DeviceReferenceData/MhsMessageSet
347
414
: post :
348
415
operationId : createDeviceReferenceDataMessageSet
349
416
summary : Create a Device Reference Data Message Set resource (POST)
@@ -380,7 +447,7 @@ paths:
380
447
- ${authoriser_name} : []
381
448
- app-level0 : []
382
449
383
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/DeviceReferenceData/AccreditedSystemsAdditionalInteractions
450
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/DeviceReferenceData/AccreditedSystemsAdditionalInteractions
384
451
: post :
385
452
operationId : createDeviceReferenceDataAdditionalInteractions
386
453
summary : Create a Device Reference Data Additional Interactions resource (POST)
@@ -417,7 +484,7 @@ paths:
417
484
- ${authoriser_name} : []
418
485
- app-level0 : []
419
486
420
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/DeviceReferenceData/{device_reference_data_id}
487
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/DeviceReferenceData/{device_reference_data_id}
421
488
: get :
422
489
operationId : readDeviceReferenceData
423
490
summary : Read a Device Reference Data resource (GET)
@@ -445,8 +512,8 @@ paths:
445
512
- ${authoriser_name} : []
446
513
- app-level0 : []
447
514
448
- /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/Device :
449
- post :
515
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/Device
516
+ : post :
450
517
operationId : createDevice
451
518
summary : Create a Device resource (POST)
452
519
tags :
@@ -476,7 +543,7 @@ paths:
476
543
- ${authoriser_name} : []
477
544
- app-level0 : []
478
545
479
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/Device/{device_id}
546
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/Device/{device_id}
480
547
: get :
481
548
operationId : readDevice
482
549
summary : Read a Device resource (GET)
@@ -504,7 +571,7 @@ paths:
504
571
- ${authoriser_name} : []
505
572
- app-level0 : []
506
573
507
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/Device/MessageHandlingSystem
574
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/Device/MessageHandlingSystem
508
575
: post :
509
576
operationId : createDeviceMessageHandlingSystem
510
577
summary : Create a Message Handling System Device resource (POST)
@@ -542,7 +609,7 @@ paths:
542
609
- ${authoriser_name} : []
543
610
- app-level0 : []
544
611
545
- ? /ProductTeamEpr/{product_team_id}/Product /{product_id}/{environment}/Device/AccreditedSystem
612
+ ? /ProductTeamEpr/{product_team_id}/ProductEpr /{product_id}/{environment}/Device/AccreditedSystem
546
613
: post :
547
614
operationId : createDeviceAccreditedSystem
548
615
summary : Create a Accredited System Device resource (POST)
@@ -587,7 +654,7 @@ paths:
587
654
description : >
588
655
Retrieve a list of Devices to be used primarily by the SDS FHIR API.
589
656
tags :
590
- - SDS
657
+ - SDS Search Endpoints
591
658
parameters :
592
659
- $ref : " #/components/parameters/NhsIdCode"
593
660
- $ref : " #/components/parameters/NhsMhsManOrg"
@@ -614,7 +681,7 @@ paths:
614
681
description : >
615
682
Retrieve a list of Endpoints to be used primarily by the SDS FHIR API.
616
683
tags :
617
- - SDS
684
+ - SDS Search Endpoints
618
685
parameters :
619
686
- $ref : " #/components/parameters/NhsIdCode"
620
687
- $ref : " #/components/parameters/NhsMhsInteration"
0 commit comments