Skip to content

Commit

Permalink
UPS-5304 add cardStatus to grouppass (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwin1 authored Jan 28, 2025
1 parent 280759b commit 46b045c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion projects/uitpas/reference/uitpas.json
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,7 @@
"id": "b5a5bb75-6cae-452b-b029-d12d3b425b1b",
"name": "Test groep",
"uitpasNumber": "0900000045410",
"cardStatus": "ACTIVE",
"email": "testgrouppass@example.com",
"creationDate": "2019-08-24T14:15:22Z",
"socialTariff": {
Expand Down Expand Up @@ -2198,7 +2199,7 @@
}
},
"operationId": "get-grouppasses",
"description": "Retrieve grouppasses based on search parameters.\n\n**Note**: For now this endpoint requires either `uitpasNumber` or `chipNumber`, so this endpoint currently cannot be used to search _all_ grouppasses.\n\nThe caller of this request must have `GROUPPASSES_SEARCH` permission.",
"description": "Retrieve grouppasses based on search parameters.\n\n**Note**: For now this endpoint requires either `uitpasNumber` or `chipNumber`, so this endpoint currently cannot be used to search _all_ grouppasses.\n\n<!-- theme: warning -->\n\n> **Important:** This endpoint might return `grouppass` entities for `BLOCKED` or `DELETED` cards. Clients using this endpoint MUST check `cardStatus` for `ACTIVE` cards before proceeding regular operations with this `grouppass`.\n\nThe caller of this request must have `EVENTS_READ` permission for the organizer of this event.\n\nThe caller of this request must have `GROUPPASSES_SEARCH` permission.",
"security": [
{
"USER_ACCESS_TOKEN": []
Expand Down Expand Up @@ -7988,6 +7989,20 @@
"type": "string",
"description": "The UiTPAS number of this grouppass. This field is always available in responses."
},
"cardStatus": {
"type": "string",
"x-stoplight": {
"id": "nnzfui82in9z5"
},
"description": "Status of the card linked to this grouppass.",
"enum": [
"PROVISIONED",
"LOCAL_STOCK",
"ACTIVE",
"BLOCKED",
"DELETED"
]
},
"email": {
"type": "string",
"description": "Contact email address of the grouppass."
Expand Down Expand Up @@ -8082,6 +8097,7 @@
},
"required": [
"name",
"cardStatus",
"cardSystem",
"address"
]
Expand Down

0 comments on commit 46b045c

Please sign in to comment.