OVPAY-2103 - Added example for get single order.
This commit is contained in:
parent
a4f33c5439
commit
482911d717
@ -311,22 +311,25 @@ paths:
|
|||||||
},
|
},
|
||||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||||
},
|
},
|
||||||
"ovPayToken": {
|
"ovPayToken":
|
||||||
|
{
|
||||||
"customerProfileId": 1,
|
"customerProfileId": 1,
|
||||||
"ovPayTokenId": 1,
|
"ovPayTokenId": 1,
|
||||||
"xTat": "32089cc8-d187-47ff-a3a9-5c2558def811",
|
"xTat": "32089cc8-d187-47ff-a3a9-5c2558def811",
|
||||||
"tokenType": {
|
"tokenType":
|
||||||
"tokenTypeId": 2,
|
{
|
||||||
"name": "OV-pas physical"
|
"tokenTypeId": 2,
|
||||||
},
|
"name": "OV-pas physical",
|
||||||
|
},
|
||||||
"alias": "MyToken",
|
"alias": "MyToken",
|
||||||
"tokenStatus": {
|
"tokenStatus":
|
||||||
"tokenStatusId": 2,
|
{
|
||||||
"name": "Active"
|
"tokenStatusId": 2,
|
||||||
},
|
"name": "Active",
|
||||||
|
},
|
||||||
"expirationDate": "2028-02-01",
|
"expirationDate": "2028-02-01",
|
||||||
"replacedByTokenId": null
|
"replacedByTokenId": null,
|
||||||
},
|
},
|
||||||
"autoReloadRegistration":
|
"autoReloadRegistration":
|
||||||
{
|
{
|
||||||
"autoReloadAmount": 500,
|
"autoReloadAmount": 500,
|
||||||
@ -655,7 +658,191 @@ paths:
|
|||||||
summary: Order with status concept
|
summary: Order with status concept
|
||||||
description: Order with status concept
|
description: Order with status concept
|
||||||
value:
|
value:
|
||||||
{ }
|
{
|
||||||
|
"validContents": false,
|
||||||
|
"orderId": "1e441d7d-50d6-4006-aca7-5e87e2f218df",
|
||||||
|
"externalOrderId": null,
|
||||||
|
"orderNumber": "ORD-123456",
|
||||||
|
"customerProfileId": 1337,
|
||||||
|
"totalAmount": 121,
|
||||||
|
"touchPoint":
|
||||||
|
{
|
||||||
|
"salesTouchpointId": 3,
|
||||||
|
"name": "Website (Perplex)",
|
||||||
|
"isActive": true,
|
||||||
|
"retailerId": 1001,
|
||||||
|
},
|
||||||
|
"language":
|
||||||
|
{
|
||||||
|
"languageId": 1,
|
||||||
|
"name": "Nederlands",
|
||||||
|
"iso639Code": "nl-NL",
|
||||||
|
"ietfCode": "nl",
|
||||||
|
},
|
||||||
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
|
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||||
|
"order_OrderStatuses":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
|
"description": "Order is aangemaakt",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"orderLines":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"orderLineId": "cccada2c-d5ea-48ab-b4be-f590e16b5468",
|
||||||
|
"externalOrderLineId": null,
|
||||||
|
"productId": 1,
|
||||||
|
"productName": "HTM Maandkorting 20%",
|
||||||
|
"fikoArticleNumber": "6609",
|
||||||
|
"productDescription": "HTM Maandkorting 20%",
|
||||||
|
"taxCode": "V21",
|
||||||
|
"taxPercentage": 21.0000,
|
||||||
|
"taxAmount": 21,
|
||||||
|
"amountExclTax": 100,
|
||||||
|
"amountInclTax": 121,
|
||||||
|
"quantity": 1,
|
||||||
|
"orderLineTerms":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"orderLineTermsId": "cccada2c-d5ea-48ab-b4be-f590e16b5468",
|
||||||
|
"termsUrl": "generalTermsAndConditions.pdf",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orderLineTermsId": "bd76f723-9308-4629-a291-4c4fafd7ed87",
|
||||||
|
"termsUrl": "productTermsAndConditions.pdf",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
|
"validFrom": "2024-03-22T09:00:00",
|
||||||
|
"validUntil": null,
|
||||||
|
"orderLineStatus":
|
||||||
|
{ "orderLineStatusId": 1, "name": "pending" },
|
||||||
|
"customerTokens":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e",
|
||||||
|
"tokenType":
|
||||||
|
{ "tokenTypeId": 1, "name": "EMV" },
|
||||||
|
"ovPayTokenId": 1,
|
||||||
|
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||||
|
"amount": 34,
|
||||||
|
"ovpasNumber": "OV34567",
|
||||||
|
"verificationCode": "A7H6",
|
||||||
|
"personalAccountData":
|
||||||
|
{
|
||||||
|
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
|
||||||
|
"name": "Jan de Vries",
|
||||||
|
"birthdate": "1970-01-01",
|
||||||
|
"photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAWJLR0Q+SWQA4wAAAAd0SU1FB+YCBAwmK58TFQgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMDRUMTI6Mzg6NDMrMDA6MDBAjYOrAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTA0VDEyOjM4OjQzKzAwOjAwMdA7FwAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAYdpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0n77u/JyBpZD0nVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkJz8+DQo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIj48cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPjxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSJ1dWlkOmZhZjViZGQ1LWJhM2QtMTFkYS1hZDMxLWQzM2Q3NTE4MmYxYiIgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPjx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+PC9yZGY6RGVzY3JpcHRpb24+PC9yZGY6UkRGPjwveDp4bXBtZXRhPg0KPD94cGFja2V0IGVuZD0ndyc/PiyUmAsAAAANSURBVBhXY3grk/YfAAXYAm/HQierAAAAAElFTkSuQmCC",
|
||||||
|
"challengeType":
|
||||||
|
{
|
||||||
|
"challengeTypeId": 1,
|
||||||
|
"name": "email",
|
||||||
|
},
|
||||||
|
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||||
|
},
|
||||||
|
"ovPayToken":
|
||||||
|
{
|
||||||
|
"customerProfileId": 1,
|
||||||
|
"ovPayTokenId": 1,
|
||||||
|
"xTat": "32089cc8-d187-47ff-a3a9-5c2558def811",
|
||||||
|
"tokenType":
|
||||||
|
{
|
||||||
|
"tokenTypeId": 2,
|
||||||
|
"name": "OV-pas physical",
|
||||||
|
},
|
||||||
|
"alias": "MyToken",
|
||||||
|
"tokenStatus":
|
||||||
|
{
|
||||||
|
"tokenStatusId": 2,
|
||||||
|
"name": "Active",
|
||||||
|
},
|
||||||
|
"expirationDate": "2028-02-01",
|
||||||
|
"replacedByTokenId": null,
|
||||||
|
},
|
||||||
|
"autoReloadRegistration":
|
||||||
|
{
|
||||||
|
"autoReloadAmount": 500,
|
||||||
|
"retailerReferenceId": "abc",
|
||||||
|
"arrit": "425f7fc2-1103-4822-9c79-7c4aaa2fb6aa",
|
||||||
|
"autoReloadRegistrationStatus": "ACTIVE",
|
||||||
|
"autoReloadRegistrationStartDateTime": "2024-06-02T15:03:46Z",
|
||||||
|
},
|
||||||
|
"ePurse":
|
||||||
|
{
|
||||||
|
"e-PurseBalance":
|
||||||
|
{ "currency": "EUR", "amount": 350 },
|
||||||
|
"status": "ACTIVE",
|
||||||
|
"originDate": "2019-07-16T11:00:00+02:00",
|
||||||
|
},
|
||||||
|
"gboPersonalAccountData":
|
||||||
|
{
|
||||||
|
"name":
|
||||||
|
{
|
||||||
|
"inaccuracyFlag": false,
|
||||||
|
"inaccuracyFlagReason": null,
|
||||||
|
"inaccuracyFlagSetCounter": 0,
|
||||||
|
"isValidated": false,
|
||||||
|
"changeCounter": 0,
|
||||||
|
"maxUpdatesVerificationCount": 0,
|
||||||
|
"lastChangeDate": "2024-08-24T14:15:22Z",
|
||||||
|
},
|
||||||
|
"birthdate":
|
||||||
|
{
|
||||||
|
"inaccuracyFlag": false,
|
||||||
|
"inaccuracyFlagReason": null,
|
||||||
|
"inaccuracyFlagSetCounter": 0,
|
||||||
|
"isValidated": false,
|
||||||
|
"changeCounter": 0,
|
||||||
|
"maxUpdatesVerificationCount": 0,
|
||||||
|
"lastChangeDate": "2024-08-24T14:15:22Z",
|
||||||
|
},
|
||||||
|
"photo":
|
||||||
|
{
|
||||||
|
"inaccuracyFlag": false,
|
||||||
|
"inaccuracyFlagReason": null,
|
||||||
|
"inaccuracyFlagSetCounter": 0,
|
||||||
|
"isValidated": false,
|
||||||
|
"changeCounter": 0,
|
||||||
|
"maxUpdatesVerificationCount": 0,
|
||||||
|
"lastChangeDate": "2024-08-24T14:15:22Z",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"gboAgeProfile":
|
||||||
|
{
|
||||||
|
"gboAgeProfileId": 1,
|
||||||
|
"name": "Kind (4 t/m 11 jaar)",
|
||||||
|
"ageFromInclusive": 4,
|
||||||
|
"ageToInclusive": 11,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"orderAccountingStatuses": [],
|
||||||
|
"validationResult": "invalid",
|
||||||
|
"additionalRemarks":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "MANDATE_REQUIRED",
|
||||||
|
"parameter": "directDebitMandateId",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"validationErrors":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||||
|
"pointer": "#/0/startDate",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"payments": [],
|
||||||
|
"orderCustomer": null,
|
||||||
|
}
|
||||||
Order with status paid:
|
Order with status paid:
|
||||||
summary: Order with status paid
|
summary: Order with status paid
|
||||||
description: Order with status paid
|
description: Order with status paid
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user