Also update POST/PATCH PurchasedTapConnectTicket CRUD spec

This commit is contained in:
Max Martens 2026-03-31 12:37:44 +02:00
parent e295a570f0
commit 4f183fe4ab

View File

@ -965,6 +965,8 @@ paths:
"activatedAt": "2024-10-05T12:34:56.000", "activatedAt": "2024-10-05T12:34:56.000",
"cancelledAt": "2024-10-06T12:34:56.000", "cancelledAt": "2024-10-06T12:34:56.000",
"lastUpdatedOn": "2024-10-05T12:34:56.000", "lastUpdatedOn": "2024-10-05T12:34:56.000",
"validityStart": "2024-10-05T12:34:56.000",
"validityEnd": "2024-10-06T12:34:56.000"
} }
responses: responses:
"200": "200":
@ -1194,6 +1196,7 @@ components:
- lastUpdatedOn - lastUpdatedOn
- createdBy - createdBy
- serviceId - serviceId
- activateBefore
properties: properties:
issuedAt: issuedAt:
type: string type: string
@ -1230,6 +1233,21 @@ components:
serviceId: serviceId:
type: string type: string
example: HTM-1234-7654-8945 example: HTM-1234-7654-8945
activateBefore:
type: string
format: date
description: Tickets can only be activated BEFORE this date. Should be equal to TapConnect's `lifeSpanEnd + P1D`
example: 2024-10-08
validityStart:
type: string
format: date-time
description: The date-time at which the ticket will become valid for for traveling. The ticket will not be valid before this date/time.
example: 2024-10-05T12:34:56.000
validityEnd:
type: string
format: date-time
description: The date-time at which the ticket will become invalid for traveling. The ticket will not be valid after this date/time.
example: 2024-10-06T12:34:56.000
BulkResponseBody: BulkResponseBody:
type: object type: object
properties: properties: