Add serviceId in purchasedProducts CRUD API

This commit is contained in:
Max Martens committed 2026-03-27 11:22:48 +01:00
1 parent f033ab6bbe
commit cf7dcc8dd4
3 files changed
+20 -8

No files matched your search

+4 -4
View File
@@ -3402,7 +3402,7 @@ paths:
"orderId": "501B17EF-36C4-4039-B92C-6517969B464E", "orderId": "501B17EF-36C4-4039-B92C-6517969B464E",
"orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E", "orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E",
"ticketReference": "KJj43nejhbTxhrfef287", "ticketReference": "KJj43nejhbTxhrfef287",
"serviceId": "DEF-4321-7654-7659", "serviceId": "HTM-4321-7654-7659",
"issuedAt": "2026-03-21T09:01:35", "issuedAt": "2026-03-21T09:01:35",
"activatedAt": null, "activatedAt": null,
"blocked": false, "blocked": false,
@@ -3435,7 +3435,7 @@ paths:
"orderId": "501B17EF-36C4-4039-B92C-6517969B464E", "orderId": "501B17EF-36C4-4039-B92C-6517969B464E",
"orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E", "orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E",
"ticketReference": "KJj43nejhbTxhr897287", "ticketReference": "KJj43nejhbTxhr897287",
"serviceId": "ABC-1234-7654-8945", "serviceId": "HTM-1234-7654-8945",
"issuedAt": "2026-03-21T10:01:12", "issuedAt": "2026-03-21T10:01:12",
"activatedAt": "2026-03-21T12:45:01", "activatedAt": "2026-03-21T12:45:01",
"blocked": false, "blocked": false,
@@ -3610,7 +3610,7 @@ paths:
"orderId": "501B17EF-36C4-4039-B92C-6517969B464E", "orderId": "501B17EF-36C4-4039-B92C-6517969B464E",
"orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E", "orderLineId": "38B17EF-36C4-4039-B92C-4817969B464E",
"ticketReference": "KJj43nejhbTxhr897287", "ticketReference": "KJj43nejhbTxhr897287",
"serviceId": "ABC-1234-7654-8945", "serviceId": "HTM-1234-7654-8945",
"issuedAt": "2026-03-21T10:01:12", "issuedAt": "2026-03-21T10:01:12",
"activatedAt": "2026-03-21T12:45:01", "activatedAt": "2026-03-21T12:45:01",
"blocked": false, "blocked": false,
@@ -4442,7 +4442,7 @@ components:
example: KJj43nejhbTxhr897287 example: KJj43nejhbTxhr897287
serviceId: serviceId:
type: string type: string
example: ABC-1234-7654-8945 example: HTM-1234-7654-8945
issuedAt: issuedAt:
type: string type: string
format: date-time-offset format: date-time-offset
-1
View File
@@ -60,7 +60,6 @@ paths:
name: externalDeviceId name: externalDeviceId
schema: schema:
type: string type: string
format: uuid
example: "7a28bd54-7ca9-499a-a722-d15ab858ab99" example: "7a28bd54-7ca9-499a-a722-d15ab858ab99"
required: false required: false
description: The external id of the device used to place the order. description: The external id of the device used to place the order.
@@ -170,7 +170,8 @@ paths:
"lastUpdatedOn": "2024-10-04T12:34:56.000", "lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "user", "createdBy": "user",
"lastUpdatedBy": "user", "lastUpdatedBy": "user",
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848" "externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848",
"serviceId": "HTM-1234-7654-8945"
}, },
], ],
"issuedVouchers": [], "issuedVouchers": [],
@@ -342,7 +343,8 @@ paths:
"lastUpdatedOn": "2024-10-04T12:34:56.000", "lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "user", "createdBy": "user",
"lastUpdatedBy": "user", "lastUpdatedBy": "user",
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848" "externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848",
"serviceId": "HTM-1234-7654-8945"
}, },
], ],
"issuedVouchers": [], "issuedVouchers": [],
@@ -904,6 +906,12 @@ paths:
type: string type: string
example: c5545584-04af-4c60-a955-d6a70baab848 example: c5545584-04af-4c60-a955-d6a70baab848
description: The external id of the device. description: The external id of the device.
- in: query
name: serviceId
schema:
type: string
example: HTM-1234-7654-8945
description: A printable id that needs to be next to the printed barcode on the ticket, which is used when the customer contacts the service desk.
responses: responses:
"200": "200":
description: OK description: OK
@@ -926,7 +934,8 @@ paths:
"lastUpdatedOn": "2024-10-04T12:34:56.000", "lastUpdatedOn": "2024-10-04T12:34:56.000",
"createdBy": "user", "createdBy": "user",
"lastUpdatedBy": "user", "lastUpdatedBy": "user",
"externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848" "externalDeviceId": "c5545584-04af-4c60-a955-d6a70baab848",
"serviceId": "HTM-1234-7654-8945"
}, },
], ],
} }
@@ -1184,6 +1193,7 @@ components:
- createdOn - createdOn
- lastUpdatedOn - lastUpdatedOn
- createdBy - createdBy
- serviceId
properties: properties:
issuedAt: issuedAt:
type: string type: string
@@ -1217,6 +1227,9 @@ components:
externalDeviceId: externalDeviceId:
type: string type: string
example: c5545584-04af-4c60-a955-d6a70baab848 example: c5545584-04af-4c60-a955-d6a70baab848
serviceId:
type: string
example: HTM-1234-7654-8945
BulkResponseBody: BulkResponseBody:
type: object type: object
properties: properties: