added pad changes to order crud

This commit is contained in:
Mirjam Herald 2025-03-26 12:06:56 +01:00
parent 2726ddb332
commit 62e2dbc78d

View File

@ -206,9 +206,8 @@ paths:
{ {
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47", "personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
"name": "Jan de Vries", "name": "Jan de Vries",
"dateOfBirth": "01-01-1970", "birthdate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeType": "challengeType":
{ {
"challengeTypeId": 1, "challengeTypeId": 1,
@ -345,7 +344,7 @@ paths:
"productCode": "HTM-MND-20", "productCode": "HTM-MND-20",
"productDescription": "HTM Maandkorting 20%", "productDescription": "HTM Maandkorting 20%",
"taxAmount": 21, "taxAmount": 21,
"taxCode: "V21", "taxCode": "V21",
"taxPercentage": 21, "taxPercentage": 21,
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
@ -368,12 +367,11 @@ paths:
"personalAccountData": "personalAccountData":
{ {
"name": "Jan de Vries", "name": "Jan de Vries",
"dateOfBirth": "01-01-1970", "birthDate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeTypeId": 1, "challengeTypeId": 1,
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
}, }
}, },
], ],
"orderAccountingStatuses": "orderAccountingStatuses":
@ -550,9 +548,8 @@ paths:
{ {
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47", "personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
"name": "Jan de Vries", "name": "Jan de Vries",
"dateOfBirth": "01-01-1970", "birthDate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeType": "challengeType":
{ "challengeTypeId": 1, "name": "email" }, { "challengeTypeId": 1, "name": "email" },
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
@ -760,12 +757,11 @@ paths:
"verificationCode": "A7H6", "verificationCode": "A7H6",
"personalAccountData": "personalAccountData":
{ {
"name": "Jan de Vries", "name": null,
"dateOfBirth": "01-01-1970", "birthDate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": null,
"fileType": "image/jpg", "challengeTypeId": null,
"challengeTypeId": 1, "oneTimePassword": null
"oneTimePassword": "H5Iiz3JTaQeIV8p",
}, },
}, },
], ],
@ -1094,7 +1090,6 @@ paths:
{ {
"customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e", "customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e",
"tokenType": { "tokenTypeId": 1, "name": "EMV" }, "tokenType": { "tokenTypeId": 1, "name": "EMV" },
"ovPayTokenId": 1, "ovPayTokenId": 1,
"serviceReferenceId": "NLOV1234567ABCDEFG", "serviceReferenceId": "NLOV1234567ABCDEFG",
"amount": 34, "amount": 34,
@ -1104,9 +1099,8 @@ paths:
{ {
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47", "personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
"name": "Jan de Vries", "name": "Jan de Vries",
"dateOfBirth": "01-01-1970", "birthDate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeType": "challengeType":
{ "challengeTypeId": 1, "name": "email" }, { "challengeTypeId": 1, "name": "email" },
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
@ -1240,13 +1234,8 @@ paths:
"verificationCode": "A7H6", "verificationCode": "A7H6",
"personalAccountData": "personalAccountData":
{ {
"name": "Jan de Vries", "birthDate": "01-01-1970",
"dateOfBirth": "01-01-1970", }
"photoReference": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeTypeId": 1,
"oneTimePassword": "H5Iiz3JTaQeIV8p",
},
} }
responses: responses:
"201": "201":
@ -1347,9 +1336,8 @@ paths:
{ {
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47", "personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
"name": "Jan de Vries", "name": "Jan de Vries",
"dateOfBirth": "01-01-1970", "birthDate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeType": "challengeType":
{ "challengeTypeId": 1, "name": "email" }, { "challengeTypeId": 1, "name": "email" },
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
@ -1414,13 +1402,39 @@ paths:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: examples:
{ birthDate PersonalAccountData:
"photoReference": "DSC_0502.JPG", summary: PersonalAccountData birthDate
"fileType": "image/jpg", description: Only record birthDate PersonalAccountData
"challengeTypeId": 1, value:
"oneTimePassword": "H5Iiz3JTaQeIV8p", {
} "birthDate": "01-01-1970"
}
name PersonalAccountData:
summary: PersonalAccountData name
description: Only record name PersonalAccountData
value:
{
"name": "Jan de Vries"
}
photo PersonalAccountData:
summary: PersonalAccountData photo
description: Only record photo in PersonalAccountData
value:
{
"photo": "DSC_0502.JPG"
}
full PersonalAccountData:
summary: PersonalAccountData full
description: Fill the entire record for PersonalAccountData
value:
{
"name": "Jan de Vries",
"birthDate": "01-01-1970",
"photo": "DSC_0502.JPG",
"challengeTypeId": 1,
"oneTimePassword": "H5Iiz3JTaQeIV8p",
}
responses: responses:
"201": "201":
description: OK description: OK
@ -1461,7 +1475,7 @@ paths:
required: false required: false
description: The name of the customer. description: The name of the customer.
- in: query - in: query
name: dateOfBirth name: birthDate
schema: schema:
type: string type: string
format: date format: date
@ -1469,19 +1483,12 @@ paths:
required: false required: false
description: The date of birth of the customer. description: The date of birth of the customer.
- in: query - in: query
name: photoReference name: photo
schema: schema:
type: string type: string
example: DSC_0502.JPG example: DSC_0502.JPG
required: false required: false
description: A reference to the customer photo. description: A reference to the customer photo.
- in: query
name: fileType
schema:
type: string
example: image/jpg
required: false
description: File type of the customer photo.
- in: query - in: query
name: challengeTypeId name: challengeTypeId
schema: schema:
@ -1514,9 +1521,8 @@ paths:
"orderLineId": "858e31b9-67f0-46ca-bf88-91a382b9c079", "orderLineId": "858e31b9-67f0-46ca-bf88-91a382b9c079",
"orderId": "858e31b9-67f0-46ca-bf88-91a382b9c079", "orderId": "858e31b9-67f0-46ca-bf88-91a382b9c079",
"name": "Jan de Vries", "name": "Jan de Vries",
"dateOfBirth": "01-01-1970", "birthDate": "01-01-1970",
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeType": { "challengeTypeId": 1, "name": "email" }, "challengeType": { "challengeTypeId": 1, "name": "email" },
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
}, },
@ -1543,8 +1549,7 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"photoReference": "DSC_0502.JPG", "photo": "DSC_0502.JPG",
"fileType": "image/jpg",
"challengeTypeId": 1, "challengeTypeId": 1,
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
} }