diff --git a/src/openapi/fiko/fiko-crud.yaml b/src/openapi/fiko/fiko-crud.yaml index e2017be..f0fd2b6 100644 --- a/src/openapi/fiko/fiko-crud.yaml +++ b/src/openapi/fiko/fiko-crud.yaml @@ -49,6 +49,8 @@ paths: - status - aggregationReference - accountingSystemReference + - createdOn + - lastUpdatedOn - name: $select in: query description: Select properties to be returned @@ -79,6 +81,8 @@ paths: - status - aggregationReference - accountingSystemReference + - createdOn + - lastUpdatedOn responses: "200": description: OK @@ -117,7 +121,9 @@ paths: articleNumber: "4031" status: created aggregationReference: null - accountingSystemReference: null + accountingSystemReference: null + createdOn: 2024-11-04T00:00:00Z + lastUpdatedOn: 2024-11-04T04:00:00Z - "@odata.etag": e671c8a1-b918-4867-bf12-5289822479c3 transactionItemRowId: 3232 transactionItemId: 1c1fc1c8-57f4-4336-9b43-a974eae5afbf @@ -136,7 +142,9 @@ paths: articleNumber: "4051" status: failed aggregationReference: null - accountingSystemReference: null + accountingSystemReference: null + createdOn: 2024-11-04T00:00:00Z + lastUpdatedOn: 2024-11-04T04:00:00Z - "@odata.etag": be2715d4-4eff-4562-9bf3-5c43ad23e2c8 transactionItemRowId: 3233 transactionItemId: 3f58441e-dc8f-4956-9bc5-c952312476db @@ -155,7 +163,9 @@ paths: articleNumber: "4051" status: returned to src aggregationReference: FIKO-171f40609e - accountingSystemReference: null + accountingSystemReference: null + createdOn: 2024-11-04T00:00:00Z + lastUpdatedOn: 2024-11-04T04:00:00Z - "@odata.etag": 52130c4d-e944-4454-a73e-8d55449a4bd1 transactionItemRowId: 3234 transactionItemId: 4418825f-3f9b-45bc-b662-dc3cd4ce6599 @@ -174,7 +184,9 @@ paths: articleNumber: "4051" status: returned to trx-db aggregationReference: null - accountingSystemReference: null + accountingSystemReference: null + createdOn: 2024-11-04T00:00:00Z + lastUpdatedOn: 2024-11-04T04:00:00Z - "@odata.etag": 7da305e1-85cd-4250-ad77-8b54b2649cfb transactionItemRowId: 3235 transactionItemId: 2ddc1831-cf7b-4a77-8aa1-11aaf8e98d9f @@ -193,7 +205,9 @@ paths: articleNumber: "4051" status: re-entered aggregationReference: null - accountingSystemReference: null + accountingSystemReference: null + createdOn: 2024-11-04T00:00:00Z + lastUpdatedOn: 2024-11-04T04:00:00Z - "@odata.etag": c3b17d21-0506-474d-b3d4-7ff654f368b9 transactionItemRowId: 3236 transactionItemId: 5ab2513d-f334-4cf8-8895-4e7269374a4b @@ -212,7 +226,9 @@ paths: articleNumber: "1737" status: succeeded aggregationReference: FIKO-6a4fca8cd6 - accountingSystemReference: U4F-123456 + accountingSystemReference: U4F-123456 + createdOn: 2024-11-04T00:00:00Z + lastUpdatedOn: 2024-11-04T04:00:00Z security: - default: [] x-auth-type: Application & Application User @@ -576,6 +592,7 @@ paths: - action - status - correlationId + - journalEntryId - name: $select in: query description: Select properties to be returned @@ -596,6 +613,7 @@ paths: - action - status - correlationId + - journalEntryId - name: $expand in: query description: Expand related entities @@ -609,6 +627,7 @@ paths: type: string enum: - TransactionItem + - JournalEntry responses: "200": description: OK @@ -810,6 +829,7 @@ paths: - reasonDescription - resolved - change + - journalEntryId - name: $select in: query description: Select properties to be returned @@ -832,6 +852,7 @@ paths: - reasonDescription - resolved - change + - journalEntryId - name: $expand in: query description: Expand related entities @@ -844,7 +865,8 @@ paths: items: type: string enum: - - TransactionItem + - TransactionItem + - JournalEntry responses: "200": description: OK @@ -880,6 +902,7 @@ paths: reasonDescription: Cost type does not exist. resolved: false change: null + journalEntryId: null - "@odata.etag": ff49829d-a5de-4c1a-b331-15fd9c71dfe9 processingFailureRowId: 10 processingFailureId: ccc06dc9-956d-47d8-bde7-9644ddde2193 @@ -890,7 +913,8 @@ paths: reasonCode: "002" reasonDescription: Cost center does not exist. resolved: true - change: Adapt config + change: Adapt config + journalEntryId: null - "@odata.etag": 5d5d3351-d3f1-49b2-905f-4dbbe1cc30e3 processingFailureRowId: 11 processingFailureId: 96bf8d44-0030-4509-b24e-2d62299779c5 @@ -901,7 +925,8 @@ paths: reasonCode: "001" reasonDescription: Department does not exist. resolved: true - change: Adapt config + change: Adapt config + journalEntryId: null List of unfiltered processing failures: summary: List of unfiltered processing failures description: | @@ -920,7 +945,8 @@ paths: reasonCode: "009" reasonDescription: Transaction date is in the future resolved: false - change: null + change: null + journalEntryId: null - "@odata.etag": 584d3a8a-48bc-45f9-99be-8dd70399e6e4 processingFailureRowId: 10 processingFailureId: 76aa82e1-a10f-4664-a84f-1f30d60884b3 @@ -931,7 +957,8 @@ paths: reasonCode: "002" reasonDescription: Cost center does not exist. resolved: false - change: null + change: null + journalEntryId: null - "@odata.etag": df4ade9b-1bda-4d91-a5ba-4dbe067568a0 processingFailureRowId: 11 processingFailureId: 25d2dd6f-ae17-44a7-b7a5-43eaf6de78e1 @@ -942,7 +969,8 @@ paths: reasonCode: "001" reasonDescription: Department does not exist. resolved: false - change: null + change: null + journalEntryId: null security: - default: [] x-auth-type: Application & Application User @@ -995,8 +1023,8 @@ paths: x-throttling-tier: Unlimited /Odata/JournalEntry: get: - summary: Find journal entry. - description: Find journal entry. + summary: Find journalEntry. + description: Find journalEntry. tags: - Odata parameters: @@ -1245,8 +1273,8 @@ paths: x-throttling-tier: Unlimited /journalEntry: post: - summary: Add a journal entry. - description: Add a journal entry. + summary: Add a journalEntry. + description: Add a journalEntry. tags: - journalEntry v1.0 requestBody: @@ -1256,9 +1284,9 @@ paths: schema: $ref: "#/components/schemas/JournalEntryPostRequestBody" examples: - Add a new journal entry: - summary: Add a new journal entry - description: In this example we add a new journal entry. + Add a new journalEntry: + summary: Add a new journalEntry + description: In this example we add a new journalEntry. value: aggregationReference: FIKO-123456 data: { @@ -1352,7 +1380,7 @@ paths: examples: Update an journalEntry after error: summary: Update an journalEntry after error - description: Update an journalEntry after error bij logging the response + description: Update an journalEntry after error by logging the response value: response: { "status": "failed", @@ -1372,8 +1400,8 @@ paths: ] } Update an journalEntry after success: - summary: Update an journalEntry after error - description: Update an journalEntry after error bij logging the response + summary: Update an journalEntry after succesfull call + description: Update an journalEntry after uccesfull call bij logging the response and the accountingSystemReference. value: accountingSystemReference: "OPBR-FIKO10000090" response: {