From 7f20b53c8ee0f3ebf7f7a23e0f1c501752ddacbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Kr=C3=BCger-Haubenschild?= Date: Thu, 18 Nov 2021 13:40:27 +0100 Subject: [PATCH] =?UTF-8?q?Kontakdaten=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - bisheriges Kontaktdaten lesen korrigiert zu Partner lesen und ändern - Kontaktdaten lesen hinzugefügt - Wording vereinheitlicht (schreiben -> ändern) --- EUROPACE API Calls.postman_collection.json | 57 +++++++++++++++++----- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/EUROPACE API Calls.postman_collection.json b/EUROPACE API Calls.postman_collection.json index 45ffb41..db9dfd1 100644 --- a/EUROPACE API Calls.postman_collection.json +++ b/EUROPACE API Calls.postman_collection.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "e4f086db-cbe3-4763-aec5-ea017c180d49", + "_postman_id": "4c937970-c313-4e1d-9b13-bb136f23c01a", "name": "EUROPACE API Calls", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, @@ -2135,7 +2135,7 @@ "name": "Partner API (PEX)", "item": [ { - "name": "Kontaktdaten lesen", + "name": "Partner lesen", "request": { "method": "GET", "header": [ @@ -2168,9 +2168,9 @@ "response": [] }, { - "name": "Kontaktdaten schreiben", + "name": "Kontaktdaten lesen", "request": { - "method": "PATCH", + "method": "GET", "header": [ { "key": "Content-Type", @@ -2182,12 +2182,8 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "{\n \"firmenname\":\"Mustermann AG2\"\n}" - }, "url": { - "raw": "https://api.europace.de/v2/partner/{{PARTNER_ID}}/", + "raw": "https://api.europace.de/v2/partner/{{PARTNER_ID}}/kontaktdaten", "protocol": "https", "host": [ "api", @@ -2198,14 +2194,14 @@ "v2", "partner", "{{PARTNER_ID}}", - "" + "kontaktdaten" ] } }, "response": [] }, { - "name": "Erstelle neuen Partner", + "name": "Partner erstellen", "request": { "method": "POST", "header": [ @@ -2238,6 +2234,43 @@ }, "response": [] }, + { + "name": "Partner ändern", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "X-TraceId", + "value": "{{traceId}}", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"firmenname\":\"Mustermann AG2\"\n}" + }, + "url": { + "raw": "https://api.europace.de/v2/partner/{{PARTNER_ID}}/", + "protocol": "https", + "host": [ + "api", + "europace", + "de" + ], + "path": [ + "v2", + "partner", + "{{PARTNER_ID}}", + "" + ] + } + }, + "response": [] + }, { "name": "List untergeordnete Partner", "request": { @@ -2418,7 +2451,7 @@ "response": [] }, { - "name": "Rechte schreiben", + "name": "Rechte setzen", "request": { "method": "PATCH", "header": [