From fcc0740130fd0147fc6ee184eabcdd41cbe7fb92 Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 6 Jan 2025 15:16:27 +0100 Subject: [PATCH] query params --- src/openapi/customers/customers-crud-v2.yaml | 50 +++++++++++++------- 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index f907126..8e3a05a 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -27,8 +27,10 @@ paths: - name: customerStatusId in: query schema: - type: integer - example: 1 + type: array + items: + type: integer + description: Filter on possible customer statuses. 1 = Inactive, 2 = Active, 3 = Blocked, 4 = Frozen, 5 = Cleaned - name: debtorNumber in: query schema: @@ -40,7 +42,7 @@ paths: type: array items: type: integer - description: Filter on possible debtor status. 1 = active, 2 = inactive + description: Filter on possible debtor statuses. 1 = Active, 2 = Inactive - name: birthname in: query schema: @@ -51,6 +53,22 @@ paths: schema: type: string example: Doe + - name: prefix + in: query + schema: + type: string + example: De + - name: suffix + in: query + schema: + type: string + example: dhr + - name: emailAddress + in: query + schema: + type: string + format: email + example: john.doe@mymailprovider.com - name: emailAddress in: query schema: @@ -227,8 +245,8 @@ paths: tokenType: tokenTypeId: 1 name: EMV - xTat: twioq73033 - xBot: hjihwqui27 + xTat: 0115b0df-db38-4702-8811-6f7de00db3ac + xBot: 71a88843-32b8-4d52-ac25-de2458c47775 alias: alias lastDigits: "5678" ovpasNumber: null @@ -241,8 +259,8 @@ paths: tokenType: tokenTypeId: 2 name: OV-pas physical - xTat: hhe2830283 - xBot: jdhd828033 + xTat: 0115b0df-db38-4702-8811-6f7de00db3ac + xBot: 71a88843-32b8-4d52-ac25-de2458c47775 alias: alias lastDigits: "5674" ovpasNumber: OV34568 @@ -251,7 +269,7 @@ paths: name: Active expirationDate: "2024-04-20T17:05:52.000+02:00" replacedByTokenId: 2 - audit: + auditTrails: - auditTrailId: 1 customerProfileId: 1 action: insert @@ -341,8 +359,8 @@ paths: tokenType: tokenTypeId: 2 name: OV-pas physical - xTat: twioq73033 - xBot: hjihwqui27 + xTat: 0115b0df-db38-4702-8811-6f7de00db3ac + xBot: 71a88843-32b8-4d52-ac25-de2458c47775 alias: alias lastDigits: "5678" ovpasNumber: OV34567 @@ -355,8 +373,8 @@ paths: tokenType: tokenTypeId: 2 name: OV-pas physical - xTat: hhe2830283 - xBot: jdhd828033 + xTat: 0115b0df-db38-4702-8811-6f7de00db3ac + xBot: 71a88843-32b8-4d52-ac25-de2458c47775 alias: alias lastDigits: "5674" ovpasNumber: OV34568 @@ -365,7 +383,7 @@ paths: name: active expirationDate: "2024-04-20T17:05:52.000+02:00" replacedByTokenId: 2 - audit: + auditTrails: - auditTrailId: 1 customerProfileId: 1 action: insert @@ -814,7 +832,7 @@ components: example: - /account/12345 - /account/67890 - audit: + getAuditTrails: type: object properties: auditTrailId: @@ -1013,10 +1031,10 @@ components: type: array items: $ref: "#/components/schemas/getOvPayTokens" - audit: + auditTrails: type: array items: - $ref: "#/components/schemas/audit" + $ref: "#/components/schemas/getAuditTrails" ovPayTokenEntity: type: object properties: