From 84e2f56dbd3bd06fb66f15fbf5040eb0757ce429 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Fri, 4 Oct 2024 17:16:53 +0200 Subject: [PATCH] Terms changed to array (commit #2). --- src/openapi/orders/orders-crud.yaml | 33 +++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/src/openapi/orders/orders-crud.yaml b/src/openapi/orders/orders-crud.yaml index 992f6c1..216dcd6 100644 --- a/src/openapi/orders/orders-crud.yaml +++ b/src/openapi/orders/orders-crud.yaml @@ -158,7 +158,13 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [ + { + "orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e", + "termsUrl": "generalTermsAndConditions.pdf", + }, + ], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatus": @@ -315,7 +321,8 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [{ "termsUrl": "generalTermsAndConditions.pdf" }], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatusId": 4, @@ -475,7 +482,13 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [ + { + "orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e", + "termsUrl": "generalTermsAndConditions.pdf", + }, + ], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatus": @@ -680,7 +693,8 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [{ "termsUrl": "generalTermsAndConditions.pdf" }], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatusId": 4, @@ -903,7 +917,7 @@ paths: required: false description: The quantity of products for this order line. - in: query - name: terms + name: termsUrl schema: type: string example: generalTermsAndConditions.pdf @@ -1002,7 +1016,13 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", + "orderLineTerms": + [ + { + "orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e", + "termsUrl": "generalTermsAndConditions.pdf", + }, + ], "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatus": @@ -1072,7 +1092,6 @@ paths: "amountExclTax": 100, "amountInclTax": 121, "quantity": 1, - "terms": "generalTermsAndConditions.pdf", "validFrom": "2024-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00", "orderLineStatusId": 4,