Also update POST/PATCH PurchasedTapConnectTicket CRUD spec
This commit is contained in:
parent
e295a570f0
commit
4f183fe4ab
@ -965,6 +965,8 @@ paths:
|
||||
"activatedAt": "2024-10-05T12:34:56.000",
|
||||
"cancelledAt": "2024-10-06T12: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:
|
||||
"200":
|
||||
@ -1194,6 +1196,7 @@ components:
|
||||
- lastUpdatedOn
|
||||
- createdBy
|
||||
- serviceId
|
||||
- activateBefore
|
||||
properties:
|
||||
issuedAt:
|
||||
type: string
|
||||
@ -1230,6 +1233,21 @@ components:
|
||||
serviceId:
|
||||
type: string
|
||||
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:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user