OVPAY-1040 - Added correlationId to ScheduledAction.

This commit is contained in:
Bas Boterman 2024-09-05 11:55:33 +02:00
parent c8daca2a98
commit 92eb911360

View File

@ -813,13 +813,6 @@ paths:
example: 65ad5520-4e62-41b7-89dd-a01be6cb78bf example: 65ad5520-4e62-41b7-89dd-a01be6cb78bf
required: false required: false
description: OrderLineId of the action to perform. 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 - in: query
name: createdFrom name: createdFrom
schema: schema:
@ -852,6 +845,13 @@ paths:
example: 2024-07-02 15:01:00.000 example: 2024-07-02 15:01:00.000
required: false required: false
description: Find all tasks updated until this timestamp. 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: responses:
"200": "200":
description: OK description: OK
@ -873,10 +873,11 @@ paths:
"contractId": "e911532c-8049-4068-955d-6d1230321cba", "contractId": "e911532c-8049-4068-955d-6d1230321cba",
"orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb", "orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb",
"orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171", "orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171",
"details": "xspit|xtat|refundMethod|refundAmount", "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }",
"result": "successful call to GBO", "result": "{ \"result\": \"\", \"timestamp\": \"\" }",
"created": "2024-07-02 15:01:00.000", "created": "2024-07-02 15:01:00.000",
"updated": "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", "contractId": "e911532c-8049-4068-955d-6d1230321cba",
"orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb", "orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb",
"orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171", "orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171",
"details": "xspit|xtat|refundMethod|refundAmount", "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }",
"result": "successful call to GBO", "result": "{ \"result\": \"\", \"timestamp\": \"\" }",
"created": "2024-07-02 15:01:00.000", "created": "2024-07-02 15:01:00.000",
"updated": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000",
"correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399",
}, },
} }
responses: responses:
@ -955,10 +957,11 @@ paths:
"contractId": "e911532c-8049-4068-955d-6d1230321cba", "contractId": "e911532c-8049-4068-955d-6d1230321cba",
"orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb", "orderId": "6c512776-7365-4d29-8ddb-b30e826a2dfb",
"orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171", "orderLineId": "161a3e25-ca15-47b8-b68e-e585cc3ff171",
"details": "xspit|xtat|refundMethod|refundAmount", "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }",
"result": "successful call to GBO", "result": "{ \"result\": \"\", \"timestamp\": \"\" }",
"created": "2024-07-02 15:01:00.000", "created": "2024-07-02 15:01:00.000",
"updated": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000",
"correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399",
}, },
} }
patch: patch:
@ -977,9 +980,10 @@ paths:
{ {
"scheduledActionStatus": 1, "scheduledActionStatus": 1,
"executionTime": "2024-07-02 15:01:00.000", "executionTime": "2024-07-02 15:01:00.000",
"details": "xspit|xtat|refundMethod|refundAmount", "details": "{ \"xspit\": \"\", \"xtat\": \"\", \"refundMethod\": \"\", \"refundAmount\": \"\" }",
"result": "successful call to GBO", "result": "{ \"result\": \"\", \"timestamp\": \"\" }",
"updated": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000",
"correlationId": "fb4443c6-5a6a-47a3-adf0-db3dfc183399",
}, },
} }
responses: responses:
@ -1257,10 +1261,12 @@ components:
example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f
details: details:
type: string type: string
example: xspit|xtat|refundMethod|refundAmount format: json
example: { "xspit": "", "xtat": "", "refundMethod": "", "refundAmount": "" }
result: result:
type: string type: string
example: successful call to GBO format: json
example: { "result": "", "timestamp": "" }
created: created:
type: string type: string
format: date-time format: date-time
@ -1269,6 +1275,10 @@ components:
type: string type: string
format: date-time format: date-time
example: 2024-07-02 15:01:00.000 example: 2024-07-02 15:01:00.000
correlationId:
type: string
format: uuid
example: 8699d72a-cf4d-4e6b-9e9c-549d837ca51f
ScheduledActionType: ScheduledActionType:
type: object type: object
properties: properties: