diff --git a/src/openapi/fiko/fiko-crud.yaml b/src/openapi/fiko/fiko-crud.yaml index 14c38bf..e55bb2c 100644 --- a/src/openapi/fiko/fiko-crud.yaml +++ b/src/openapi/fiko/fiko-crud.yaml @@ -399,6 +399,25 @@ paths: description: The transaction item was successfully updated in the database. value: transactionItemId: 7c3a5b0f-b89e-4f02-8b09-d11c5a050a07 + /transactionitems/responsestatus/*: + get: + tags: + - Transactions v2 + summary: Get the status of the transaction items POST. + description: Get the status of the asynchronous transaction items POST processing. + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/TransactionItemsResponseStatusGetResponseBody" + "409": + description: Conflict + content: + application/json: + schema: + $ref: "#/components/schemas/409Response" /transactionitems/{transactionItemId}/processingfailures: parameters: - in: path @@ -1415,122 +1434,122 @@ paths: (bookingMetadataId: "6ce10520-9a73-4cb4-b8dd-39ee46ceb617"). value: bookingLineMetadata: - - bookingLineMetadataId: 98dccb4c-f24f-4acd-a036-f4b465124842 - bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 - name: Webshop Dagkaart - BUS - sourceMetadata: - sourceMetadataId: bc4ea24a-27a5-40e8-bbbc-57a105afaaa0 - incomingName: HTM-website - incomingEntity: OrderLine - outgoingName: Webshop - businessOwner: Corneel Verstoep - rejectionProcessing: system - rejectionInfo: api.htm.nl/v2/account/12345/msgs/abc - identifyingFieldValue: null - concession: - concessionId: 2 - name: BUS - lineType: summary - lineSense: credit - costCenter: 619031 - articleName: dagkaart - extRef1: null - extRef2: null - extRef3: 2025-02-17 - extRef4: null - extRef5: Webshop - extRef6: null - - bookingLineMetadataId: a4464b5c-9a8e-4e48-a0a0-5500b1ca0885 - bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 - name: Webshop Dagkaart - RAIL - sourceMetadata: - sourceMetadataId: bc4ea24a-27a5-40e8-bbbc-57a105afaaa0 - incomingName: HTM-website - incomingEntity: OrderLine - outgoingName: Webshop - businessOwner: Corneel Verstoep - rejectionProcessing: system - rejectionInfo: api.htm.nl/v2/account/12345/msgs/abc - identifyingFieldValue: null - concession: - concessionId: 1 - name: RAIL - lineType: summary - lineSense: credit - costCenter: 603031 - articleName: dagkaart - extRef1: null - extRef2: null - extRef3: 2025-02-17 - extRef4: null - extRef5: Webshop - extRef6: null - - bookingLineMetadataId: feaa7b33-ba49-40a2-90f3-5dd70d591f17 - bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 - name: Ticketapp Dagkaart - BUS - sourceMetadata: - sourceMetadataId: c3a9ef01-06c6-4c05-8fc7-df825f676dfc - incomingName: HTM-app - incomingEntity: OrderLine - outgoingName: ticketapp - businessOwner: Daan Zeven - rejectionProcessing: mail - rejectionInfo: sven@infoplaza.nl - identifyingFieldValue: null - concession: - concessionId: 2 - name: BUS - lineType: summary - lineSense: credit - costCenter: 619031 - articleName: dagkaart - extRef1: null - extRef2: null - extRef3: 2025-02-17 - extRef4: null - extRef5: Webshop - extRef6: null - - bookingLineMetadataId: ea6ce4e7-4d52-4b89-bbea-ffe0ef6c48ff - bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 - name: Ticketapp Dagkaart - RAIL - sourceMetadata: - sourceMetadataId: c3a9ef01-06c6-4c05-8fc7-df825f676dfc - incomingName: HTM-app - incomingEntity: OrderLine - outgoingName: ticketapp - businessOwner: Daan Zeven - rejectionProcessing: mail - rejectionInfo: sven@infoplaza.nl - identifyingFieldValue: null - concession: - concessionId: 1 - name: RAIL - lineType: summary - lineSense: credit - costCenter: 603031 - articleName: dagkaart - extRef1: null - extRef2: null - extRef3: 2025-02-17 - extRef4: null - extRef5: Webshop - extRef6: null - - bookingLineMetadataId: 0a8dbb7d-73c8-451e-9028-e4613283c7bd - bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 - name: Dagkaart - BTW - sourceMetadata: null - identifyingFieldValue: null - concession: null - lineType: tax - lineSense: credit - costCenter: 1337 - articleName: dagkaart - extRef1: null - extRef2: null - extRef3: 2025-02-17 - extRef4: null - extRef5: null - extRef6: null + - bookingLineMetadataId: 98dccb4c-f24f-4acd-a036-f4b465124842 + bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 + name: Webshop Dagkaart - BUS + sourceMetadata: + sourceMetadataId: bc4ea24a-27a5-40e8-bbbc-57a105afaaa0 + incomingName: HTM-website + incomingEntity: OrderLine + outgoingName: Webshop + businessOwner: Corneel Verstoep + rejectionProcessing: system + rejectionInfo: api.htm.nl/v2/account/12345/msgs/abc + identifyingFieldValue: null + concession: + concessionId: 2 + name: BUS + lineType: summary + lineSense: credit + costCenter: 619031 + articleName: dagkaart + extRef1: null + extRef2: null + extRef3: 2025-02-17 + extRef4: null + extRef5: Webshop + extRef6: null + - bookingLineMetadataId: a4464b5c-9a8e-4e48-a0a0-5500b1ca0885 + bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 + name: Webshop Dagkaart - RAIL + sourceMetadata: + sourceMetadataId: bc4ea24a-27a5-40e8-bbbc-57a105afaaa0 + incomingName: HTM-website + incomingEntity: OrderLine + outgoingName: Webshop + businessOwner: Corneel Verstoep + rejectionProcessing: system + rejectionInfo: api.htm.nl/v2/account/12345/msgs/abc + identifyingFieldValue: null + concession: + concessionId: 1 + name: RAIL + lineType: summary + lineSense: credit + costCenter: 603031 + articleName: dagkaart + extRef1: null + extRef2: null + extRef3: 2025-02-17 + extRef4: null + extRef5: Webshop + extRef6: null + - bookingLineMetadataId: feaa7b33-ba49-40a2-90f3-5dd70d591f17 + bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 + name: Ticketapp Dagkaart - BUS + sourceMetadata: + sourceMetadataId: c3a9ef01-06c6-4c05-8fc7-df825f676dfc + incomingName: HTM-app + incomingEntity: OrderLine + outgoingName: ticketapp + businessOwner: Daan Zeven + rejectionProcessing: mail + rejectionInfo: sven@infoplaza.nl + identifyingFieldValue: null + concession: + concessionId: 2 + name: BUS + lineType: summary + lineSense: credit + costCenter: 619031 + articleName: dagkaart + extRef1: null + extRef2: null + extRef3: 2025-02-17 + extRef4: null + extRef5: Webshop + extRef6: null + - bookingLineMetadataId: ea6ce4e7-4d52-4b89-bbea-ffe0ef6c48ff + bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 + name: Ticketapp Dagkaart - RAIL + sourceMetadata: + sourceMetadataId: c3a9ef01-06c6-4c05-8fc7-df825f676dfc + incomingName: HTM-app + incomingEntity: OrderLine + outgoingName: ticketapp + businessOwner: Daan Zeven + rejectionProcessing: mail + rejectionInfo: sven@infoplaza.nl + identifyingFieldValue: null + concession: + concessionId: 1 + name: RAIL + lineType: summary + lineSense: credit + costCenter: 603031 + articleName: dagkaart + extRef1: null + extRef2: null + extRef3: 2025-02-17 + extRef4: null + extRef5: Webshop + extRef6: null + - bookingLineMetadataId: 0a8dbb7d-73c8-451e-9028-e4613283c7bd + bookingMetadataId: 6ce10520-9a73-4cb4-b8dd-39ee46ceb617 + name: Dagkaart - BTW + sourceMetadata: null + identifyingFieldValue: null + concession: null + lineType: tax + lineSense: credit + costCenter: 1337 + articleName: dagkaart + extRef1: null + extRef2: null + extRef3: 2025-02-17 + extRef4: null + extRef5: null + extRef6: null href: null /bookinglinemetadata/{bookingLineMetadataId}: parameters: @@ -3820,6 +3839,63 @@ components: - rejectionProcessing - rejectionInfo - validFrom + TransactionItemsResponseStatusGetResponseBody: + type: object + properties: + summary: + type: object + properties: + created: + type: integer + example: 15 + updated: + type: integer + example: 2 + total: + type: integer + example: 17 + required: + - created + - total + - updated + required: + - summary + 409Response: + type: object + properties: + code: + type: string + example: "409" + type: + type: string + example: error + message: + type: string + example: conflict + description: + type: string + example: >- + A transaction with the same TransactionId and TransactionLineId + already exists. + errors: + type: array + items: + type: object + properties: + detail: + type: string + example: >- + Transaction is a duplicate of a transaction already in the + system. + pointer: + type: string + example: "#/transactionItems/0" + transactionId: + type: string + example: 1ad109d3-fd7d-4b6f-872b-220d492f385f + transactionLineId: + type: string + example: fee907dd-e59d-44f5-a63b-bbdec38f79b7 rfc9457: type: object properties: