From 44dae159b8153fcc365857ff2c2a90cd4ab0e7f9 Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Thu, 5 Mar 2026 13:10:48 +0100 Subject: [PATCH] OVPAY-2473 - Added HATEOAS for trip correction. --- src/openapi/customers/customers-trips.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/openapi/customers/customers-trips.yaml b/src/openapi/customers/customers-trips.yaml index c94b264..e9c8516 100644 --- a/src/openapi/customers/customers-trips.yaml +++ b/src/openapi/customers/customers-trips.yaml @@ -379,6 +379,7 @@ paths: tariffVersionId: NS:5 correlationId: c3ae1ba3-780a-4416-8a38-3fd03a9005b7 createdAt: 2021-06-02T15:03:46.813Z + _links: null missingCkoTripDetails: summary: Example of a trip with missing check-out value: @@ -539,6 +540,11 @@ paths: tariffVersionId: NS:5 correlationId: c3ae1ba3-780a-4416-8a38-3fd03a9005b7 createdAt: 2021-06-02T15:03:46.813Z + _links: + getStopsForCorrection: + href: https://services.acc.api.htm.nl/abt/abtcustomers/1.0/customers/tariff/stops?xbot=36637b86-7a31-4b77-99dd-2d39b9c1a9b6&tripId=66538&transactionId=001e8481-1151-gemaltoPure-1622527200000 + method: GET + templated: false '400': description: '400' content: @@ -1107,6 +1113,18 @@ components: type: string createdAt: type: string + _links: + type: object + properties: + getStopsForCorrection: + type: object + properties: + href: + type: string + method: + type: string + templated: + type: boolean MissingCkiCkoRequest: type: object properties: