OVPAY-1116 - Init.
This commit is contained in:
parent
9c06fc1e48
commit
9741c5aa63
114
src/openapi/products/purchased_products-crud.yaml
Normal file
114
src/openapi/products/purchased_products-crud.yaml
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
openapi: "3.0.3"
|
||||||
|
info:
|
||||||
|
title: ABT Purchased Products CRUD APIs
|
||||||
|
version: "1.0"
|
||||||
|
description: CRUD APIs for ABT Purchased Products database. These are NOT the functional APIs from Service Engine.
|
||||||
|
servers:
|
||||||
|
- url: https://api.integratielaag.nl/v1
|
||||||
|
paths:
|
||||||
|
/purchasedproducts:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Purchased Product
|
||||||
|
summary: Find purchased products.
|
||||||
|
description: Find purchased products.
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Purchased Product
|
||||||
|
summary: Create a new purchased product.
|
||||||
|
description: Create a new purchased product.
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Created
|
||||||
|
/purchasedproducts/{purchasedProductId}:
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: purchasedProductId
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: 058a1af7-897f-45d5-b691-9cc9161e387f
|
||||||
|
required: true
|
||||||
|
description: The id of the purchased product to process.
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Purchased Product
|
||||||
|
summary: Get a single purchased product.
|
||||||
|
description: Get a single purchased product.
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
patch:
|
||||||
|
tags:
|
||||||
|
- Purchased Product
|
||||||
|
summary: Update a purchased product.
|
||||||
|
description: Update a purchased product.
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
/purchasedproducts/{purchasedProductId}/resources:
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: purchasedProductId
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: 058a1af7-897f-45d5-b691-9cc9161e387f
|
||||||
|
required: true
|
||||||
|
description: The id of the purchased product to process.
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Purchased Product
|
||||||
|
summary: Add a resource to a purchased product.
|
||||||
|
description: Add a resource to a purchased product.
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Created
|
||||||
|
/purchasedproducts/{purchasedProductId}/gboproducts:
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: purchasedProductId
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: 058a1af7-897f-45d5-b691-9cc9161e387f
|
||||||
|
required: true
|
||||||
|
description: The id of the purchased product to process.
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Purchased GBO Product
|
||||||
|
summary: Add a GBO purchased product.
|
||||||
|
description: Add a GBO purchased product.
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Created
|
||||||
|
/purchasedgboproducts:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- Purchased GBO Product
|
||||||
|
summary: Find GBO purchased products.
|
||||||
|
description: Find GBO purchased products.
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Created
|
||||||
|
/purchasedgboproducts/{purchasedGboProductId}:
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: purchasedProductId
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: 058a1af7-897f-45d5-b691-9cc9161e387f
|
||||||
|
required: true
|
||||||
|
description: The id of the purchased product to process.
|
||||||
|
patch:
|
||||||
|
tags:
|
||||||
|
- Purchased GBO Product
|
||||||
|
summary: Update a GBO purchased product.
|
||||||
|
description: Update a GBO purchased product.
|
||||||
|
responses:
|
||||||
|
"201":
|
||||||
|
description: Created
|
||||||
Loading…
Reference in New Issue
Block a user