Terms changed to array (commit #2).

This commit is contained in:
Bas Boterman 2024-10-04 17:16:53 +02:00
parent 56cbb0d23f
commit 84e2f56dbd

View File

@ -158,7 +158,13 @@ paths:
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"terms": "generalTermsAndConditions.pdf", "orderLineTerms":
[
{
"orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e",
"termsUrl": "generalTermsAndConditions.pdf",
},
],
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": "2025-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00",
"orderLineStatus": "orderLineStatus":
@ -315,7 +321,8 @@ paths:
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"terms": "generalTermsAndConditions.pdf", "orderLineTerms":
[{ "termsUrl": "generalTermsAndConditions.pdf" }],
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": "2025-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00",
"orderLineStatusId": 4, "orderLineStatusId": 4,
@ -475,7 +482,13 @@ paths:
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"terms": "generalTermsAndConditions.pdf", "orderLineTerms":
[
{
"orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e",
"termsUrl": "generalTermsAndConditions.pdf",
},
],
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": "2025-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00",
"orderLineStatus": "orderLineStatus":
@ -680,7 +693,8 @@ paths:
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"terms": "generalTermsAndConditions.pdf", "orderLineTerms":
[{ "termsUrl": "generalTermsAndConditions.pdf" }],
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": "2025-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00",
"orderLineStatusId": 4, "orderLineStatusId": 4,
@ -903,7 +917,7 @@ paths:
required: false required: false
description: The quantity of products for this order line. description: The quantity of products for this order line.
- in: query - in: query
name: terms name: termsUrl
schema: schema:
type: string type: string
example: generalTermsAndConditions.pdf example: generalTermsAndConditions.pdf
@ -1002,7 +1016,13 @@ paths:
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"terms": "generalTermsAndConditions.pdf", "orderLineTerms":
[
{
"orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e",
"termsUrl": "generalTermsAndConditions.pdf",
},
],
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": "2025-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00",
"orderLineStatus": "orderLineStatus":
@ -1072,7 +1092,6 @@ paths:
"amountExclTax": 100, "amountExclTax": 100,
"amountInclTax": 121, "amountInclTax": 121,
"quantity": 1, "quantity": 1,
"terms": "generalTermsAndConditions.pdf",
"validFrom": "2024-03-22T09:00:00", "validFrom": "2024-03-22T09:00:00",
"validUntil": "2025-03-22T09:00:00", "validUntil": "2025-03-22T09:00:00",
"orderLineStatusId": 4, "orderLineStatusId": 4,