Compare commits

..

No commits in common. "9e5e7821928c8faf05346dbb71560f4bcdf7fccb" and "2e0df0f57c7a4dfb1503c273a02f09e9c5227258" have entirely different histories.

2 changed files with 18 additions and 6 deletions

View File

@ -27,7 +27,7 @@ paths:
type: integer type: integer
example: 1 example: 1
required: false required: false
description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated, 6 = pending cancellation, 7 = pending termination. description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated.
responses: responses:
"200": "200":
description: OK description: OK
@ -53,6 +53,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
{ {
@ -69,6 +70,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
], ],
@ -96,6 +98,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 0, "highestInvoiceTerm": 0,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractVersions": "contractVersions":
[ [
{ {
@ -149,7 +152,7 @@ paths:
type: integer type: integer
explode: false explode: false
required: false required: false
description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated, 6 = pending cancellation, 7 = pending termination. description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated.
- in: query - in: query
name: billingDay name: billingDay
schema: schema:
@ -203,6 +206,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractInvoices": "contractInvoices":
[ [
{ {
@ -261,6 +265,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractInvoices": "contractInvoices":
[ [
{ {
@ -346,6 +351,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractVersions": "contractVersions":
[ [
{ {
@ -423,6 +429,7 @@ paths:
"productName": "HTM 20% korting 2024", "productName": "HTM 20% korting 2024",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 2, "highestInvoiceTerm": 2,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
}, },
} }
responses: responses:
@ -871,8 +878,6 @@ paths:
{ "contractStatusId": 3, "name": "suspended" }, { "contractStatusId": 3, "name": "suspended" },
{ "contractStatusId": 4, "name": "cancelled" }, { "contractStatusId": 4, "name": "cancelled" },
{ "contractStatusId": 5, "name": "terminated" }, { "contractStatusId": 5, "name": "terminated" },
{ "contractStatusId": 6, "name": "pending cancellation" },
{ "contractStatusId": 7, "name": "pending termination" },
], ],
} }
/actiontypes: /actiontypes:
@ -887,7 +892,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/ActionType" $ref: "#/components/schemas/ContractStatus"
example: example:
{ {
"actionTypes": "actionTypes":
@ -952,6 +957,10 @@ components:
highestInvoiceTerm: highestInvoiceTerm:
type: integer type: integer
example: 1 example: 1
xSpit:
type: string
format: uuid
example: 1c345237-4d84-47f0-93c2-7b94338e3355
contractVersions: contractVersions:
type: array type: array
items: items:
@ -1068,7 +1077,7 @@ components:
example: 2 example: 2
name: name:
type: string type: string
enum: [new, active, suspended, cancelled, terminated, pending cancellation, pending termination] enum: [new, active, suspended, cancelled, terminated]
example: active example: active
ActionType: ActionType:
type: object type: object

View File

@ -43,6 +43,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
{ {
@ -58,6 +59,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
] ]
@ -126,6 +128,7 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractVersions": "contractVersions":
[ [
{ {