From 77323b6310254de8410c366b0014d2c1053b5ec8 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Fri, 2 Aug 2024 16:23:02 +0200 Subject: [PATCH] OVPAY-416 - Added extra query param after team refinement --- src/openapi/contracts/contracts-crud.yaml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 79a3c1a..f32867b 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -156,7 +156,14 @@ paths: schema: type: integer required: false - description: Filter on billingDay. + description: Filter on billingDay. In case of weekly termDuration, Sunday = 0, Monday = 1, etc. + - in: query + name: termDuration + schema: + type: string + example: P1M + required: false + description: Filter on termDuration. - in: query name: invoiceLimit schema: @@ -195,14 +202,14 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0001", "term": 1, - "created": "2024-07-02 15:01:00.000", - "updated": "2024-07-02 15:01:00.000", + "created": "2024-06-02 15:01:00.000", + "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", }, { "contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355", "externalReference": "F2024-0002", - "term": 1, + "term": 2, "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -230,14 +237,14 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0003", "term": 1, - "created": "2024-07-02 15:01:00.000", - "updated": "2024-07-02 15:01:00.000", + "created": "2024-06-02 15:01:00.000", + "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", }, { "contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355", "externalReference": "F2024-0004", - "term": 1, + "term": 2, "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created",