From 3b1220456615ddfb44ad3b6cd64d3c09f940dbde Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 24 Oct 2024 15:23:09 +0200 Subject: [PATCH] OVPAY-1147 - MediaType should be TokenType. --- src/openapi/customer/customers-crud-v2.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/openapi/customer/customers-crud-v2.yaml b/src/openapi/customer/customers-crud-v2.yaml index 1aac2d0..464b49c 100644 --- a/src/openapi/customer/customers-crud-v2.yaml +++ b/src/openapi/customer/customers-crud-v2.yaml @@ -28,7 +28,7 @@ paths: required: false description: The id of the customer profile. - in: query - name: mediaTypeId + name: tokenTypeId schema: type: array items: @@ -113,13 +113,14 @@ paths: { "ovPayTokenId": 71, "customerProfileId": 12, - "mediaTypeId": 1, + "tokenType": + { "tokenTypeId": 2, "name": "OV-pas physical" }, "xTat": "700b0516-bf8b-4e6e-bf16-13bfeb078e23", "xBot": "de1a9a7a-a777-4473-889c-44a3bb07daae", "alias": "Mijn OV-pas", "lastDigits": 3301, "ovpasNumber": "63AW974", - "tokenStatusId": 2, + "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, "expirationDate": "2029-03-22T09:00:00", "replacedByTokenId": 12, },