From a30e1cf8d731975342377f2c0da81329d107f0e4 Mon Sep 17 00:00:00 2001 From: "Bent J. Lorentzen" Date: Wed, 6 May 2026 13:05:33 +0200 Subject: [PATCH] Added stationId to the useAssetRequest. Made assetId optional. --- TOMP-API-4-PURCHASE.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TOMP-API-4-PURCHASE.yaml b/TOMP-API-4-PURCHASE.yaml index c0f3de5..e19ec40 100644 --- a/TOMP-API-4-PURCHASE.yaml +++ b/TOMP-API-4-PURCHASE.yaml @@ -282,14 +282,15 @@ components: properties: inputs: type: object - required: - - assets properties: customer: $ref: "TOMP-API-1-CORE.yaml#/components/schemas/customer" + stationId: + type: string + description: unique identifier of a station + example: XX:Y:12345678 assets: type: array - minItems: 1 items: $ref: "TOMP-API-1-CORE.yaml#/components/schemas/assetReference" distribution: