OVPAY-879 - Update after feedback Almando.

This commit is contained in:
Bas Boterman 2024-11-22 13:43:18 +01:00
parent e7559c76e5
commit 9041fb5bf9

View File

@ -228,7 +228,7 @@ paths:
"documentCode": "VERK_FACTUUR", "documentCode": "VERK_FACTUUR",
"accountingPeriod": "2024/10", "accountingPeriod": "2024/10",
"transactionDescription": "Dagkaart", "transactionDescription": "Dagkaart",
"contraAccount": "220.10419", "contraAccountNumber": "220.10419",
"status": "open", "status": "open",
"occurence": 1, "occurence": 1,
"processingFailureInstances": "processingFailureInstances":
@ -483,7 +483,7 @@ paths:
"documentCode": "VERK_FACTUUR", "documentCode": "VERK_FACTUUR",
"accountingPeriod": "2024/10", "accountingPeriod": "2024/10",
"transactionDescription": "Dagkaart", "transactionDescription": "Dagkaart",
"contraAccount": "220.10419", "contraAccountNumber": "220.10419",
"status": "open", "status": "open",
"occurence": 1, "occurence": 1,
"processingFailureInstances": "processingFailureInstances":
@ -726,7 +726,8 @@ paths:
"contraAccountMetadata": "contraAccountMetadata":
{ {
"contraAccountMetadataId": "e0af8c8f-d421-4567-a14e-48e2a1bb86fb", "contraAccountMetadataId": "e0af8c8f-d421-4567-a14e-48e2a1bb86fb",
"contraAccount": "220.10419", "contraAccountCode": "123456",
"contraAccountNumber": "220.10419",
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": null, "validUntil": null,
}, },
@ -750,7 +751,8 @@ paths:
"contraAccountMetadata": "contraAccountMetadata":
{ {
"contraAccountMetadataId": "69c562ca-5299-4585-ac92-46fb54aeb99e", "contraAccountMetadataId": "69c562ca-5299-4585-ac92-46fb54aeb99e",
"contraAccount": "220.10538", "contraAccountCode": "123456",
"contraAccountNumber": "220.10419",
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": null, "validUntil": null,
}, },
@ -929,13 +931,14 @@ paths:
"user": "rmeeuws", "user": "rmeeuws",
"timestamp": "2024-10-04T00:00:00", "timestamp": "2024-10-04T00:00:00",
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127", "correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
"metadataChanges": [ "metadataChanges":
[
{ {
"fieldName": "department", "fieldName": "department",
"oldValue": "900", "oldValue": "900",
"newValue": "999", "newValue": "999",
} },
] ],
} }
responses: responses:
"201": "201":
@ -959,11 +962,17 @@ paths:
example: 37a8095b-19db-498f-9349-5f37d21c5bdf example: 37a8095b-19db-498f-9349-5f37d21c5bdf
description: The id of the contra account metadata. description: The id of the contra account metadata.
- in: query - in: query
name: contraAccount name: contraAccountCode
schema:
type: string
example: 123456
description: The code of the contra account.
- in: query
name: contraAccountNumber
schema: schema:
type: string type: string
example: 220.10419 example: 220.10419
description: The contra account. description: The number of the contra account.
- in: query - in: query
name: validAt name: validAt
schema: schema:
@ -982,7 +991,8 @@ paths:
[ [
{ {
"contraAccountMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf", "contraAccountMetadataId": "37a8095b-19db-498f-9349-5f37d21c5bdf",
"contraAccount": "220.10419", "contraAccountCode": "123456",
"contraAccountNumber": "220.10419",
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": null, "validUntil": null,
}, },
@ -1000,7 +1010,8 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"contraAccount": "220.10419", "contraAccountCode": "123456",
"contraAccountNumber": "220.10419",
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": null, "validUntil": null,
} }
@ -1038,7 +1049,7 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"contraAccount": "220.10419", "contraAccountNumber": "220.10419",
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": null, "validUntil": null,
} }
@ -1079,13 +1090,14 @@ paths:
"user": "rmeeuws", "user": "rmeeuws",
"timestamp": "2024-10-04T00:00:00", "timestamp": "2024-10-04T00:00:00",
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127", "correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
"metadataChanges": [ "metadataChanges":
[
{ {
"fieldName": "contraAccountMetadataId", "fieldName": "contraAccountMetadataId",
"oldValue": "873810a3-a11a-4d4d-9af7-395520fa207c", "oldValue": "873810a3-a11a-4d4d-9af7-395520fa207c",
"newValue": "9a8eb116-5270-4ef9-81ef-fdc2e72c281a", "newValue": "9a8eb116-5270-4ef9-81ef-fdc2e72c281a",
} },
] ],
} }
responses: responses:
"201": "201":
@ -1259,13 +1271,14 @@ paths:
"user": "rmeeuws", "user": "rmeeuws",
"timestamp": "2024-10-04T00:00:00", "timestamp": "2024-10-04T00:00:00",
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127", "correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
"metadataChanges": [ "metadataChanges":
[
{ {
"fieldName": "taxCode", "fieldName": "taxCode",
"oldValue": null, "oldValue": null,
"newValue": "V21", "newValue": "V21",
} },
] ],
} }
responses: responses:
"201": "201":
@ -1449,13 +1462,14 @@ paths:
"user": "rmeeuws", "user": "rmeeuws",
"timestamp": "2024-10-04T00:00:00", "timestamp": "2024-10-04T00:00:00",
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127", "correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
"metadataChanges": [ "metadataChanges":
[
{ {
"fieldName": "businessOwner", "fieldName": "businessOwner",
"oldValue": "Corneel Verstoep", "oldValue": "Corneel Verstoep",
"newValue": "Mark Verheij", "newValue": "Mark Verheij",
} },
] ],
} }
responses: responses:
"201": "201":
@ -1587,13 +1601,14 @@ paths:
"user": "rmeeuws", "user": "rmeeuws",
"timestamp": "2024-10-04T00:00:00", "timestamp": "2024-10-04T00:00:00",
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127", "correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
"metadataChanges": [ "metadataChanges":
[
{ {
"fieldName": "isOpen", "fieldName": "isOpen",
"oldValue": "true", "oldValue": "true",
"newValue": "false", "newValue": "false",
} },
] ],
} }
responses: responses:
"201": "201":
@ -1754,7 +1769,8 @@ paths:
"user": "rmeeuws", "user": "rmeeuws",
"timestamp": "2024-10-04T00:00:00", "timestamp": "2024-10-04T00:00:00",
"correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127", "correlationId": "a03cd0c2-38b5-4619-b9e3-d6e5b842e127",
"metadataChanges": [ "metadataChanges":
[
{ {
"fieldName": "percentage", "fieldName": "percentage",
"oldValue": null, "oldValue": null,