added pad changes to order crud
This commit is contained in:
parent
2726ddb332
commit
62e2dbc78d
@ -206,9 +206,8 @@ paths:
|
||||
{
|
||||
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"birthdate": "01-01-1970",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeType":
|
||||
{
|
||||
"challengeTypeId": 1,
|
||||
@ -345,7 +344,7 @@ paths:
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxCode: "V21",
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
@ -368,12 +367,11 @@ paths:
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"birthDate": "01-01-1970",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
}
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses":
|
||||
@ -550,9 +548,8 @@ paths:
|
||||
{
|
||||
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"birthDate": "01-01-1970",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeType":
|
||||
{ "challengeTypeId": 1, "name": "email" },
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
@ -760,12 +757,11 @@ paths:
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
"name": null,
|
||||
"birthDate": "01-01-1970",
|
||||
"photo": null,
|
||||
"challengeTypeId": null,
|
||||
"oneTimePassword": null
|
||||
},
|
||||
},
|
||||
],
|
||||
@ -1094,7 +1090,6 @@ paths:
|
||||
{
|
||||
"customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e",
|
||||
"tokenType": { "tokenTypeId": 1, "name": "EMV" },
|
||||
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
@ -1104,9 +1099,8 @@ paths:
|
||||
{
|
||||
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"birthDate": "01-01-1970",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeType":
|
||||
{ "challengeTypeId": 1, "name": "email" },
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
@ -1239,14 +1233,9 @@ paths:
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
{
|
||||
"birthDate": "01-01-1970",
|
||||
}
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
@ -1347,9 +1336,8 @@ paths:
|
||||
{
|
||||
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"birthDate": "01-01-1970",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeType":
|
||||
{ "challengeTypeId": 1, "name": "email" },
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
@ -1414,13 +1402,39 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
}
|
||||
examples:
|
||||
birthDate PersonalAccountData:
|
||||
summary: PersonalAccountData birthDate
|
||||
description: Only record birthDate PersonalAccountData
|
||||
value:
|
||||
{
|
||||
"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:
|
||||
"201":
|
||||
description: OK
|
||||
@ -1461,7 +1475,7 @@ paths:
|
||||
required: false
|
||||
description: The name of the customer.
|
||||
- in: query
|
||||
name: dateOfBirth
|
||||
name: birthDate
|
||||
schema:
|
||||
type: string
|
||||
format: date
|
||||
@ -1469,19 +1483,12 @@ paths:
|
||||
required: false
|
||||
description: The date of birth of the customer.
|
||||
- in: query
|
||||
name: photoReference
|
||||
name: photo
|
||||
schema:
|
||||
type: string
|
||||
example: DSC_0502.JPG
|
||||
required: false
|
||||
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
|
||||
name: challengeTypeId
|
||||
schema:
|
||||
@ -1514,9 +1521,8 @@ paths:
|
||||
"orderLineId": "858e31b9-67f0-46ca-bf88-91a382b9c079",
|
||||
"orderId": "858e31b9-67f0-46ca-bf88-91a382b9c079",
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "01-01-1970",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"birthDate": "01-01-1970",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeType": { "challengeTypeId": 1, "name": "email" },
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
@ -1543,8 +1549,7 @@ paths:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"photo": "DSC_0502.JPG",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user