@@ -78,45 +78,49 @@ paths:
7878 - app-level0 : []
7979
8080 /ProductTeam/{product_team_id}/Product :
81- get :
82- operationId : searchCpmProduct
83- summary : Retrieve all Products associated with a Product Team (GET)
81+ post :
82+ operationId : createproductendpoint
83+ summary : Create a Product resource (POST)
84+ description : |
85+ This endpoint creates a new Product resource for the specified Product Team.
86+ **Requirements:**
87+ - A valid Product Team must exist
8488 parameters :
8589 - $ref : " #/components/parameters/ProductTeamId"
8690 - $ref : " #/components/parameters/HeaderVersion"
8791 - $ref : " #/components/parameters/HeaderRequestId"
8892 - $ref : " #/components/parameters/HeaderCorrelationId"
93+ requestBody :
94+ $ref : " #/components/requestBodies/ProductCreateRequestBody"
8995 responses :
90- " 200 " :
91- $ref : " #/components/responses/ProductSearch"
96+ " 201 " :
97+ $ref : " #/components/responses/ProductCreate"
98+ " 400 " :
99+ $ref : " #/components/responses/BadRequest"
92100 " 404 " :
93101 $ref : " #/components/responses/NotFound"
94102 x-amazon-apigateway-integration :
95103 << : *ApiGatewayIntegration
96- uri : ${method_searchCpmProduct }
104+ uri : ${method_createCpmProduct }
97105 security :
98106 - ${authoriser_name} : []
99107 - app-level0 : []
100- post :
101- operationId : createproductendpoint
102- summary : Create a Product resource (POST )
108+ get :
109+ operationId : searchCpmProduct
110+ summary : Retrieve all Products associated with a Product Team (GET )
103111 parameters :
104112 - $ref : " #/components/parameters/ProductTeamId"
105113 - $ref : " #/components/parameters/HeaderVersion"
106114 - $ref : " #/components/parameters/HeaderRequestId"
107115 - $ref : " #/components/parameters/HeaderCorrelationId"
108- requestBody :
109- $ref : " #/components/requestBodies/ProductCreateRequestBody"
110116 responses :
111- " 201 " :
112- $ref : " #/components/responses/ProductCreate"
113- " 400 " :
114- $ref : " #/components/responses/BadRequest"
117+ " 200 " :
118+ $ref : " #/components/responses/ProductSearch"
115119 " 404 " :
116120 $ref : " #/components/responses/NotFound"
117121 x-amazon-apigateway-integration :
118122 << : *ApiGatewayIntegration
119- uri : ${method_createCpmProduct }
123+ uri : ${method_searchCpmProduct }
120124 security :
121125 - ${authoriser_name} : []
122126 - app-level0 : []
@@ -142,7 +146,6 @@ paths:
142146 security :
143147 - ${authoriser_name} : []
144148 - app-level0 : []
145-
146149 delete :
147150 operationId : deleteproductendpoint
148151 summary : Delete a Product resource (DELETE)
@@ -168,6 +171,10 @@ paths:
168171 post :
169172 operationId : createproductforeprendpoint
170173 summary : Create an EPR Product resource (POST)
174+ description : |
175+ This endpoint creates a new EPR Product resource for the specified Product Team.
176+ **Requirements:**
177+ - A valid Product Team must exist
171178 parameters :
172179 - $ref : " #/components/parameters/ProductTeamId"
173180 - $ref : " #/components/parameters/HeaderVersion"
@@ -190,47 +197,48 @@ paths:
190197 - app-level0 : []
191198
192199 /ProductTeam/{product_team_id}/Product/{product_id}/DeviceReferenceData :
193- get :
194- operationId : searchDeviceReferenceData
195- summary : Retrieve all Data Reference Data resources associated with a Product (GET)
200+ post :
201+ operationId : createDeviceReferenceData
202+ summary : Create a Device Reference Data resource (POST)
203+ description : This endpoint has not yet been configured. Do not use.
196204 parameters :
197205 - $ref : " #/components/parameters/ProductTeamId"
198206 - $ref : " #/components/parameters/ProductId"
199207 - $ref : " #/components/parameters/HeaderVersion"
200208 - $ref : " #/components/parameters/HeaderRequestId"
201209 - $ref : " #/components/parameters/HeaderCorrelationId"
210+ requestBody :
211+ $ref : " #/components/requestBodies/DeviceReferenceDataCreateRequestBody"
202212 responses :
203- " 200 " :
204- $ref : " #/components/responses/DeviceRefDataSearch"
213+ " 201 " :
214+ $ref : " #/components/responses/DeviceRefDataCreate"
215+ " 400 " :
216+ $ref : " #/components/responses/BadRequest"
205217 " 404 " :
206218 $ref : " #/components/responses/NotFound"
207219 x-amazon-apigateway-integration :
208220 << : *ApiGatewayIntegration
209- uri : ${method_searchDeviceReferenceData }
221+ uri : ${method_createDeviceReferenceData }
210222 security :
211223 - ${authoriser_name} : []
212224 - app-level0 : []
213- post :
214- operationId : createDeviceReferenceData
215- summary : Create a Device Reference Data resource (POST )
225+ get :
226+ operationId : searchDeviceReferenceData
227+ summary : Retrieve all Data Reference Data resources associated with a Product (GET )
216228 parameters :
217229 - $ref : " #/components/parameters/ProductTeamId"
218230 - $ref : " #/components/parameters/ProductId"
219231 - $ref : " #/components/parameters/HeaderVersion"
220232 - $ref : " #/components/parameters/HeaderRequestId"
221233 - $ref : " #/components/parameters/HeaderCorrelationId"
222- requestBody :
223- $ref : " #/components/requestBodies/DeviceReferenceDataCreateRequestBody"
224234 responses :
225- " 201 " :
226- $ref : " #/components/responses/DeviceRefDataCreate"
227- " 400 " :
228- $ref : " #/components/responses/BadRequest"
235+ " 200 " :
236+ $ref : " #/components/responses/DeviceRefDataSearch"
229237 " 404 " :
230238 $ref : " #/components/responses/NotFound"
231239 x-amazon-apigateway-integration :
232240 << : *ApiGatewayIntegration
233- uri : ${method_createDeviceReferenceData }
241+ uri : ${method_searchDeviceReferenceData }
234242 security :
235243 - ${authoriser_name} : []
236244 - app-level0 : []
@@ -239,6 +247,12 @@ paths:
239247 : post :
240248 operationId : createDeviceReferenceDataMessageSet
241249 summary : Create a Device Reference Data Message Set resource (POST)
250+ description : |
251+ This endpoint creates a Device Reference Data Message Set resource for the specified Product.
252+ **Requirements:**
253+ - A valid Product Team must exist
254+ - A valid EPR Product must already exist under the Product Team
255+ - There can be no existing MHS MessageSet DRD for the EPR Product already
242256 parameters :
243257 - $ref : " #/components/parameters/ProductTeamId"
244258 - $ref : " #/components/parameters/ProductId"
@@ -265,6 +279,12 @@ paths:
265279 : post :
266280 operationId : createDeviceReferenceDataAdditionalInteractions
267281 summary : Create a Device Reference Data Additional Interactions resource (POST)
282+ description : |
283+ This endpoint creates a Device Reference Data Additional Interactions resource for the specified Product.
284+ **Requirements:**
285+ - A valid Product Team must exist
286+ - A valid EPR Product must already exist under the Product Team
287+ - There can be no existing AS AdditionalInteractions DRD for the EPR Product already
268288 parameters :
269289 - $ref : " #/components/parameters/ProductTeamId"
270290 - $ref : " #/components/parameters/ProductId"
@@ -314,6 +334,8 @@ paths:
314334 post :
315335 operationId : createDevice
316336 summary : Create a Device resource (POST)
337+ description : |
338+ This endpoint has not yet been configured. Do not use.
317339 parameters :
318340 - $ref : " #/components/parameters/ProductTeamId"
319341 - $ref : " #/components/parameters/ProductId"
@@ -363,6 +385,14 @@ paths:
363385 : post :
364386 operationId : createDeviceMessageHandlingSystem
365387 summary : Create a Message Handling System Device resource (POST)
388+ description : |
389+ This endpoint creates a new Message Handling System Device resource for the specified Product.
390+ **Requirements:**
391+ - A valid Product Team must exist
392+ - A valid Product must exist under the Product Team
393+ - One existing MHS Message Set Device Reference Data must be present for the Product
394+ - No existing MHS device for the product
395+ - Must provide a spine_mhs questionnaire response
366396 parameters :
367397 - $ref : " #/components/parameters/ProductTeamId"
368398 - $ref : " #/components/parameters/ProductId"
@@ -389,6 +419,14 @@ paths:
389419 post :
390420 operationId : createDeviceAccreditedSystem
391421 summary : Create a Accredited System Device resource (POST)
422+ description : |
423+ This endpoint creates a new Accredited System Device resource for the specified Product.
424+ **Requirements:**
425+ - A valid Product Team must exist
426+ - A valid Product must exist under the Product Team
427+ - One existing MHS Message Set Device Reference Data must be present for the Product
428+ - One existing AS Additional Interactions Device Reference Data must be present for the Product
429+ - Must provide a spine_as questionnaire response
392430 parameters :
393431 - $ref : " #/components/parameters/ProductTeamId"
394432 - $ref : " #/components/parameters/ProductId"
0 commit comments