OVPAY-879 - Audit Trail v2 overhaul.
This commit is contained in:
parent
4ed63a75bf
commit
2515f36afa
@ -244,26 +244,14 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/TransactionAuditTrailsPostRequestBody"
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "fiko",
|
|
||||||
"timestamp": "2022-01-01 00:00:00",
|
|
||||||
"action": "created",
|
|
||||||
"description": "Transaction created.",
|
|
||||||
"correlationId": "a3891560-3084-42cb-867c-f289e7cda47d",
|
|
||||||
}
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Created
|
description: Created
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/TransactionAuditTrailsPostResponseBody"
|
||||||
example:
|
|
||||||
{
|
|
||||||
"transactionAuditTrailId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
|
|
||||||
}
|
|
||||||
/transactionaudittrails:
|
/transactionaudittrails:
|
||||||
get:
|
get:
|
||||||
summary: Find audit trail entries.
|
summary: Find audit trail entries.
|
||||||
@ -330,32 +318,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/TransactionAuditTrailsGetResponseBody"
|
||||||
example:
|
|
||||||
{
|
|
||||||
"transactionAuditTrails":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"transactionAuditTrailId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
|
|
||||||
"transactionItemId": "d667d293-aa82-4c9e-9b10-77cffc9058a1",
|
|
||||||
"user": "fiko",
|
|
||||||
"timestamp": "2022-01-01 00:00:00",
|
|
||||||
"action": "created",
|
|
||||||
"description": "Transaction created.",
|
|
||||||
"correlationId": "a3891560-3084-42cb-867c-f289e7cda47d",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"transactionAuditTrailId": "e63cc37b-4d87-4278-8eb5-1477e07edf3d",
|
|
||||||
"transactionItemId": "d667d293-aa82-4c9e-9b10-77cffc9058a1",
|
|
||||||
"user": "fiko",
|
|
||||||
"timestamp": "2022-01-01 00:01:00",
|
|
||||||
"action": "processed",
|
|
||||||
"description": "Transaction processed.",
|
|
||||||
"correlationId": "3e9d7d4b-8adf-4e7f-8251-be308f16d3de",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"href": null,
|
|
||||||
}
|
|
||||||
/processingfailures:
|
/processingfailures:
|
||||||
get:
|
get:
|
||||||
summary: Find processing failures.
|
summary: Find processing failures.
|
||||||
@ -881,48 +844,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"productContraAccountId": "39a87c2a-9011-4dfd-b35e-1245a98c2e61",
|
"productContraAccountId": "39a87c2a-9011-4dfd-b35e-1245a98c2e61",
|
||||||
}
|
}
|
||||||
/productmetadata/{productMetadataId}/metadataaudittrails:
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: productMetadataId
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
|
||||||
required: true
|
|
||||||
description: The id of the product metadata.
|
|
||||||
post:
|
|
||||||
summary: Add metadata audit trail.
|
|
||||||
description: Add metadata audit trail.
|
|
||||||
tags:
|
|
||||||
- Audit Trail v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "rmeeuws",
|
|
||||||
"timestamp": "2024-10-04T00:00:00",
|
|
||||||
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
|
|
||||||
"metadataChanges":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"fieldName": "department",
|
|
||||||
"oldValue": "900",
|
|
||||||
"newValue": "999",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/postMetadataAuditTrailResponse"
|
|
||||||
/contraaccountmetadata:
|
/contraaccountmetadata:
|
||||||
get:
|
get:
|
||||||
summary: Find contra account metadata.
|
summary: Find contra account metadata.
|
||||||
@ -1044,48 +965,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"contraAccountMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
"contraAccountMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
||||||
}
|
}
|
||||||
/contraaccountmetadata/{contraAccountMetadataId}/metadataaudittrails:
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: contraAccountMetadataId
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
|
||||||
required: true
|
|
||||||
description: The id of the contra account metadata.
|
|
||||||
post:
|
|
||||||
summary: Add metadata audit trail.
|
|
||||||
description: Add metadata audit trail.
|
|
||||||
tags:
|
|
||||||
- Audit Trail v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "rmeeuws",
|
|
||||||
"timestamp": "2024-10-04T00:00:00",
|
|
||||||
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
|
|
||||||
"metadataChanges":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"fieldName": "contraAccountMetadataId",
|
|
||||||
"oldValue": "873810a3-a11a-4d4d-9af7-395520fa207c",
|
|
||||||
"newValue": "9a8eb116-5270-4ef9-81ef-fdc2e72c281a",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/postMetadataAuditTrailResponse"
|
|
||||||
/taxmetadata:
|
/taxmetadata:
|
||||||
get:
|
get:
|
||||||
summary: Find tax metadata.
|
summary: Find tax metadata.
|
||||||
@ -1229,48 +1108,6 @@ paths:
|
|||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example:
|
||||||
{ "taxMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
{ "taxMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
||||||
/taxmetadata/{taxMetadataId}/metadataaudittrails:
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: taxMetadataId
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
|
||||||
required: true
|
|
||||||
description: The id of the contra account metadata.
|
|
||||||
post:
|
|
||||||
summary: Add metadata audit trail.
|
|
||||||
description: Add metadata audit trail.
|
|
||||||
tags:
|
|
||||||
- Audit Trail v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "rmeeuws",
|
|
||||||
"timestamp": "2024-10-04T00:00:00",
|
|
||||||
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
|
|
||||||
"metadataChanges":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"fieldName": "taxCode",
|
|
||||||
"oldValue": null,
|
|
||||||
"newValue": "V21",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/postMetadataAuditTrailResponse"
|
|
||||||
/sourcemetadata:
|
/sourcemetadata:
|
||||||
get:
|
get:
|
||||||
summary: Find source metadata.
|
summary: Find source metadata.
|
||||||
@ -1427,48 +1264,6 @@ paths:
|
|||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example:
|
||||||
{ "sourceMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
{ "sourceMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf" }
|
||||||
/sourcemetadata/{sourceMetadataId}/metadataaudittrails:
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: sourceMetadataId
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
|
||||||
required: true
|
|
||||||
description: The id of the contra account metadata.
|
|
||||||
post:
|
|
||||||
summary: Add metadata audit trail.
|
|
||||||
description: Add metadata audit trail.
|
|
||||||
tags:
|
|
||||||
- Audit Trail v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "rmeeuws",
|
|
||||||
"timestamp": "2024-10-04T00:00:00",
|
|
||||||
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
|
|
||||||
"metadataChanges":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"fieldName": "businessOwner",
|
|
||||||
"oldValue": "Corneel Verstoep",
|
|
||||||
"newValue": "Mark Verheij",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/postMetadataAuditTrailResponse"
|
|
||||||
/accountingperiodmetadata:
|
/accountingperiodmetadata:
|
||||||
get:
|
get:
|
||||||
summary: Find accounting period metadata.
|
summary: Find accounting period metadata.
|
||||||
@ -1575,48 +1370,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"accountingPeriodMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
"accountingPeriodMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
||||||
}
|
}
|
||||||
/accountingperiodmetadata/{accountingPeriodMetadataId}/metadataaudittrails:
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: accountingPeriodMetadataId
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
|
||||||
required: true
|
|
||||||
description: The id of the contra account metadata.
|
|
||||||
post:
|
|
||||||
summary: Add metadata audit trail.
|
|
||||||
description: Add metadata audit trail.
|
|
||||||
tags:
|
|
||||||
- Audit Trail v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "rmeeuws",
|
|
||||||
"timestamp": "2024-10-04T00:00:00",
|
|
||||||
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
|
|
||||||
"metadataChanges":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"fieldName": "isOpen",
|
|
||||||
"oldValue": "true",
|
|
||||||
"newValue": "false",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/postMetadataAuditTrailResponse"
|
|
||||||
/concessionmetadata:
|
/concessionmetadata:
|
||||||
get:
|
get:
|
||||||
summary: Find concession metadata.
|
summary: Find concession metadata.
|
||||||
@ -1748,48 +1501,6 @@ paths:
|
|||||||
{
|
{
|
||||||
"concessionMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
"concessionMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
||||||
}
|
}
|
||||||
/concessionmetadata/{concessionMetadataId}/metadataaudittrails:
|
|
||||||
parameters:
|
|
||||||
- in: path
|
|
||||||
name: concessionMetadataId
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
|
||||||
required: true
|
|
||||||
description: The id of the product metadata.
|
|
||||||
post:
|
|
||||||
summary: Add metadata audit trail.
|
|
||||||
description: Add metadata audit trail.
|
|
||||||
tags:
|
|
||||||
- Audit Trail v2
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/unavailable"
|
|
||||||
example:
|
|
||||||
{
|
|
||||||
"user": "rmeeuws",
|
|
||||||
"timestamp": "2024-10-04T00:00:00",
|
|
||||||
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
|
|
||||||
"metadataChanges":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"fieldName": "percentage",
|
|
||||||
"oldValue": null,
|
|
||||||
"newValue": "23.456",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
responses:
|
|
||||||
"201":
|
|
||||||
description: Created
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/postMetadataAuditTrailResponse"
|
|
||||||
/metadataaudittrails:
|
/metadataaudittrails:
|
||||||
get:
|
get:
|
||||||
summary: Find metadata audit trails.
|
summary: Find metadata audit trails.
|
||||||
@ -1805,106 +1516,103 @@ paths:
|
|||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
description: The id of the metadata audit trail.
|
description: The id of the metadata audit trail.
|
||||||
- in: query
|
- in: query
|
||||||
name: productMetadataId
|
name: source
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
example: FMT
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
description: The source of the metadata change.
|
||||||
description: The id of the product metadata.
|
|
||||||
- in: query
|
- in: query
|
||||||
name: concessionMetadataId
|
name: endpoint
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: url
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: https://dev.api.htm.nl/v2/productmetadata
|
||||||
description: The id of the concession metadata.
|
description: The endpoint of the metadata change.
|
||||||
- in: query
|
- in: query
|
||||||
name: contraAccountMetadataId
|
name: operation
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: array
|
||||||
format: uuid
|
items:
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
type: string
|
||||||
description: The id of the contra account metadata.
|
enum:
|
||||||
|
- GET
|
||||||
|
- POST
|
||||||
|
- PATCH
|
||||||
|
- DELETE
|
||||||
|
example: POST
|
||||||
|
explode: false
|
||||||
|
description: The operation of the metadata change.
|
||||||
- in: query
|
- in: query
|
||||||
name: taxMetadataId
|
name: responseCode
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: integer
|
||||||
format: uuid
|
example: 200
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
description: The HTTP response code of the metadata change.
|
||||||
description: The id of the tax metadata.
|
|
||||||
- in: query
|
- in: query
|
||||||
name: sourceMetadataId
|
name: requestBody
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: json
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: { "json": "data" }
|
||||||
description: The id of the source metadata.
|
description: The request body of the metadata change.
|
||||||
- in: query
|
- in: query
|
||||||
name: accountingPeriodMetadataId
|
name: responseBody
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: json
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: { "json": "data" }
|
||||||
description: The id of the accounting period metadata.
|
description: The response body of the metadata change.
|
||||||
- in: query
|
- in: query
|
||||||
name: user
|
name: user
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: rmeeuws
|
example: r.meeuws
|
||||||
description: The username of the user.
|
description: The id of the user who performed the metadata change.
|
||||||
- in: query
|
- in: query
|
||||||
name: timestampBefore
|
name: timestampBefore
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: 2022-01-01 00:00:00
|
format: date-time
|
||||||
description: The timestamp before the event occured.
|
example: 2024-01-01T00:00:00.000
|
||||||
|
description: The timestamp before the metadata change was made.
|
||||||
- in: query
|
- in: query
|
||||||
name: timestampAfter
|
name: timestampAfter
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: 2022-01-01 00:00:00
|
format: date-time
|
||||||
description: The timestamp after the event occured.
|
example: 2024-01-01T00:00:00.000
|
||||||
|
description: The timestamp after the metadata change was made.
|
||||||
- in: query
|
- in: query
|
||||||
name: correlationId
|
name: correlationId
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: a3891560-3084-42cb-867c-f289e7cda47d
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
description: The correlation id of the event.
|
description: The correlation id of the metadata change.
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/MetadataAuditTrailsGetResponseBody"
|
||||||
example:
|
post:
|
||||||
{
|
summary: Add metadata audit trail.
|
||||||
"metadataAuditTrails":
|
description: Add metadata audit trail.
|
||||||
[
|
tags:
|
||||||
{
|
- Audit Trail v2
|
||||||
"metadataAuditTrailId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
requestBody:
|
||||||
"productMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
|
required: true
|
||||||
"concessionMetadataId": null,
|
content:
|
||||||
"contraAccountMetadataId": null,
|
application/json:
|
||||||
"taxMetadataId": null,
|
schema:
|
||||||
"sourceMetadataId": null,
|
$ref: "#/components/schemas/MetadataAuditTrailsPostRequestBody"
|
||||||
"accountingPeriodMetadataId": null,
|
responses:
|
||||||
"user": "rmeeuws",
|
"201":
|
||||||
"timestamp": "2022-01-01 00:00:00",
|
description: Created
|
||||||
"correlationId": "a3891560-3084-42cb-867c-f289e7cda47d",
|
content:
|
||||||
"metadataChanges":
|
application/json:
|
||||||
[
|
schema:
|
||||||
{
|
$ref: "#/components/schemas/MetadataAuditTrailsPostResponseBody"
|
||||||
"metadataChangesId": "43a481a7-0845-460f-b44a-b4112cc2e193",
|
|
||||||
"fieldName": "businessOwner",
|
|
||||||
"oldValue": "Corneel Verstoep",
|
|
||||||
"newValue": "Jan-Willem Vermeij",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"href": null,
|
|
||||||
}
|
|
||||||
/concessions:
|
/concessions:
|
||||||
get:
|
get:
|
||||||
summary: Get all concessions.
|
summary: Get all concessions.
|
||||||
@ -2106,6 +1814,7 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
transactionItemId:
|
transactionItemId:
|
||||||
type: string
|
type: string
|
||||||
|
format: uuid
|
||||||
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
||||||
required:
|
required:
|
||||||
- transactionItemId
|
- transactionItemId
|
||||||
@ -2177,6 +1886,7 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
transactionItemId:
|
transactionItemId:
|
||||||
type: string
|
type: string
|
||||||
|
format: uuid
|
||||||
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
||||||
required:
|
required:
|
||||||
- transactionItemId
|
- transactionItemId
|
||||||
@ -2196,6 +1906,7 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
transactionItemId:
|
transactionItemId:
|
||||||
type: string
|
type: string
|
||||||
|
format: uuid
|
||||||
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
||||||
required:
|
required:
|
||||||
- transactionItemId
|
- transactionItemId
|
||||||
@ -2398,7 +2109,6 @@ components:
|
|||||||
processingFailureId:
|
processingFailureId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
nullable: false
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
required:
|
required:
|
||||||
- processingFailureId
|
- processingFailureId
|
||||||
@ -2433,7 +2143,6 @@ components:
|
|||||||
processingFailureInstanceId:
|
processingFailureInstanceId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
nullable: false
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
required:
|
required:
|
||||||
- processingFailureInstanceId
|
- processingFailureInstanceId
|
||||||
@ -2459,10 +2168,228 @@ components:
|
|||||||
processingFailureInstanceId:
|
processingFailureInstanceId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
nullable: false
|
|
||||||
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
required:
|
required:
|
||||||
- processingFailureInstanceId
|
- processingFailureInstanceId
|
||||||
|
TransactionAuditTrailsPostRequestBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
user:
|
||||||
|
type: string
|
||||||
|
example: fiko
|
||||||
|
timestamp:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2022-01-01 00:00:00
|
||||||
|
action:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- created
|
||||||
|
- succeeded
|
||||||
|
- failed
|
||||||
|
- returned to trx-db
|
||||||
|
- returned to src
|
||||||
|
example: created
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
example: Transaction created.
|
||||||
|
correlationId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
|
required:
|
||||||
|
- user
|
||||||
|
- timestamp
|
||||||
|
- action
|
||||||
|
TransactionAuditTrailsPostResponseBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
transactionAuditTrailId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: 37a8095b-19db-498f-9349-5f37d21c5bdf
|
||||||
|
required:
|
||||||
|
- transactionAuditTrailId
|
||||||
|
TransactionAuditTrailsGetResponseBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
transactionAuditTrails:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
transactionAuditTrailId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: afce35b2-1dff-4ace-98d0-4b9ac405c87d
|
||||||
|
transactionItemId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: d667d293-aa82-4c9e-9b10-77cffc9058a1
|
||||||
|
user:
|
||||||
|
type: string
|
||||||
|
example: fiko
|
||||||
|
timestamp:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2022-01-01 00:00:00
|
||||||
|
action:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- created
|
||||||
|
- succeeded
|
||||||
|
- failed
|
||||||
|
- returned to trx-db
|
||||||
|
- returned to src
|
||||||
|
example: created
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
example: Transaction created.
|
||||||
|
correlationId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
example: a3891560-3084-42cb-867c-f289e7cda47d
|
||||||
|
required:
|
||||||
|
- transactionAuditTrailId
|
||||||
|
- transactionItemId
|
||||||
|
- user
|
||||||
|
- timestamp
|
||||||
|
- action
|
||||||
|
href:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
example: null
|
||||||
|
required:
|
||||||
|
- transactionAuditTrails
|
||||||
|
MetadataAuditTrailsGetResponseBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
metadataAuditTrails:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
metadataAuditTrailId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: b6161270-eb08-4242-90ec-967d5db62070
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
|
example: FMT
|
||||||
|
endpoint:
|
||||||
|
type: string
|
||||||
|
format: url
|
||||||
|
example: https://dev.api.htm.nl/v2/productmetadata
|
||||||
|
operation:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- GET
|
||||||
|
- POST
|
||||||
|
- PATCH
|
||||||
|
- DELETE
|
||||||
|
example: POST
|
||||||
|
requestBody:
|
||||||
|
type: string
|
||||||
|
format: json
|
||||||
|
example: { "json": "data" }
|
||||||
|
responseCode:
|
||||||
|
type: integer
|
||||||
|
example: 200
|
||||||
|
responseBody:
|
||||||
|
type: string
|
||||||
|
format: json
|
||||||
|
example: { "json": "data" }
|
||||||
|
user:
|
||||||
|
type: string
|
||||||
|
example: r.meeuws
|
||||||
|
timestamp:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2022-01-01 00:00:00
|
||||||
|
correlationId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
example: 662de47c-d809-41bd-b3f6-5c7e1dc5c030
|
||||||
|
required:
|
||||||
|
- metadataAuditTrailId
|
||||||
|
- source
|
||||||
|
- endpoint
|
||||||
|
- operation
|
||||||
|
- requestBody
|
||||||
|
- responseCode
|
||||||
|
- responseBody
|
||||||
|
- user
|
||||||
|
- timestamp
|
||||||
|
href:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
example: null
|
||||||
|
required:
|
||||||
|
- metadataAuditTrails
|
||||||
|
MetadataAuditTrailsPostRequestBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
|
example: FMT
|
||||||
|
endpoint:
|
||||||
|
type: string
|
||||||
|
format: url
|
||||||
|
example: https://dev.api.htm.nl/v2/productmetadata
|
||||||
|
operation:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- GET
|
||||||
|
- POST
|
||||||
|
- PATCH
|
||||||
|
- DELETE
|
||||||
|
example: POST
|
||||||
|
requestBody:
|
||||||
|
type: string
|
||||||
|
format: json
|
||||||
|
example: { "json": "data" }
|
||||||
|
responseCode:
|
||||||
|
type: integer
|
||||||
|
example: 200
|
||||||
|
responseBody:
|
||||||
|
type: string
|
||||||
|
format: json
|
||||||
|
example: { "json": "data" }
|
||||||
|
user:
|
||||||
|
type: string
|
||||||
|
example: r.meeuws
|
||||||
|
timestamp:
|
||||||
|
type: string
|
||||||
|
format: date-time
|
||||||
|
example: 2022-01-01 00:00:00
|
||||||
|
correlationId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
nullable: true
|
||||||
|
example: 662de47c-d809-41bd-b3f6-5c7e1dc5c030
|
||||||
|
required:
|
||||||
|
- source
|
||||||
|
- endpoint
|
||||||
|
- operation
|
||||||
|
- requestBody
|
||||||
|
- responseCode
|
||||||
|
- responseBody
|
||||||
|
- user
|
||||||
|
- timestamp
|
||||||
|
MetadataAuditTrailsPostResponseBody:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
metadataAuditTrailId:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: b6161270-eb08-4242-90ec-967d5db62070
|
||||||
|
required:
|
||||||
|
- metadataAuditTrailId
|
||||||
rfc9457:
|
rfc9457:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user