features/OVPAY2313-V2-swaggers-infoplaza #52

Merged
MirjamHTM merged 7 commits from features/OVPAY2313-V2-swaggers-infoplaza into develop 2026-02-05 10:01:02 +00:00
Showing only changes of commit 2c88fac238 - Show all commits

View File

@ -3449,14 +3449,14 @@ paths:
$ref: "#/components/schemas/ProductInstancesResponse" $ref: "#/components/schemas/ProductInstancesResponse"
examples: examples:
getEmptyProductInstances: getEmptyProductInstances:
summary: No product-instances found f summary: No product-instances found
value: value:
productInstances: { productInstances: {
"ovpayProducten":[], "ovpayProducten":[],
"barcodeTickets": [], "barcodeTickets": [],
"vouchers":[] "vouchers":[]
} }
getSingleBarcodeProductInstanceForDevie: getSingleBarcodeProductInstanceForDevice:
summary: One BarcodeTicket product-instance summary: One BarcodeTicket product-instance
value: value:
{ {
@ -3501,7 +3501,7 @@ paths:
"vouchers":[] "vouchers":[]
} }
} }
getSingleOvpayProductInstanceForSpecificOvPayToke: getSingleOvpayProductInstanceForSpecificOvPayToken:
summary: One Ovpay product-instance summary: One Ovpay product-instance
value: value:
{ {
@ -3620,7 +3620,48 @@ paths:
"vouchers":[] "vouchers":[]
} }
} }
/customers/productinstances/{productInstanceId}: getSingleVoucherProductInstanceForCustomer:
summary: One voucher product-instance
value:
{
"productInstances":{
"ovpayProducten":[],
"barcodeTickets":[],
"vouchers":[
{
"productInstanceId": "07a55d42-ea42-4f5c-896a-b340ab084309",
"productId": 81,
"name": "HTM ooivaarspas voucher ",
"productCategory":
{
"productCategoryId": 6,
"name": "Voucher",
},
"voucherCode": "HTM45253",
"fromInclusive": "2026-01-01T00:00:00",
"untillInclusive": "2026-12-31T23:59:99",
"voucherStatus": {
"voucherStatusId": 2,
"name": "issued"
},
"mandatoryCustomerDataItems":
[
{
"mandatoryCustomerDataItemId": 8,
"customerDataItem": "padBirthDate",
},
{
"mandatoryCustomerDataItemId": 4,
"customerDataItem": "emailAddress",
},
]
}
]
}
}
/productinstances/{productInstanceId}:
parameters: parameters:
- name: X-HTM-JWT-AUTH-HEADER - name: X-HTM-JWT-AUTH-HEADER
in: header in: header
@ -3656,7 +3697,7 @@ paths:
description: |- description: |-
Update the status of the give productInstance. Update the status of the give productInstance.
tags: tags:
- Product instances - ProductInstances
requestBody: requestBody:
content: content:
application/json: application/json: