diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index e0afa7a..ebf7ac9 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -813,13 +813,6 @@ paths: example: 65ad5520-4e62-41b7-89dd-a01be6cb78bf required: false description: OrderLineId of the action to perform. - - in: query - name: result - schema: - type: string - example: success - required: false - description: Result of the performed action. - in: query name: createdFrom schema: @@ -852,6 +845,13 @@ paths: example: 2024-07-02 15:01:00.000 required: false description: Find all tasks updated until this timestamp. + - in: query + name: correlationId + schema: + type: string + example: 65ad5520-4e62-41b7-89dd-a01be6cb78bf + required: false + description: Pointer to executor of this action (e.g. the batch job). responses: "200": description: OK @@ -873,10 +873,11 @@ paths: "contractId": "e911532c-8049-4068-955d-6d1230321cba", "orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb", "orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171", - "details": "xspit|xtat|refundMethod|refundAmount", - "result": "successful call to GBO", + "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }", + "result": "{ \"result\": \"\", \"timestamp\": \"\" }", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", + "correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399", }, ], } @@ -900,10 +901,11 @@ paths: "contractId": "e911532c-8049-4068-955d-6d1230321cba", "orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb", "orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171", - "details": "xspit|xtat|refundMethod|refundAmount", - "result": "successful call to GBO", + "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }", + "result": "{ \"result\": \"\", \"timestamp\": \"\" }", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", + "correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399", }, } responses: @@ -955,10 +957,11 @@ paths: "contractId": "e911532c-8049-4068-955d-6d1230321cba", "orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb", "orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171", - "details": "xspit|xtat|refundMethod|refundAmount", - "result": "successful call to GBO", + "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }", + "result": "{ \"result\": \"\", \"timestamp\": \"\" }", "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", + "correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399", }, } patch: @@ -977,9 +980,10 @@ paths: { "scheduledActionStatus": 1, "executionTime": "2024-07-02 15:01:00.000", - "details": "xspit|xtat|refundMethod|refundAmount", - "result": "successful call to GBO", + "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }", + "result": "{ \"result\": \"\", \"timestamp\": \"\" }", "updated": "2024-07-02 15:01:00.000", + "correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399", }, } responses: @@ -1257,10 +1261,12 @@ components: example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f details: type: string - example: xspit|xtat|refundMethod|refundAmount + format: json + example: { "xspit": "", "xtat": "", "refundMethod": "", "refundAmount": "" } result: type: string - example: successful call to GBO + format: json + example: { "result": "", "timestamp": "" } created: type: string format: date-time @@ -1269,6 +1275,10 @@ components: type: string format: date-time example: 2024-07-02 15:01:00.000 + correlationId: + type: string + format: uuid + example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f ScheduledActionType: type: object properties: