From 760da37fe3b079974d14a1fe5fc7830ec45b6826 Mon Sep 17 00:00:00 2001 From: Nico Kroll Date: Fri, 30 Jan 2026 07:44:48 +0100 Subject: [PATCH] Methods to search the exact predecessor and successor --- src/v2/tpms.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/v2/tpms.yaml b/src/v2/tpms.yaml index f6e63e1..fbf8c06 100644 --- a/src/v2/tpms.yaml +++ b/src/v2/tpms.yaml @@ -167,6 +167,23 @@ paths: $ref: "#/components/responses/GenericError" security: - SessionScheme: [] + /CustomerStorages/{Guid}/custommethods/Predecessor: + get: + tags: + - "TPMS / customer storage" + parameters: + - $ref: "#/components/parameters/GuidPathParameter" + responses: + 200: + description: "successful operation" + content: + application/json: + schema: + $ref: "#/components/schemas/CustomerStorage" + default: + $ref: "#/components/responses/GenericError" + security: + - SessionScheme: [] /CustomerStorages/{Guid}/custommethods/Rearrange: post: tags: @@ -184,6 +201,23 @@ paths: $ref: "#/components/responses/GenericError" security: - SessionScheme: [] + /CustomerStorages/{Guid}/custommethods/Successor: + get: + tags: + - "TPMS / customer storage" + parameters: + - $ref: "#/components/parameters/GuidPathParameter" + responses: + 200: + description: "successful operation" + content: + application/json: + schema: + $ref: "#/components/schemas/CustomerStorage" + default: + $ref: "#/components/responses/GenericError" + security: + - SessionScheme: [] /CustomerStoragePositions/{Guid}: get: tags: