From d9ccbb8227a35e334b9088713ce0c2b86ecd1c2f Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Tue, 3 Sep 2024 10:04:30 +0200 Subject: [PATCH] OVPAY-758 - Added query params to GET /contractinvoices --- src/openapi/contracts/contracts-crud.yaml | 44 ++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 1361acf..e89b531 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -584,8 +584,50 @@ paths: schema: type: string example: F2024-0030 - required: true + required: false description: External reference of the invoice. + - in: query + name: term + schema: + type: integer + example: 4 + required: false + description: Term of the invoice. + - in: query + name: createdFrom + schema: + type: string + example: 2024-06-02 15:01:00.000 + required: false + description: Billing date of the invoice (from). + - in: query + name: createdUntil + schema: + type: string + example: 2024-06-02 15:01:00.000 + required: false + description: Billing date of the invoice (until). + - in: query + name: updatedFrom + schema: + type: string + example: 2024-06-02 15:01:00.000 + required: false + description: Updated timestamp of the invoice (from). + - in: query + name: updatedUntil + schema: + type: string + example: 2024-06-02 15:01:00.000 + required: false + description: Updated timestamp of the invoice (until). + - in: query + name: state + schema: + type: string + example: created + required: false + description: Invoice state. responses: "200": description: OK