From 4f98d6bdcd2ea59a6677a80aaf89730080a400d2 Mon Sep 17 00:00:00 2001 From: areroshaa Date: Tue, 21 Dec 2021 21:40:23 +0100 Subject: [PATCH] DiginGridTariffAPI.v1_0.json: Added Product(for internal grid company use) as input to tariffquery. Changed TariffKey to be non-required. Description updated for TariffKey and Product: "Exclusive OR with TariffKey/Product". Changed version from 1.0 to 1.0.1. README: Added chapter 11. Endringslogg --- DiginGridTariffAPI.v1_0.json | 15 ++++++++++++--- README.md | 4 ++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/DiginGridTariffAPI.v1_0.json b/DiginGridTariffAPI.v1_0.json index e34289f..2227e3d 100644 --- a/DiginGridTariffAPI.v1_0.json +++ b/DiginGridTariffAPI.v1_0.json @@ -3,7 +3,7 @@ "info": { "title": "Digin Grid Tariff API", "description": "Provides grid tariffs. For external and internal use. https://github.com/digin-energi/API-nettleie-for-styring", - "version": "1.0", + "version": "1.0.1", "contact": { "name": "Digin Grid Tariff API", "url": "https://github.com/digin-energi/API-nettleie-for-styring" @@ -127,9 +127,18 @@ "parameters": [ { "name": "TariffKey", - "description": "TariffKey dictates which tariff will be queried", + "description": "TariffKey dictates which tariff will be queried. Exclusive OR with Product.", + "in": "query", + "schema": { + "maxLength": 100, + "minLength": 0, + "type": "string" + } + }, + { + "name": "Product", + "description": "Internal product code or name to be used internally at the grid company. Exclusive OR with TariffKey.", "in": "query", - "required": true, "schema": { "maxLength": 100, "minLength": 0, diff --git a/README.md b/README.md index 9b288aa..573b6ff 100644 --- a/README.md +++ b/README.md @@ -281,3 +281,7 @@ Input with range parameter: https://github.com/digin-energi/API-nettleie-for-sty
Input with startTime and endTime parameters: https://github.com/digin-energi/API-nettleie-for-styring/blob/main/doc/DiginGridTariffAPI.v1_0_meteringpointsgridtariffs_json_input_example_startTime_endTime.json
+ +## 11. Endringslogg: +22.12.2021 Versjon 1.0.1: DiginGridTariffAPI.v1_0: Lagt til input parameter Product(for internt bruk for nettselskap) som er Exclusive OR med TariffKey. TariffKey ikke lenger definert required. +
\ No newline at end of file