From d29097bb14cfc6e255b1fe2a845ca4d8f132024f Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Wed, 3 Apr 2024 13:26:51 +0800 Subject: [PATCH] docs(EDC): update the old EDC consumer documentation and Postman collection --- docs/ADOPTION_VIEW.md | 36 +- .../EDC BPDM Consumer.postman_collection.json | 6046 ++++++++++++++ ...PDM Automated Test.postman_collection.json | 6928 ----------------- 3 files changed, 6053 insertions(+), 6957 deletions(-) create mode 100644 docs/postman/EDC BPDM Consumer.postman_collection.json delete mode 100644 docs/postman/EDC-BPDM Automated Test.postman_collection.json diff --git a/docs/ADOPTION_VIEW.md b/docs/ADOPTION_VIEW.md index a034c8103..c63261c02 100644 --- a/docs/ADOPTION_VIEW.md +++ b/docs/ADOPTION_VIEW.md @@ -105,35 +105,13 @@ A VAS provider uses golden records to provide an value-added service to the Cate This section details how a sharing member EDC can access an EDC exposing the BPDM API as assets. Before you can access the assets make sure that the BPDM EDC has been configured to provide assets for your company's BPN (see [Operator View](OPERATOR_VIEW.md)). -This [POSTMAN collection](postman/EDC_BPDM_Usage.postman_collection.json) gives example requests for communicating with a deployed BPDM EDC over a sharing -member EDC. -In general, in order to access API endpoints you need to accept the contract of the corresponding asset first, then require a temporary access token for the -asset and finally send that access token over your own EDC to the BPDM EDC in order to receive the endpoint's response. The following list details these steps: - -1. Retrieve asset information you want to access: - Your own EDC offers endpoints to query the BPDM EDC's catalogue of assets. There you can find a list of assets, their IDs and descriptions. Also, you find - information under which contract this asset is offered to be made available to you. The following steps require the respective asset and contract ID to - proceed. - -2. Start a negotiation for the asset: - When you have selected an asset you need to accept its contract. You will typically access the asset over your BPN. This request is asynchronous. You can - check the request status over the respective GET method with the negotiation ID you received from starting the contract negotiation request. Once the - negotiation is done and accepted, you will receive an agreement ID in the GET response. You can use this agreement ID together with the asset ID to - request access tokens for future data transfers. Please be aware that the negotiation agreement is typically temporary and needs to be renewed - periodically. - -3. Start an access token transfer: - Once you have an agreement ID for accessing one or more assets you can now request to receive data access tokens. When requesting a token you need to provide - a URL to your service which should receive that token. Please be aware that the transfer request is asynchronous: The sharing member EDC will request a token - from the BPDM EDC and then send this token directly to the backend service whose URL you provided. You neither receive this token as a direct response to the - request - nor is there any way to inquire the token from the EDC after the fact. - -4. Invoke the BPDM API endpoint: - With the EDC's data access token you can now access the actual BPDM API endpoint. The gate EDC provides a URL that acts as a proxy for this - purpose. You send a request to that URL with the data access token in the headers and attach query parameters as well as body in the same way you would - invoke BPDM API endpoint directly. The gate EDC's URL can be invoked with the method's GET, POST and PUT. Use the method that matches original BPDM - API endpoint the accessed asset covers. The response equals the original BPDM API endpoint response. +This [POSTMAN collection](postman/EDC BPDM Consumer.postman_collection.json) gives example requests for communicating with a deployed BPDM EDC over a sharing +member EDC. +In the collection you will see how you can negotiate for a BPDM data offer. +Offers a separated into purposes (defined in the BPDM framework agreement) on why you want to access the BPDM API. +First, you need to select the offer based on your purpose. +Afterward you can negotiate for a contract agreement in order to get access to the data. +The final result of that negotiation will be a transfer token with which you can navigate the BPDM APIs over the BPDM EDC's public API (which acts as a proxy). ## NOTICE diff --git a/docs/postman/EDC BPDM Consumer.postman_collection.json b/docs/postman/EDC BPDM Consumer.postman_collection.json new file mode 100644 index 000000000..1302c94dc --- /dev/null +++ b/docs/postman/EDC BPDM Consumer.postman_collection.json @@ -0,0 +1,6046 @@ +{ + "info": { + "_postman_id": "c7bdcc6d-6495-40b8-ac46-612916077de5", + "name": "EDC BPDM Consumer", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "29584075" + }, + "item": [ + { + "name": "Negotiate for Access", + "item": [ + { + "name": "1. Select Offer", + "item": [ + { + "name": "Select Pool Member Read Access", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var offerId = responseJson[\"odrl:hasPolicy\"][\"@id\"];", + "var assetId = responseJson[\"odrl:hasPolicy\"][\"odrl:target\"][ \"@id\"];", + "pm.collectionVariables.set(\"OFFER\", offerId);", + "pm.collectionVariables.set(\"SELECTED_ASSET\", assetId)", + "pm.collectionVariables.set(\"SELECTED_PURPOSE\", \"cx.bpdm.pool:1\")" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"@context\": {\r\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\r\n },\r\n \"@type\": \"DatasetRequest\",\r\n \"@id\": \"{{ASSET_ID_POOL_CX_MEMBER_READ}}\",\r\n \"counterPartyAddress\": \"{{PROVIDER_EDC_DATASPACE_API}}\",\r\n \"counterPartyId\": \"{{PROVIDER_BPNL}}\",\r\n \"protocol\": \"dataspace-protocol-http\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/v2/catalog/dataset/request", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "v2", + "catalog", + "dataset", + "request" + ] + } + }, + "response": [] + }, + { + "name": "Select Gate Input Full Access", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var offerId = responseJson[\"odrl:hasPolicy\"][\"@id\"];", + "var assetId = responseJson[\"odrl:hasPolicy\"][\"odrl:target\"][ \"@id\"];", + "pm.collectionVariables.set(\"OFFER\", offerId);", + "pm.collectionVariables.set(\"SELECTED_ASSET\", assetId)", + "pm.collectionVariables.set(\"SELECTED_PURPOSE\", \"cx.bpdm.gate.upload:1\")" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"@context\": {\r\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\r\n },\r\n \"@type\": \"DatasetRequest\",\r\n \"@id\": \"{{ASSET_ID_GATE_SHARING_MEMBER_FULL_INPUT}}\",\r\n \"counterPartyAddress\": \"{{PROVIDER_EDC_DATASPACE_API}}\",\r\n \"counterPartyId\": \"{{PROVIDER_BPNL}}\",\r\n \"protocol\": \"dataspace-protocol-http\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/v2/catalog/dataset/request", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "v2", + "catalog", + "dataset", + "request" + ] + } + }, + "response": [] + }, + { + "name": "Select Gate Input Read Access", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var offerId = responseJson[\"odrl:hasPolicy\"][\"@id\"];", + "var assetId = responseJson[\"odrl:hasPolicy\"][\"odrl:target\"][ \"@id\"];", + "pm.collectionVariables.set(\"OFFER\", offerId);", + "pm.collectionVariables.set(\"SELECTED_ASSET\", assetId)", + "pm.collectionVariables.set(\"SELECTED_PURPOSE\", \"cx.bpdm.gate.upload:1\")" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"@context\": {\r\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\r\n },\r\n \"@type\": \"DatasetRequest\",\r\n \"@id\": \"{{ASSET_ID_GATE_SHARING_MEMBER_READ_INPUT}}\",\r\n \"counterPartyAddress\": \"{{PROVIDER_EDC_DATASPACE_API}}\",\r\n \"counterPartyId\": \"{{PROVIDER_BPNL}}\",\r\n \"protocol\": \"dataspace-protocol-http\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/v2/catalog/dataset/request", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "v2", + "catalog", + "dataset", + "request" + ] + } + }, + "response": [] + }, + { + "name": "Select Gate Output Read Access", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var offerId = responseJson[\"odrl:hasPolicy\"][\"@id\"];", + "var assetId = responseJson[\"odrl:hasPolicy\"][\"odrl:target\"][ \"@id\"];", + "pm.collectionVariables.set(\"OFFER\", offerId);", + "pm.collectionVariables.set(\"SELECTED_ASSET\", assetId)", + "pm.collectionVariables.set(\"SELECTED_PURPOSE\", \"cx.bpdm.gate.download:1\")" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"@context\": {\r\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\r\n },\r\n \"@type\": \"DatasetRequest\",\r\n \"@id\": \"{{ASSET_ID_GATE_SHARING_MEMBER_READ_OUTPUT}}\",\r\n \"counterPartyAddress\": \"{{PROVIDER_EDC_DATASPACE_API}}\",\r\n \"counterPartyId\": \"{{PROVIDER_BPNL}}\",\r\n \"protocol\": \"dataspace-protocol-http\"\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/v2/catalog/dataset/request", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "v2", + "catalog", + "dataset", + "request" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "2. Negotiate", + "item": [ + { + "name": "Initiate Negotiation", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var negotiationId = responseJson[\"@id\"];", + "pm.collectionVariables.set(\"NEGOTIATION\", negotiationId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"@context\": {\n \"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n },\n \"@type\": \"NegotiationInitiateRequestDto\",\n \"counterPartyAddress\": \"{{PROVIDER_EDC_DATASPACE_API}}\",\n \"protocol\": \"dataspace-protocol-http\",\n \"counterPartyId\": \"{{PROVIDER_BPNL}}\",\n \"offer\": {\n \"offerId\": \"{{OFFER}}\",\n \"assetId\": \"{{SELECTED_ASSET}}\",\n \"policy\": {\n \"@type\": \"odrl:Set\",\n \"odrl:permission\": {\n \"odrl:target\": \"{{SELECTED_ASSET}}\",\n \"odrl:action\": {\n \"odrl:type\": \"USE\"\n },\n \"odrl:constraint\": {\n \"odrl:and\": [\n {\n \"odrl:leftOperand\": \"cx-policy:Membership\",\n \"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n \"odrl:rightOperand\": \"active\"\n },\n {\n \"odrl:leftOperand\": \"cx-policy:BusinessPartnerNumber\",\n \"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n \"odrl:rightOperand\": \"{{CONSUMER_BPNL}}\"\n },\n {\n \"odrl:leftOperand\": \"cx-policy:FrameworkAgreement\",\n \"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n \"odrl:rightOperand\": \"businesspartner:1.0\"\n },\n {\n \"odrl:leftOperand\": \"cx-policy:UsagePurpose\",\n \"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n \"odrl:rightOperand\": \"{{SELECTED_PURPOSE}}\"\n }\n ]\n }\n },\n \"odrl:prohibition\": [],\n \"odrl:obligation\": [],\n \"odrl:target\": \"{{SELECTED_ASSET}}\"\n }\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/edrs", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "edrs" + ] + } + }, + "response": [] + }, + { + "name": "Get Negotiation", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "pm.sendRequest('https://postman-echo.com/delay/3');" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var agreementId = responseJson[\"contractAgreementId\"];", + "pm.collectionVariables.set(\"AGREEMENT\", agreementId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/v2/contractnegotiations/{{NEGOTIATION}}", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "v2", + "contractnegotiations", + "{{NEGOTIATION}}" + ] + } + }, + "response": [] + }, + { + "name": "Get EDR", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var transferId = responseJson[0][\"transferProcessId\"];", + "pm.collectionVariables.set(\"TRANSFER\", transferId);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/edrs?agreementId={{AGREEMENT}}", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "edrs" + ], + "query": [ + { + "key": "agreementId", + "value": "{{AGREEMENT}}" + } + ] + } + }, + "response": [] + }, + { + "name": "Get EDR Token", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "});", + "var responseJson = pm.response.json();", + "var token = responseJson[\"authCode\"];", + "pm.collectionVariables.set(\"TRANSFER_TOKEN\", token);" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "body": { + "mode": "raw", + "raw": "", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/edrs/{{TRANSFER}}", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "edrs", + "{{TRANSFER}}" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Query Available Offers", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "test", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"@context\": {\r\n \"@vocab\": \"https://w3id.org/edc/v0.0.1/ns/\"\r\n },\r\n \"counterPartyAddress\": \"{{PROVIDER_EDC_DATASPACE_API}}\",\r\n \"counterPartyId\": \"{{PROVIDER_BPNL}}\",\r\n \"protocol\": \"dataspace-protocol-http\",\r\n \"querySpec\": {\r\n \"offset\": 0,\r\n \"limit\": 100,\r\n \"range\": {\r\n \"from\": 0,\r\n \"to\": 100\r\n },\r\n \"criterion\": \"\"\r\n }\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{CONSUMER_EDC_MANAGEMENT_API}}/v2/catalog/request", + "host": [ + "{{CONSUMER_EDC_MANAGEMENT_API}}" + ], + "path": [ + "v2", + "catalog", + "request" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Pool API", + "item": [ + { + "name": "Changelog Controller", + "item": [ + { + "name": "/members/changelog/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"bpns\": [\n \"\",\n \"\"\n ],\n \"businessPartnerTypes\": [\n \"LEGAL_ENTITY\",\n \"GENERIC\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"bpns\": [\n \"\",\n \"\"\n ],\n \"businessPartnerTypes\": [\n \"LEGAL_ENTITY\",\n \"GENERIC\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpn\": \"\",\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"changelogType\": \"CREATE\",\n \"timestamp\": \"\"\n },\n {\n \"bpn\": \"\",\n \"businessPartnerType\": \"SITE\",\n \"changelogType\": \"UPDATE\",\n \"timestamp\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + } + ] + }, + { + "name": "/business-partners/changelog/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"bpns\": [\n \"\",\n \"\"\n ],\n \"businessPartnerTypes\": [\n \"LEGAL_ENTITY\",\n \"GENERIC\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/business-partners/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "business-partners", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "response": [ + { + "name": "The specified changelog entries", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"bpns\": [\n \"\",\n \"\"\n ],\n \"businessPartnerTypes\": [\n \"LEGAL_ENTITY\",\n \"GENERIC\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/business-partners/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "business-partners", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpn\": \"\",\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"changelogType\": \"CREATE\",\n \"timestamp\": \"\"\n },\n {\n \"bpn\": \"\",\n \"businessPartnerType\": \"SITE\",\n \"changelogType\": \"UPDATE\",\n \"timestamp\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"bpns\": [\n \"\",\n \"\"\n ],\n \"businessPartnerTypes\": [\n \"LEGAL_ENTITY\",\n \"GENERIC\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/business-partners/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "business-partners", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "No business partner found for specified bpn", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"bpns\": [\n \"\",\n \"\"\n ],\n \"businessPartnerTypes\": [\n \"LEGAL_ENTITY\",\n \"GENERIC\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/business-partners/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "business-partners", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ], + "description": "Read change events of business partner data" + }, + { + "name": "Legal Entity Controller", + "item": [ + { + "name": "/legal-entities", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities?bpnLs=&bpnLs=&legalName=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ], + "query": [ + { + "key": "bpnLs", + "value": "" + }, + { + "key": "bpnLs", + "value": "" + }, + { + "key": "legalName", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "This endpoint tries to find matches among all existing business partners of type legal entity, filtering out partners which entirely do not match and ranking the remaining partners according to the accuracy of the match. " + }, + "response": [ + { + "name": "Page of business partners matching the search criteria, may be empty", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities?bpnLs=&legalName=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ], + "query": [ + { + "key": "bpnLs", + "value": "" + }, + { + "key": "legalName", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AT\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"KH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RW\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"QA\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"UM\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"JE\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"GP\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_SUCCESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed search or pagination request", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities?bpnLs=&legalName=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ], + "query": [ + { + "key": "bpnLs", + "value": "" + }, + { + "key": "legalName", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/legal-entities", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"CH\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SX\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\"\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"MT\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"KY\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ] + }, + "description": "Update existing business partner records of type legal entity referenced via BPNL. The endpoint expects to receive the full updated record, including values that didn't change." + }, + "response": [ + { + "name": "Update legal entities request was processed successfully, possible errors are returned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"CH\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SX\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\"\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"MT\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"KY\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"entities\": [\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"CO\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SM\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"BT\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SA\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n },\n \"index\": \"\"\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"CW\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"IT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SN\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"BZ\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n },\n \"index\": \"\"\n }\n ],\n \"entityCount\": \"\",\n \"errorCount\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"LegalAddressDuplicateIdentifier\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"LegalFormNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ]\n}" + }, + { + "name": "On malformed requests", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"CH\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SX\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\"\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"MT\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"KY\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/legal-entities", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"IN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"MN\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\",\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"XU\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"KZ\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\",\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ] + }, + "description": "Create new business partners of type legal entity. The given additional identifiers of a record need to be unique, otherwise they are ignored. For matching purposes, on each record you can specify your own index value which will reappear in the corresponding record of the response." + }, + "response": [ + { + "name": "New legal entities request was processed successfully, possible errors are returned", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"IN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"MN\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\",\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"XU\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"KZ\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\",\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"entities\": [\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"UY\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"AT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"BB\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"QA\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_SUCCESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n },\n \"index\": \"\"\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"JO\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SZ\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"BI\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"DE\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n },\n \"index\": \"\"\n }\n ],\n \"entityCount\": \"\",\n \"errorCount\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"LegalAddressIdentifierNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"LegalAddressRegionNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ]\n}" + }, + { + "name": "On malformed requests", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"IN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"MN\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\",\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"XU\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"KZ\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"legalName\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"legalShortName\": \"\",\n \"legalForm\": \"\",\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/members/legal-entities/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bpnLs\": [\n \"\",\n \"\"\n ],\n \"legalName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/legal-entities/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "legal-entities", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bpnLs\": [\n \"\",\n \"\"\n ],\n \"legalName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/legal-entities/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "legal-entities", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AT\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"KH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RW\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"QA\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"UM\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"JE\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"GP\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_SUCCESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + } + ] + }, + { + "name": "/legal-entities/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bpnLs\": [\n \"\",\n \"\"\n ],\n \"legalName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Search legal entity partners by their BPNLs. The response can contain less results than the number of BPNLs that were requested, if some of the BPNLs did not exist. For a single request, the maximum number of BPNLs to search for is limited to ${bpdm.bpn.search-request-limit} entries." + }, + "response": [ + { + "name": "Found legal entites", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bpnLs\": [\n \"\",\n \"\"\n ],\n \"legalName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AT\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"KH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RW\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"QA\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n },\n {\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"UM\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"JE\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"GP\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_SUCCESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_PREDECESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed request parameters or if number of requested bpns exceeds limit", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"bpnLs\": [\n \"\",\n \"\"\n ],\n \"legalName\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-entities/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/legal-entities/:idValue", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities/:idValue?idType=BPN", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":idValue" + ], + "query": [ + { + "key": "idType", + "value": "BPN", + "description": "Type of identifier to use, defaults to BPN when omitted" + } + ], + "variable": [ + { + "key": "idValue", + "value": "", + "description": "(Required) Identifier value" + } + ] + }, + "description": "This endpoint tries to find a business partner by the specified identifier. The identifier value is case insensitively compared but needs to be given exactly. By default the value given is interpreted as a BPN. By specifying the technical key of another identifier typethe value is matched against the identifiers of that given type." + }, + "response": [ + { + "name": "Found business partner with specified identifier", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities/:idValue?idType=BPN", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":idValue" + ], + "query": [ + { + "key": "idType", + "value": "BPN", + "description": "Type of identifier to use, defaults to BPN when omitted" + } + ], + "variable": [ + { + "key": "idValue" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"bpnl\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"currentness\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"legalAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"DG\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"RU\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"LA\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"legalName\": \"\",\n \"relations\": [\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_SUCCESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"endBpnl\": \"\",\n \"startBpnl\": \"\",\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"CX_LEGAL_SUCCESSOR_OF\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"legalShortName\": \"\",\n \"legalForm\": {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities/:idValue?idType=BPN", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":idValue" + ], + "query": [ + { + "key": "idType", + "value": "BPN", + "description": "Type of identifier to use, defaults to BPN when omitted" + } + ], + "variable": [ + { + "key": "idValue" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "No business partner found under specified identifier or specified identifier type not found", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities/:idValue?idType=BPN", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":idValue" + ], + "query": [ + { + "key": "idType", + "value": "BPN", + "description": "Type of identifier to use, defaults to BPN when omitted" + } + ], + "variable": [ + { + "key": "idValue" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/legal-entities/:bpnl/sites", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/sites?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "sites" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl", + "value": "", + "description": "(Required) BPNL value" + } + ] + }, + "description": "Get business partners of type site belonging to a business partner of type legal entity, identified by the business partner's bpnl ignoring case." + }, + "response": [ + { + "name": "The sites for the specified bpnl", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/sites?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "sites" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n },\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/sites?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "sites" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "No business partner found for specified bpnl", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/sites?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "sites" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/legal-entities/:bpnl/addresses", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/addresses?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "addresses" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl", + "value": "", + "description": "(Required) BPNL value" + } + ] + }, + "description": "Get business partners of type address belonging to a business partner of type legal entity, identified by the business partner's BPNL ignoring case." + }, + "response": [ + { + "name": "The addresses for the specified BPNL", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/addresses?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "addresses" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RE\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"VG\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"YT\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SK\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"ZR\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SR\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/addresses?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "addresses" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "No business partner found for specified BPNL", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-entities/:bpnl/addresses?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-entities", + ":bpnl", + "addresses" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ], + "variable": [ + { + "key": "bpnl" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ], + "description": "Read, create and update business partner of type legal entity" + }, + { + "name": "Metadata Controller", + "item": [ + { + "name": "/legal-forms", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-forms?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Lists all currently known legal forms in a paginated result" + }, + "response": [ + { + "name": "Page of existing legal forms, may be empty", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/legal-forms?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n },\n {\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/legal-forms?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/legal-forms", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-forms", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ] + }, + "description": "Create a new legal form which can be referenced by business partner records. The actual name of the legal form is free to choose and doesn't need to be unique. The technical key can be freely chosen but needs to be unique for the businessPartnerType as it is used as reference by the business partner records. A recommendation for technical keys: They should be short, descriptive and use a restricted common character set in order to ensure compatibility with older systems." + }, + "response": [ + { + "name": "New legal form successfully created", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-forms", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-forms", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "Legal form with specified technical key already exists", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"technicalKey\": \"\",\n \"abbreviation\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/legal-forms", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "legal-forms" + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/identifier-types", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/identifier-types?page=0&size=10&businessPartnerType=LEGAL_ENTITY&country=FJ", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + }, + { + "key": "businessPartnerType", + "value": "LEGAL_ENTITY", + "description": "(Required) " + }, + { + "key": "country", + "value": "FJ" + } + ] + }, + "description": "Lists all matching identifier types including validity details in a paginated result" + }, + "response": [ + { + "name": "Page of existing identifier types, may be empty", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/identifier-types?page=0&size=10&businessPartnerType=LEGAL_ENTITY&country=FJ", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + }, + { + "key": "businessPartnerType", + "value": "LEGAL_ENTITY", + "description": "(Required) " + }, + { + "key": "country", + "value": "FJ" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"SA\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"MX\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n {\n \"businessPartnerType\": \"ADDRESS\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"GN\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"LR\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/identifier-types?page=0&size=10&businessPartnerType=LEGAL_ENTITY&country=FJ", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + }, + { + "key": "businessPartnerType", + "value": "LEGAL_ENTITY", + "description": "(Required) " + }, + { + "key": "country", + "value": "FJ" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/identifier-types", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"HT\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"XI\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/identifier-types", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ] + }, + "description": "Create a new identifier type (including validity details) which can be referenced by business partner records. Identifier types such as BPN or VAT determine with which kind of values a business partner can be identified with. The actual name of the identifier type is free to choose and doesn't need to be unique. The technical key can be freely chosen but needs to be unique for the businessPartnerType as it is used as reference by the business partner records. A recommendation for technical keys: They should be short, descriptive and use a restricted common character set in order to ensure compatibility with older systems." + }, + "response": [ + { + "name": "New identifier type successfully created", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"HT\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"XI\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/identifier-types", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"HT\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"XI\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"HT\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"XI\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/identifier-types", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "Identifier type with specified technical key already exists", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"details\": [\n {\n \"mandatory\": \"\",\n \"country\": \"HT\"\n },\n {\n \"mandatory\": \"\",\n \"country\": \"XI\"\n }\n ],\n \"name\": \"\",\n \"technicalKey\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/identifier-types", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "identifier-types" + ] + } + }, + "status": "Conflict", + "code": 409, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/field-quality-rules/", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/field-quality-rules/?country=FJ", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "field-quality-rules", + "" + ], + "query": [ + { + "key": "country", + "value": "FJ", + "description": "(Required) ISO 3166-1 alpha-2 country code" + } + ] + }, + "description": "List the country specific data rules for entity fields.All fields that are not in this list are considered to be forbidden." + }, + "response": [ + { + "name": "List of the existing rules for the given country", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/field-quality-rules/?country=FJ", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "field-quality-rules", + "" + ], + "query": [ + { + "key": "country", + "value": "FJ", + "description": "(Required) ISO 3166-1 alpha-2 country code" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"country\": \"PS\",\n \"fieldPath\": \"\",\n \"qualityLevel\": \"MANDATORY\",\n \"schemaName\": \"\"\n },\n {\n \"country\": \"IL\",\n \"fieldPath\": \"\",\n \"qualityLevel\": \"FORBIDDEN\",\n \"schemaName\": \"\"\n }\n]" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/field-quality-rules/?country=FJ", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "field-quality-rules", + "" + ], + "query": [ + { + "key": "country", + "value": "FJ", + "description": "(Required) ISO 3166-1 alpha-2 country code" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/administrative-areas-level1", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/administrative-areas-level1?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "administrative-areas-level1" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Lists all currently known country subdivisions according to ISO 3166-2 in a paginated result" + }, + "response": [ + { + "name": "Page of existing country subdivisions, may be empty", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/administrative-areas-level1?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "administrative-areas-level1" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"code\": \"\",\n \"countryCode\": \"BL\",\n \"name\": \"\"\n },\n {\n \"code\": \"\",\n \"countryCode\": \"BV\",\n \"name\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/administrative-areas-level1?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "administrative-areas-level1" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ], + "description": "Read and create supporting data that is referencable in business partner data" + }, + { + "name": "Site Controller", + "item": [ + { + "name": "/sites", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/sites?siteBpns=&siteBpns=&legalEntityBpns=&legalEntityBpns=&name=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ], + "query": [ + { + "key": "siteBpns", + "value": "" + }, + { + "key": "siteBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "name", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "This endpoint retrieves all existing business partners of type sites." + }, + "response": [ + { + "name": "Page of business partners matching the search criteria, may be empty", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/sites?siteBpns=&legalEntityBpns=&name=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ], + "query": [ + { + "key": "siteBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "name", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"KY\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"IL\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AI\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"XU\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n },\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"LB\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"PS\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"AT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/sites?siteBpns=&legalEntityBpns=&name=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ], + "query": [ + { + "key": "siteBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "name", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/sites", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"BR\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"JO\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ]\n },\n {\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"VN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"JE\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ]\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ] + }, + "description": "Update existing business partner records of type site referenced via BPNS. The endpoint expects to receive the full updated record, including values that didn't change." + }, + "response": [ + { + "name": "Update sites request was processed successfully, possible errors are returned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"BR\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"JO\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ]\n },\n {\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"VN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"JE\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ]\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"entities\": [\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AE\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"FK\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"UNDEFINED\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"AdditionalAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"index\": \"\"\n },\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"IT\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"LB\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"GN\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"BE\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"AdditionalAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"index\": \"\"\n }\n ],\n \"entityCount\": \"\",\n \"errorCount\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"MainAddressIdentifierNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"MainAddressDuplicateIdentifier\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ]\n}" + }, + { + "name": "On malformed requests", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"BR\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"JO\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ]\n },\n {\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"VN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"JE\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ]\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/sites", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnlParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"AR\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SO\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"bpnlParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"BJ\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"TV\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ] + }, + "description": "Create new business partners of type site by specifying the BPNL of the legal entity each site belongs to. If the legal entitiy cannot be found, the record is ignored.For matching purposes, on each record you can specify your own index value which will reappear in the corresponding record of the response." + }, + "response": [ + { + "name": "New sites request was processed successfully, possible errors are returned", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnlParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"AR\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SO\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"bpnlParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"BJ\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"TV\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"entities\": [\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"DZ\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"UK\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"TD\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CA\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"index\": \"\"\n },\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"YU\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"AW\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"BS\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"MG\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"AdditionalAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"index\": \"\"\n }\n ],\n \"entityCount\": \"\",\n \"errorCount\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"MainAddressRegionNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"MainAddressRegionNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ]\n}" + }, + { + "name": "On malformed requests", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnlParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"AR\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SO\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"bpnlParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"mainAddress\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"BJ\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"TV\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/sites/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Search business partners of type site by their BPNSs or by the BPNLs of their parent legal entities" + }, + "response": [ + { + "name": "Found sites that belong to specified legal entites", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"KY\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"IL\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AI\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"XU\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n },\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"LB\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"PS\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"AT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sites/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/members/sites/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/sites/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "sites", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/sites/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "sites", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"KY\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"IL\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AI\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"XU\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n },\n {\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"LB\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"PS\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"AT\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + } + ] + }, + { + "name": "/sites/:bpns", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/sites/:bpns", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + ":bpns" + ], + "variable": [ + { + "key": "bpns", + "value": "", + "description": "(Required) BPNS value" + } + ] + }, + "description": "Get business partners of type site by BPNS ignoring case." + }, + "response": [ + { + "name": "Found site with specified BPNS", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/sites/:bpns", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + ":bpns" + ], + "variable": [ + { + "key": "bpns" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"bpnLegalEntity\": \"\",\n \"bpns\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"isCatenaXMemberData\": \"\",\n \"mainAddress\": {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"GH\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SC\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AX\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"IN\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"name\": \"\",\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/sites/:bpns", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + ":bpns" + ], + "variable": [ + { + "key": "bpns" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "No site found under specified BPNS", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/sites/:bpns", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sites", + ":bpns" + ], + "variable": [ + { + "key": "bpns" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ], + "description": "Read, create and update business partner of type site" + }, + { + "name": "Bpn Controller", + "item": [ + { + "name": "/bpn/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"idType\": \"\",\n \"idValues\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/bpn/search", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bpn", + "search" + ] + }, + "description": "Find business partner numbers by identifiers. The response can contain less results than the number of identifier values that were requested, if some of the identifiers did not exist. For a single request, the maximum number of identifier values to search for is limited to ${bpdm.bpn.search-request-limit} entries." + }, + "response": [ + { + "name": "Found bpn to identifier value mappings", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"idType\": \"\",\n \"idValues\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/bpn/search", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bpn", + "search" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"bpn\": \"\",\n \"idValue\": \"\"\n },\n {\n \"bpn\": \"\",\n \"idValue\": \"\"\n }\n]" + }, + { + "name": "On malformed request parameters or if number of requested bpns exceeds limit", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"idType\": \"\",\n \"idValues\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/bpn/search", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bpn", + "search" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "Specified identifier type not found", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"idType\": \"\",\n \"idValues\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/bpn/search", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bpn", + "search" + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ], + "description": "Support functionality for BPN operations" + }, + { + "name": "Address Controller", + "item": [ + { + "name": "/addresses", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/addresses?addressBpns=&addressBpns=&legalEntityBpns=&legalEntityBpns=&siteBpns=&siteBpns=&name=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ], + "query": [ + { + "key": "addressBpns", + "value": "" + }, + { + "key": "addressBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "siteBpns", + "value": "" + }, + { + "key": "siteBpns", + "value": "" + }, + { + "key": "name", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "This endpoint tries to find matches among all existing business partners of type address, filtering out partners which entirely do not match and ranking the remaining partners according to the accuracy of the match. The match of a partner is better the higher its relevancy score. " + }, + "response": [ + { + "name": "Page of addresses matching the search criteria, may be empty", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/addresses?addressBpns=&legalEntityBpns=&siteBpns=&name=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ], + "query": [ + { + "key": "addressBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "siteBpns", + "value": "" + }, + { + "key": "name", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RE\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"VG\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"YT\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SK\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"ZR\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SR\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed search or pagination request", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/addresses?addressBpns=&legalEntityBpns=&siteBpns=&name=&page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ], + "query": [ + { + "key": "addressBpns", + "value": "" + }, + { + "key": "legalEntityBpns", + "value": "" + }, + { + "key": "siteBpns", + "value": "" + }, + { + "key": "name", + "value": "" + }, + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/addresses", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"AQ\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"PE\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"MY\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SY\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ] + }, + "description": "Update existing business partner records of type address referenced via BPNA. The endpoint expects to receive the full updated record, including values that didn't change." + }, + "response": [ + { + "name": "The successfully updated records, possible errors are returned", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"AQ\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"PE\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"MY\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SY\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"entities\": [\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"MY\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"HK\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SU\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"VI\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"GH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"GY\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CC\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n }\n ],\n \"entityCount\": \"\",\n \"errorCount\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"IdentifierNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"AddressNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ]\n}" + }, + { + "name": "On malformed requests", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"AQ\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"PE\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"MY\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"requestKey\": \"\",\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"SY\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n }\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/addresses", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"RS\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"AQ\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"bpnParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"GN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"UA\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ] + }, + "description": "Create new business partners of type address by specifying the BPN of the parent each address belongs to. A parent can be either a site or legal entity business partner. If the parent cannot be found, the record is ignored.For matching purposes, on each record you can specify your own index value which will reappear in the corresponding record of the response." + }, + "response": [ + { + "name": "New business partner record successfully created, possible errors are returned", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"RS\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"AQ\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"bpnParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"GN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"UA\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"entities\": [\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SH\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"UZ\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"LS\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"EG\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"AdditionalAddress\",\n \"index\": \"\"\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"AX\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SU\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SE\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"PL\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"AdditionalAddress\",\n \"index\": \"\"\n }\n ],\n \"entityCount\": \"\",\n \"errorCount\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"AddressDuplicateIdentifier\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"BpnNotValid\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ]\n}" + }, + { + "name": "On malformed requests", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"RS\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"INACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"AQ\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"index\": \"\",\n \"requestKey\": \"\"\n },\n {\n \"bpnParent\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\"\n }\n ],\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": \"GN\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": \"ACTIVE\",\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": \"UA\",\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"index\": \"\",\n \"requestKey\": \"\"\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/members/addresses/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"addressBpns\": [\n \"\",\n \"\"\n ],\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/addresses/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "addresses", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"addressBpns\": [\n \"\",\n \"\"\n ],\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/members/addresses/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "members", + "addresses", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RE\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"VG\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"YT\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SK\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"ZR\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SR\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + } + ] + }, + { + "name": "/addresses/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"addressBpns\": [\n \"\",\n \"\"\n ],\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Search business partners of type address by their BPNA or their parents' BPNL or BPNS." + }, + "response": [ + { + "name": "Found sites for the specified sites and legal entities", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"addressBpns\": [\n \"\",\n \"\"\n ],\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"RE\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"VG\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"YT\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SK\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n {\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"ZR\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CH\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"SR\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"SO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"LegalAddress\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"addressBpns\": [\n \"\",\n \"\"\n ],\n \"legalEntityBpns\": [\n \"\",\n \"\"\n ],\n \"siteBpns\": [\n \"\",\n \"\"\n ],\n \"name\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/addresses/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/addresses/:bpna", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/addresses/:bpna", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + ":bpna" + ], + "variable": [ + { + "key": "bpna", + "value": "", + "description": "(Required) BPNA value" + } + ] + }, + "description": "Get business partners of type address by BPNA ignoring case." + }, + "response": [ + { + "name": "Found address with specified BPNA", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/addresses/:bpna", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + ":bpna" + ], + "variable": [ + { + "key": "bpna" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"bpna\": \"\",\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"createdAt\": \"\",\n \"identifiers\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"\"\n },\n \"value\": \"\"\n }\n ],\n \"isCatenaXMemberData\": \"\",\n \"physicalPostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"MY\"\n },\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"CF\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"district\": \"\",\n \"street\": {\n \"name\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\",\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"ACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n },\n {\n \"type\": {\n \"name\": \"\",\n \"technicalKey\": \"INACTIVE\"\n },\n \"validFrom\": \"\",\n \"validTo\": \"\"\n }\n ],\n \"updatedAt\": \"\",\n \"name\": \"\",\n \"alternativePostalAddress\": {\n \"city\": \"\",\n \"country\": {\n \"name\": \"\",\n \"technicalKey\": \"DZ\"\n },\n \"deliveryServiceNumber\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"administrativeAreaLevel1\": {\n \"countryCode\": \"BO\",\n \"regionCode\": \"\",\n \"regionName\": \"\"\n },\n \"postalCode\": \"\",\n \"deliveryServiceQualifier\": \"\"\n },\n \"bpnLegalEntity\": \"\",\n \"bpnSite\": \"\",\n \"addressType\": \"SiteMainAddress\"\n}" + }, + { + "name": "On malformed request parameters", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/addresses/:bpna", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + ":bpna" + ], + "variable": [ + { + "key": "bpna" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "No address found under specified BPNA", + "originalRequest": { + "method": "GET", + "header": [], + "url": { + "raw": "{{baseUrl}}/addresses/:bpna", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "addresses", + ":bpna" + ], + "variable": [ + { + "key": "bpna" + } + ] + } + }, + "status": "Not Found", + "code": 404, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ], + "description": "Read, create and update business partner of type address" + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "{{TRANSFER_TOKEN}}", + "type": "string" + }, + { + "key": "key", + "value": "Authorization", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ] + }, + { + "name": "Gate API", + "item": [ + { + "name": "business-partner-controller", + "item": [ + { + "name": "/input/business-partners", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"AF\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"SD\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"ONE_TIME_CUSTOMER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ]\n },\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"TP\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"MD\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"CUSTOMER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ]\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/business-partners", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "business-partners" + ] + }, + "description": "Create or update generic business partner. Updates instead of creating a new business partner if an already existing external ID is used. The same external ID may not occur more than once in a single request. For a single request, the maximum number of business partners in the request is limited to 100 entries." + }, + "response": [ + { + "name": "Business partner were successfully updated or created", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"AF\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"SD\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"ONE_TIME_CUSTOMER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ]\n },\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"TP\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"MD\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"CUSTOMER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ]\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/business-partners", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "business-partners" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "[\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"FJ\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"FM\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"createdAt\": \"\",\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"SUPPLIER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"updatedAt\": \"\",\n \"bpnA\": -9176603.042994812,\n \"bpnL\": true,\n \"postalAddress\": 59945913.54383382\n },\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"UA\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"PM\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"createdAt\": \"\",\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"SUPPLIER\",\n \"ONE_TIME_CUSTOMER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"updatedAt\": \"\",\n \"bpnA\": 14856837.366659284,\n \"bpnL\": true,\n \"postalAddress\": 19278217\n }\n]" + }, + { + "name": "On malformed legal entity request", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"AF\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"SD\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"ONE_TIME_CUSTOMER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ]\n },\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"TP\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"MD\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"CUSTOMER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ]\n }\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/business-partners", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "business-partners" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/output/business-partners/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n \"\",\n \"\"\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/output/business-partners/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "output", + "business-partners", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Get page of business partners output data filtered by a collection of external IDs. An empty external ID list will return a paginated list of all business partners." + }, + "response": [ + { + "name": "The requested page of business partners", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n \"\",\n \"\"\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/output/business-partners/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "output", + "business-partners", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"address\": {\n \"addressBpn\": \"\",\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"ZA\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PRIVATE_BAG\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"EA\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"name\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"createdAt\": \"\",\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"legalEntityBpn\": \"\",\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"ONE_TIME_SUPPLIER\",\n \"ONE_TIME_CUSTOMER\"\n ],\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"updatedAt\": \"\",\n \"site\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"siteBpn\": \"\",\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"name\": \"\"\n }\n },\n {\n \"address\": {\n \"addressBpn\": \"\",\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"JM\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"KE\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"name\": \"\",\n \"addressType\": \"LegalAndSiteMainAddress\"\n },\n \"createdAt\": \"\",\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"legalEntityBpn\": \"\",\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"SUPPLIER\",\n \"ONE_TIME_SUPPLIER\"\n ],\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"updatedAt\": \"\",\n \"site\": {\n \"confidenceCriteria\": {\n \"checkedByExternalDataSource\": \"\",\n \"confidenceLevel\": \"\",\n \"lastConfidenceCheckAt\": \"\",\n \"nextConfidenceCheckAt\": \"\",\n \"numberOfSharingMembers\": \"\",\n \"sharedByOwner\": \"\"\n },\n \"siteBpn\": \"\",\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"name\": \"\"\n }\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n \"\",\n \"\"\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/output/business-partners/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "output", + "business-partners", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/input/business-partners/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n \"\",\n \"\"\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/business-partners/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "business-partners", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Get page of business partners filtered by a collection of external IDs." + }, + "response": [ + { + "name": "The requested page of busines partners", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n \"\",\n \"\"\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/business-partners/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "business-partners", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"DO\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"BM\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"SiteMainAddress\"\n },\n \"createdAt\": \"\",\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"ONE_TIME_SUPPLIER\",\n \"ONE_TIME_CUSTOMER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"updatedAt\": \"\",\n \"bpnA\": 15810926.717978239,\n \"bpnL\": \"dolore aliquip voluptate adipisicing\",\n \"postalAddress\": \"est non cupidatat\"\n },\n {\n \"address\": {\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"MX\",\n \"administrativeAreaLevel1\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"deliveryServiceType\": \"BOITE_POSTALE\",\n \"deliveryServiceQualifier\": \"\",\n \"deliveryServiceNumber\": \"\"\n },\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"latitude\": \"\",\n \"longitude\": \"\",\n \"altitude\": \"\"\n },\n \"country\": \"IL\",\n \"administrativeAreaLevel1\": \"\",\n \"administrativeAreaLevel2\": \"\",\n \"administrativeAreaLevel3\": \"\",\n \"postalCode\": \"\",\n \"city\": \"\",\n \"district\": \"\",\n \"street\": {\n \"namePrefix\": \"\",\n \"additionalNamePrefix\": \"\",\n \"name\": \"\",\n \"nameSuffix\": \"\",\n \"additionalNameSuffix\": \"\",\n \"houseNumber\": \"\",\n \"houseNumberSupplement\": \"\",\n \"milestone\": \"\",\n \"direction\": \"\"\n },\n \"companyPostalCode\": \"\",\n \"industrialZone\": \"\",\n \"building\": \"\",\n \"floor\": \"\",\n \"door\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"addressBpn\": \"\",\n \"name\": \"\",\n \"addressType\": \"LegalAddress\"\n },\n \"createdAt\": \"\",\n \"externalId\": \"\",\n \"identifiers\": [\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n },\n {\n \"type\": \"\",\n \"value\": \"\",\n \"issuingBody\": \"\"\n }\n ],\n \"isOwnCompanyData\": \"\",\n \"legalEntity\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"legalEntityBpn\": \"\",\n \"legalName\": \"\",\n \"shortName\": \"\",\n \"legalForm\": \"\"\n },\n \"nameParts\": [\n \"\",\n \"\"\n ],\n \"roles\": [\n \"CUSTOMER\",\n \"ONE_TIME_CUSTOMER\"\n ],\n \"site\": {\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"ACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"siteBpn\": \"\",\n \"name\": \"\"\n },\n \"states\": [\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n },\n {\n \"validFrom\": \"\",\n \"validTo\": \"\",\n \"type\": \"INACTIVE\"\n }\n ],\n \"updatedAt\": \"\",\n \"bpnA\": \"incididunt velit proident\",\n \"bpnL\": -92389775,\n \"postalAddress\": 23082811\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "[\n \"\",\n \"\"\n]", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/business-partners/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "business-partners", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "sharing-state-controller", + "item": [ + { + "name": "/sharing-state/ready", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sharing-state/ready", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sharing-state", + "ready" + ] + }, + "description": "The business partners to set the ready state for are identified by their external-id. Only business partners in an initial or error state can be set to ready. If any given business partner could not be set into ready state for any reason (for example, it has not been found or it is in the wrong state) the whole request fails (all or nothing approach)." + }, + "response": [ + { + "name": "All business partners put in ready to be shared state", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sharing-state/ready", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sharing-state", + "ready" + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + }, + { + "name": "Business partners can't be put into ready state (e.g. external-ID not found, wrong sharing state)", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/sharing-state/ready", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sharing-state", + "ready" + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/sharing-state", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/sharing-state?page=0&size=10&businessPartnerType=ADDRESS&externalIds=&externalIds=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sharing-state" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + }, + { + "key": "businessPartnerType", + "value": "ADDRESS", + "description": "Business partner type" + }, + { + "key": "externalIds", + "value": "", + "description": "External IDs" + }, + { + "key": "externalIds", + "value": "", + "description": "External IDs" + } + ] + } + }, + "response": [ + { + "name": "Page of sharing states", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/sharing-state?page=0&size=10&businessPartnerType=ADDRESS&externalIds=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "sharing-state" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + }, + { + "key": "businessPartnerType", + "value": "ADDRESS", + "description": "Business partner type" + }, + { + "key": "externalIds", + "value": "", + "description": "External IDs" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"externalId\": \"\",\n \"sharingStateType\": \"Initial\",\n \"sharingErrorCode\": \"MissingTaskID\",\n \"sharingErrorMessage\": \"\",\n \"sharingProcessStarted\": \"\",\n \"taskId\": \"\"\n },\n {\n \"externalId\": \"\",\n \"sharingStateType\": \"Pending\",\n \"sharingErrorCode\": \"BpnNotInPool\",\n \"sharingErrorMessage\": \"\",\n \"sharingProcessStarted\": \"\",\n \"taskId\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + } + ] + } + ] + }, + { + "name": "changelog-controller", + "item": [ + { + "name": "/output/changelog/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/output/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "output", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Returns changelog entries as of a specified timestamp from the output stage, optionally filtered by timestamp, an array of external IDs and a business partner type." + }, + "response": [ + { + "name": "The changelog entries for the specified parameters", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/output/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "output", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"changelogType\": \"CREATE\",\n \"externalId\": \"\",\n \"timestamp\": \"\"\n },\n {\n \"changelogType\": \"UPDATE\",\n \"externalId\": \"\",\n \"timestamp\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"ExternalIdNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"ExternalIdNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ],\n \"invalidEntries\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/output/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "output", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + }, + { + "name": "/input/changelog/search", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + }, + "description": "Returns changelog entries as of a specified timestamp from the input stage, optionally filtered by timestamp, an array of external IDs and a business partner type." + }, + "response": [ + { + "name": "The changelog entries for the specified parameters", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"content\": [\n {\n \"changelogType\": \"CREATE\",\n \"externalId\": \"\",\n \"timestamp\": \"\"\n },\n {\n \"changelogType\": \"UPDATE\",\n \"externalId\": \"\",\n \"timestamp\": \"\"\n }\n ],\n \"contentSize\": \"\",\n \"errors\": [\n {\n \"errorCode\": \"ExternalIdNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n },\n {\n \"errorCode\": \"ExternalIdNotFound\",\n \"message\": \"\",\n \"entityKey\": \"\"\n }\n ],\n \"invalidEntries\": \"\",\n \"page\": \"\",\n \"totalElements\": \"\",\n \"totalPages\": \"\"\n}" + }, + { + "name": "On malformed pagination request", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"timestampAfter\": \"\",\n \"externalIds\": [\n \"\",\n \"\"\n ]\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/input/changelog/search?page=0&size=10", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "input", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0", + "description": "Number of page to get results from" + }, + { + "key": "size", + "value": "10", + "description": "Size of each page" + } + ] + } + }, + "status": "Bad Request", + "code": 400, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "stats-controller", + "item": [ + { + "name": "/stats/:stage/address-types", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/:stage/address-types", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + ":stage", + "address-types" + ], + "variable": [ + { + "key": "stage", + "value": "Input", + "description": "(Required) " + } + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/:stage/address-types", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + ":stage", + "address-types" + ], + "variable": [ + { + "key": "stage" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"additionalTotal\": \"\",\n \"legalAndSiteTotal\": \"\",\n \"legalTotal\": \"\",\n \"siteTotal\": \"\"\n}" + } + ] + }, + { + "name": "/stats/stages", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/stages", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + "stages" + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/stages", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + "stages" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"inputTotal\": \"\",\n \"outputTotal\": \"\"\n}" + } + ] + }, + { + "name": "/stats/sharing-states", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/sharing-states", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + "sharing-states" + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/sharing-states", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + "sharing-states" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"errorTotal\": \"\",\n \"initialTotal\": \"\",\n \"pendingTotal\": \"\",\n \"readyTotal\": \"\",\n \"successTotal\": \"\"\n}" + } + ] + }, + { + "name": "/stats/confidence-criteria", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/confidence-criteria", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + "confidence-criteria" + ] + } + }, + "response": [ + { + "name": "OK", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/stats/confidence-criteria", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "stats", + "confidence-criteria" + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"checkedByExternalDataSourceTotal\": \"\",\n \"confidenceLevelAverage\": \"\",\n \"numberOfBusinessPartnersAverage\": \"\",\n \"sharedByOwnerTotal\": \"\",\n \"uniqueTotal\": \"\"\n}" + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "{{TRANSFER_TOKEN}}", + "type": "string" + }, + { + "key": "key", + "value": "Authorization", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "{{CONSUMER_EDC_API_KEY}}", + "type": "string" + }, + { + "key": "key", + "value": "X-Api-Key", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "CONSUMER_EDC_API_KEY", + "value": "api-key", + "type": "string" + }, + { + "key": "CONSUMER_EDC_MANAGEMENT_API", + "value": "https://www.sharing-member-edc.net/management", + "type": "string" + }, + { + "key": "PROVIDER_EDC_DATASPACE_API", + "value": "https://www.bpdm-edc.net/api/v1/dsp", + "type": "string" + }, + { + "key": "PROVIDER_BPNL", + "value": "BPNL000000000001", + "type": "string" + }, + { + "key": "ASSET_ID_POOL_CX_MEMBER_READ", + "value": "b38da99b-bbac-4bcb-8a0b-589b0dc45ddc", + "type": "string" + }, + { + "key": "ASSET_ID_GATE_SHARING_MEMBER_FULL_INPUT", + "value": "08069c44-750b-415d-8469-0fb293bf5d08", + "type": "string" + }, + { + "key": "ASSET_ID_GATE_SHARING_MEMBER_READ_INPUT", + "value": "e5d8962f-6873-4693-8c58-56f53871438e", + "type": "string" + }, + { + "key": "ASSET_ID_GATE_SHARING_MEMBER_READ_OUTPUT", + "value": "940546d7-e4a0-44d4-9c03-e3274c403985", + "type": "string" + }, + { + "key": "OFFER", + "value": "", + "type": "string" + }, + { + "key": "CONSUMER_BPNL", + "value": "BPNL0000000001XF", + "type": "string" + }, + { + "key": "NEGOTIATION", + "value": "" + }, + { + "key": "AGREEMENT", + "value": "", + "type": "string" + }, + { + "key": "TRANSFER", + "value": "", + "type": "string" + }, + { + "key": "TRANSFER_TOKEN", + "value": "", + "type": "string" + }, + { + "key": "PROVIDER_EDC_PUBLIC_API", + "value": "https://www.bpdm-edc.net/api/public", + "type": "string" + }, + { + "key": "SELECTED_ASSET", + "value": "", + "type": "string" + }, + { + "key": "baseUrl", + "value": "{{PROVIDER_EDC_PUBLIC_API}}", + "type": "string" + }, + { + "key": "SELECTED_PURPOSE", + "value": "", + "type": "string" + } + ] +} \ No newline at end of file diff --git a/docs/postman/EDC-BPDM Automated Test.postman_collection.json b/docs/postman/EDC-BPDM Automated Test.postman_collection.json deleted file mode 100644 index ef9d935a7..000000000 --- a/docs/postman/EDC-BPDM Automated Test.postman_collection.json +++ /dev/null @@ -1,6928 +0,0 @@ -{ - "info": { - "_postman_id": "fbdc004d-e141-4531-9425-4d61be61c990", - "name": "EDC-BPDM Automated Test", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "29584075" - }, - "item": [ - { - "name": "Step 1 - Query Catalog", - "item": [ - { - "name": "Query Catalog", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseJson = pm.response.json();", - "", - "// Loop through each dataset object in the response", - "responseJson[\"dcat:dataset\"].forEach(function(dataset) {", - " // Get the ID and corresponding value", - " var id = dataset[\"@id\"];", - " var offerId = dataset[\"odrl:hasPolicy\"][\"@id\"];", - " ", - " // Set variables for each object", - " pm.collectionVariables.set(\"ASSET_\" + id, id);", - " pm.collectionVariables.set(\"OFFERID_\" + id, offerId);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\r\n \"@context\": {},\r\n \"protocol\": \"dataspace-protocol-http\",\r\n \"providerUrl\": \"{{PROVIDER_PROTOCOL_URL}}\",\r\n \"querySpec\": {\r\n \"offset\": 0,\r\n \"limit\": 100,\r\n \"filter\": \"\",\r\n \"range\": {\r\n \"from\": 0,\r\n \"to\": 100\r\n },\r\n \"criterion\": \"\"\r\n }\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_MANAGEMENT_URL}}/catalog/request", - "host": [ - "{{CONSUMER_MANAGEMENT_URL}}" - ], - "path": [ - "catalog", - "request" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Step2 - Data Access Per Request", - "item": [ - { - "name": "Gate", - "item": [ - { - "name": "Sharing-State", - "item": [ - { - "name": "GET Sharing States", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"QlBETV9HQVRFX0FQSV9DT05UUkFDVA==:QlBETV9HQVRFX0FQSV8y:YTQ2NjM5ZjUtYjdmYy00MjUyLTlmMGQtZWU5ZTU3NDljYjY1\",\n\t\t\"assetId\": \"BPDM_GATE_API_2\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"BPDM_GATE_API_2\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"BPNL00000003CUFH\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"BPDM_GATE_API_2\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId=BPDM_GATE_API_2", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "BPDM_GATE_API_2" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "PUT Sharing State", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_SHARING_STATE}}\",\n\t\t\"assetId\": \"{{ASSET_PUT_SHARING_STATE}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_PUT_SHARING_STATE}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_PUT_SHARING_STATE}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_PUT_SHARING_STATE}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_PUT_SHARING_STATE}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"businessPartnerType\": \"LEGAL_ENTITY\",\n \"externalId\": \"string\",\n \"sharingStateType\": \"Pending\",\n \"sharingErrorCode\": \"SharingProcessError\",\n \"sharingErrorMessage\": \"string\",\n \"bpn\": \"string\",\n \"sharingProcessStarted\": \"2023-09-15T13:14:19.416Z\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Input", - "item": [ - { - "name": "Legal Entity", - "item": [ - { - "name": "GET Legal Entity Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_BPL_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_GET_BPL_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_BPL_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_BPL_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_BPL_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_BPL_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "PUT Legal Entity Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_PUT_BPL_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_PUT_BPL_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_PUT_BPL_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_PUT_BPL_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_PUT_BPL_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_PUT_BPL_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n {\n \"legalNameParts\": [\n \"Name of Company\"\n ],\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\"\n }\n ],\n \"legalShortName\": \"NoC\",\n \"legalForm\": \"CUSTOM_LEGAL_FORM\",\n \"states\": [\n {\n \"officialDenotation\": \"Active\",\n \"validFrom\": \"2020-12-16T05:54:48.942Z\",\n \"validTo\": \"2023-06-05T07:31:01.213Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"classifications\": [\n {\n \"value\": \"Farming of cattle, dairy farming\",\n \"code\": \"01.21\",\n \"type\": \"NACE\"\n }\n ],\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"legalAddress\": {\n \"nameParts\": [\n \"WESTERN_LATIN_STANDARD\"\n ],\n \"states\": [\n {\n \"description\": \"WESTERN_LATIN_STANDARD\",\n \"validFrom\": \"2020-12-16T05:54:48.942Z\",\n \"validTo\": \"2023-06-05T07:31:01.213Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"identifiers\": [\n {\n \"value\": \"12345678910\",\n \"type\": \"CUSTOM_ID_ADD_TYPE\"\n }\n ],\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"postalCode\": \"70546\",\n \"city\": \"Stuttgart\",\n \"street\": {\n \"namePrefix\": \"test prefix\",\n \"additionalNamePrefix\": \"test1\",\n \"name\": \"Stuttgarter Strasse\",\n \"additionalNameSuffix\": \"test2\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\",\n \"nameSuffix\": \"test\"\n },\n \"administrativeAreaLevel1\": null,\n \"administrativeAreaLevel2\": \"test1\",\n \"administrativeAreaLevel3\": \"test2\",\n \"district\": \"Stuttgart\",\n \"companyPostalCode\": \"GM01\",\n \"industrialZone\": \"HEADQUARTER\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": \"test\"\n },\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"postalCode\": \"1234\",\n \"city\": \"Stuttgart 1\",\n \"administrativeAreaLevel1\": null,\n \"deliveryServiceNumber\": \"1234\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\"\n },\n \"roles\": [\n \"SUPPLIER\"\n ]\n },\n \"externalId\": \"12044444\"\n }\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Legal Entity Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPL_INPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPL_INPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPL_INPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPL_INPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPL_INPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPL_INPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n 11111111\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Site", - "item": [ - { - "name": "GET Site Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_BPS_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_GET_BPS_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_BPS_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_BPS_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_BPS_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_BPS_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "PUT Site Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_PUT_BPS_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_PUT_BPS_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_PUT_BPS_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_PUT_BPS_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_PUT_BPS_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_PUT_BPS_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n {\n \"nameParts\": [\n \"Factory UT\"\n ],\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-05T08:29:20.015Z\",\n \"validTo\": \"2023-06-05T08:29:20.015Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"mainAddress\": {\n \"nameParts\": [\n \"WESTERN_LATIN_STANDARD\"\n ],\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-05T08:29:20.015Z\",\n \"validTo\": \"2023-06-05T08:29:20.015Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_SITE_ID\"\n }\n ],\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"postalCode\": \"70327\",\n \"city\": \"Stuttgart\",\n \"street\": {\n \"namePrefix\": \"test prefix\",\n \"additionalNamePrefix\": \"test\",\n \"name\": \"Untertuerckheim Strasse 1\",\n \"additionalNameSuffix\": \"test suffix\",\n \"houseNumber\": \"1234\",\n \"milestone\": \"Untertuerckheim Strasse 1\",\n \"direction\": \"Untertuerckheim Strasse 1\",\n \"nameSuffix\": \"test1 suffix\"\n },\n \"administrativeAreaLevel1\": \"Baden-Wuerttember\",\n \"district\": \"Stuttgart\",\n \"companyPostalCode\": \"71034\",\n \"industrialZone\": \"Sindelfinden\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": \"1\"\n },\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"postalCode\": \"1234\",\n \"city\": \"Stuttgart\",\n \"administrativeAreaLevel1\": \"Stuttgart\",\n \"deliveryServiceNumber\": \"Untertuerckheim Strasse 1\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test qualifier\"\n },\n \"roles\": [\n \"SUPPLIER\"\n ]\n },\n \"externalId\": \"12044444\",\n \"legalEntityExternalId\": \"12044444\"\n }\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Site Input Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPS_INPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPS_INPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPS_INPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPS_INPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPS_INPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPS_INPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"12044444\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Address", - "item": [ - { - "name": "GET Addess Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_BPA_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_GET_BPA_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_BPA_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_BPA_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_BPA_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_BPA_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "PUT Address Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_PUT_BPA_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_PUT_BPA_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_PUT_BPA_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_PUT_BPA_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_PUT_BPA_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_PUT_BPA_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n {\n \"nameParts\": [\n \"WESTERN_LATIN_STANDARD\"\n ],\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-05T10:32:30.231Z\",\n \"validTo\": \"2023-06-05T10:32:30.231Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ADDRESS_ID\"\n }\n ],\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"postalCode\": \"70327\",\n \"city\": \"Stuttgart\",\n \"street\": {\n \"namePrefix\": \"test prefix\",\n \"additionalNamePrefix\": \"test\",\n \"name\": \"Untertuerckheim Strasse 1\",\n \"additionalNameSuffix\": \"test suffix\",\n \"houseNumber\": \"1234\",\n \"milestone\": \"Untertuerckheim Strasse 1\",\n \"direction\": \"Untertuerckheim Strasse 1\",\n \"nameSuffix\": \"test1 suffix\"\n },\n \"administrativeAreaLevel1\": \"Baden-Wuerttember\",\n \"district\": \"Stuttgart\",\n \"companyPostalCode\": \"71034\",\n \"industrialZone\": \"Sindelfinden\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": \"1\"\n },\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"postalCode\": \"1234\",\n \"city\": \"Stuttgart\",\n \"administrativeAreaLevel1\": \"Stuttgart\",\n \"deliveryServiceNumber\": \"Untertuerckheim Strasse 1\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test qualifier\"\n },\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"externalId\": \"12044444\",\n \"legalEntityExternalId\": \"12044444\",\n \"siteExternalId\": null\n }\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Address Input Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPA_INPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPA_INPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPA_INPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPA_INPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPA_INPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPA_INPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"12044444_legalAddress\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Generic", - "item": [ - { - "name": "PUT Generic Input", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_PUT_GENERIC_INPUT}}\",\n\t\t\"assetId\": \"{{ASSET_PUT_GENERIC_INPUT}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_PUT_GENERIC_INPUT}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_PUT_GENERIC_INPUT}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_PUT_GENERIC_INPUT}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_PUT_GENERIC_INPUT}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API PUT", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n {\n \"externalId\": \"generic_test\",\n \"nameParts\": [\n \"Name of Company 1\",\n \"Name of Company 2\",\n \"Name of Company 3\",\n \"Name of Company 4\",\n \"Name of Company 5\" \n ],\n \"shortName\": \"string\",\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\"\n }\n ],\n \"legalForm\": \"CUSTOM_FORM\",\n \"states\": [\n {\n \"validFrom\": \"2023-09-29T08:57:22.999Z\",\n \"validTo\": \"2023-09-29T08:57:22.999Z\",\n \"type\": \"ACTIVE\",\n \"description\": \"Active\"\n }\n ],\n \"classifications\": [\n {\n \"type\": \"NACE\",\n \"code\": \"01.21\",\n \"value\": \"Farming of cattle, dairy farming\"\n }\n ],\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"postalAddress\": {\n \"addressType\": null,\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg\",\n \"administrativeAreaLevel2\": \"test1\",\n \"administrativeAreaLevel3\": \"test2\",\n \"postalCode\": \"70546\",\n \"city\": \"Stuttgart\",\n \"district\": \"Stuttgart\",\n \"street\": {\n \"namePrefix\": \"test prefix\",\n \"additionalNamePrefix\": \"test1\",\n \"name\": \"Stuttgarter Strasse\",\n \"nameSuffix\": \"test\",\n \"additionalNameSuffix\": \"test2\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\"\n },\n \"companyPostalCode\": \"GM01\",\n \"industrialZone\": \"HEADQUARTER\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": \"test\"\n },\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg 1\",\n \"postalCode\": \"1234\",\n \"city\": \"Stuttgart 1\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\",\n \"deliveryServiceNumber\": \"1234\"\n }\n },\n \"isOwner\": true\n }\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Address Input Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_GENERIC_INPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_GENERIC_INPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_GENERIC_INPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_GENERIC_INPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_GENERIC_INPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_GENERIC_INPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API POST", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"12044444_legalAddress\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - } - ] - }, - { - "name": "Output", - "item": [ - { - "name": "POST Legal Entity Output Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPL_OUTPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPL_OUTPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPL_OUTPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPL_OUTPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPL_OUTPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPL_OUTPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"11111111\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Site Output Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPS_OUTPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPS_OUTPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPS_OUTPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPS_OUTPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPS_OUTPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPS_OUTPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"12044444\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Address Output Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPA_OUTPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPA_OUTPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPA_OUTPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPA_OUTPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPA_OUTPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPA_OUTPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"12044444_legalAddress\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Generic Output Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_GENERIC_OUTPUT_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_GENERIC_OUTPUT_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_GENERIC_OUTPUT_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_GENERIC_OUTPUT_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_GENERIC_OUTPUT_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_GENERIC_OUTPUT_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API POST", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"12044444_legalAddress\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Changelog", - "item": [ - { - "name": "POST Input Changelog Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_INPUT_CHANGELOG_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_INPUT_CHANGELOG_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_INPUT_CHANGELOG_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_INPUT_CHANGELOG_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_INPUT_CHANGELOG_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_INPUT_CHANGELOG_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"fromTime\": \"2020-12-16T05:54:48.942Z\",\n \"externalIds\": [\n \"12044444\"\n ],\n \"lsaTypes\": [\n \"LEGAL_ENTITY\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Output Changelog Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_OUTPUT_CHANGELOG_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_OUTPUT_CHANGELOG_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_OUTPUT_CHANGELOG_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_OUTPUT_CHANGELOG_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_OUTPUT_CHANGELOG_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_OUTPUT_CHANGELOG_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"fromTime\": \"2020-12-16T05:54:48.942Z\",\n \"externalIds\": [\n \"12044444\"\n ],\n \"lsaTypes\": [\n \"LEGAL_ENTITY\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - } - ] - }, - { - "name": "Pool", - "item": [ - { - "name": "Metadata", - "item": [ - { - "name": "GET Legal Forms", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_LEGAL_FORMS}}\",\n\t\t\"assetId\": \"{{ASSET_GET_LEGAL_FORMS}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_LEGAL_FORMS}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_LEGAL_FORMS}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_LEGAL_FORMS}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_LEGAL_FORMS}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "GET Identifier Types", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_IDENTIFIER_TYPES}}\",\n\t\t\"assetId\": \"{{ASSET_GET_IDENTIFIER_TYPES}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_IDENTIFIER_TYPES}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_IDENTIFIER_TYPES}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_IDENTIFIER_TYPES}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_IDENTIFIER_TYPES}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "GET Field Quality Rules", - "item": [ - { - "name": "Initiate EDR Negotation Copy", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_FIELD_QUALITY_RULES}}\",\n\t\t\"assetId\": \"{{ASSET_GET_FIELD_QUALITY_RULES}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_FIELD_QUALITY_RULES}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_FIELD_QUALITY_RULES}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_FIELD_QUALITY_RULES}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_FIELD_QUALITY_RULES}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "GET Administrative Level 1", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_ADMINISTRATIVE_AREAS_LEVEL_1}}\",\n\t\t\"assetId\": \"{{ASSET_GET_ADMINISTRATIVE_AREAS_LEVEL_1}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_ADMINISTRATIVE_AREAS_LEVEL_1}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_ADMINISTRATIVE_AREAS_LEVEL_1}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_ADMINISTRATIVE_AREAS_LEVEL_1}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_ADMINISTRATIVE_AREAS_LEVEL_1}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Legal Entity", - "item": [ - { - "name": "GET Legal Entities", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_BPL_POOL}}\",\n\t\t\"assetId\": \"{{ASSET_GET_BPL_POOL}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_BPL_POOL}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_BPL_POOL}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_BPL_POOL}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_BPL_POOL}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Legal Entity Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPL_POOL_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPL_POOL_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPL_POOL_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPL_POOL_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPL_POOL_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPL_POOL_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "[\n \"BPNL000000000001\"\n]", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Sites", - "item": [ - { - "name": "GET Sites", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_BPS_POOL}}\",\n\t\t\"assetId\": \"{{ASSET_GET_BPS_POOL}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_BPS_POOL}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_BPS_POOL}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_BPS_POOL}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_BPS_POOL}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Site Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPS_POOL_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPS_POOL_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPS_POOL_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPS_POOL_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPS_POOL_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPS_POOL_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntities\": [\n \"BPNL000000000001\"\n ],\n \"sites\": [\n \"BPNS000000000001\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Addresses", - "item": [ - { - "name": "GET Addresses", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_GET_BPA_POOL}}\",\n\t\t\"assetId\": \"{{ASSET_GET_BPA_POOL}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_GET_BPA_POOL}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_GET_BPA_POOL}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_GET_BPA_POOL}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_GET_BPA_POOL}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "GET", - "header": [], - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "POST Address Search", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_BPA_POOL_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_BPA_POOL_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_BPA_POOL_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_BPA_POOL_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_BPA_POOL_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_BPA_POOL_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"legalEntities\": [\n \"BPNL000000000001\"\n ],\n \"sites\": [\n \"BPNS000000000001\"\n ],\n \"addresses\": [\n \"BPNA000000000001\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - }, - { - "name": "Changelog", - "item": [ - { - "name": "POST Business Partner Changelog", - "item": [ - { - "name": "Initiate EDR Negotation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\t\"@context\": {\n\t\t\"odrl\": \"http://www.w3.org/ns/odrl/2/\"\n\t},\n\t\"@type\": \"NegotiationInitiateRequestDto\",\n\t\"connectorAddress\": \"{{PROVIDER_PROTOCOL_URL}}\",\n\t\"protocol\": \"dataspace-protocol-http\",\n\t\"connectorId\": \"{{PROVIDER_ID}}\",\n\t\"providerId\": \"{{PROVIDER_ID}}\",\n\t\"offer\": {\n\t\t\"offerId\": \"{{OFFERID_POST_CHANGELOG_POOL_SEARCH}}\",\n\t\t\"assetId\": \"{{ASSET_POST_CHANGELOG_POOL_SEARCH}}\",\n\t\t\"policy\": {\n\t\t\t\"@type\": \"odrl:Set\",\n\t\t\t\"odrl:permission\": {\n\t\t\t\t\"odrl:target\": \"{{ASSET_POST_CHANGELOG_POOL_SEARCH}}\",\n\t\t\t\t\"odrl:action\": {\n\t\t\t\t\t\"odrl:type\": \"USE\"\n\t\t\t\t},\n\t\t\t\t\"odrl:constraint\": {\n\t\t\t\t\t\"odrl:or\": {\n\t\t\t\t\t\t\"odrl:leftOperand\": \"BusinessPartnerNumber\",\n\t\t\t\t\t\t\"odrl:operator\": {\n \"@id\": \"odrl:eq\"\n },\n\t\t\t\t\t\t\"odrl:rightOperand\": \"{{POLICY_BPN}}\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"odrl:prohibition\": [],\n\t\t\t\"odrl:obligation\": [],\n\t\t\t\"odrl:target\": \"{{ASSET_POST_CHANGELOG_POOL_SEARCH}}\"\n\t\t}\n\t}\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ] - } - }, - "response": [] - }, - { - "name": "Query EDRs Cached", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response is an array and has elements", - "if (Array.isArray(responseBody) && responseBody.length > 0) {", - " // Get the last object in the array", - " var lastObject = responseBody[responseBody.length - 1];", - "", - " // Check if the last object has the \"edc:transferProcessId\" property", - " if (lastObject.hasOwnProperty(\"edc:transferProcessId\")) {", - " // Copy the value of \"edc:transferProcessId\" to a variable", - " var transferProcessId = lastObject[\"edc:transferProcessId\"];", - "", - " // Log the value to the Postman console", - " console.log(\"Transfer Process ID: \" + transferProcessId);", - "", - " // You can also use the value of transferProcessId as needed", - " // For example, you can set it as an environment variable", - " pm.collectionVariables.set(\"TRANSFERID_AUTOTEST\", transferProcessId);", - " } else {", - " console.log(\"The last object does not have 'edc:transferProcessId' property.\");", - " }", - "} else {", - " console.log(\"Response is not an array or it has no elements.\");", - "}", - "" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs?assetId={{ASSET_POST_CHANGELOG_POOL_SEARCH}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs" - ], - "query": [ - { - "key": "assetId", - "value": "{{ASSET_POST_CHANGELOG_POOL_SEARCH}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get EDR by tp ID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "// Parse the JSON response", - "var responseBody = pm.response.json();", - "", - "// Check if the response contains the \"edc:authCode\" property", - "if (responseBody.hasOwnProperty(\"edc:authCode\")) {", - " // Get the value of \"edc:authCode\"", - " var authCode = responseBody[\"edc:authCode\"];", - "", - " // Set the collection variable with the value of \"edc:authCode\"", - " pm.collectionVariables.set(\"AUTH_CODE\", authCode);", - "", - " // Log the value to the Postman console", - " console.log(\"edc:authCode: \" + authCode);", - "} else {", - " console.log(\"Response does not contain 'edc:authCode' property.\");", - "}" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [], - "body": { - "mode": "raw", - "raw": "", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{CONSUMER_ADAPTER_URL}}/edrs/{{TRANSFERID_AUTOTEST}}", - "host": [ - "{{CONSUMER_ADAPTER_URL}}" - ], - "path": [ - "edrs", - "{{TRANSFERID_AUTOTEST}}" - ] - } - }, - "response": [] - }, - { - "name": "Public API GET", - "request": { - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{AUTH_CODE}}", - "type": "string" - }, - { - "key": "key", - "value": "Authorization", - "type": "string" - } - ] - }, - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"fromTime\": \"2023-03-21T09:00:25.298594Z\",\n \"bpns\": [\n \"BPNL000000000001\"\n ],\n \"lsaTypes\": [\n \"LEGAL_ENTITY\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{PROVIDER_PUBLIC_API}}", - "host": [ - "{{PROVIDER_PUBLIC_API}}" - ] - } - }, - "response": [] - } - ] - } - ] - } - ] - } - ] - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{API-KEY}}", - "type": "string" - }, - { - "key": "key", - "value": "X-Api-Key", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "SHARING_MEMBER_EDC_BASE_URL", - "value": "https://sharing-member-edc.net", - "type": "string" - }, - { - "key": "GATE_EDC_BASE_URL", - "value": "https://gate-edc.net.net", - "type": "string" - }, - { - "key": "CONSUMER_MANAGEMENT_URL", - "value": "{{SHARING_MEMBER_EDC_BASE_URL}}/management/v2", - "type": "string" - }, - { - "key": "PROVIDER_PROTOCOL_URL", - "value": "{{GATE_EDC_BASE_URL}}/api/v1/dsp" - }, - { - "key": "PROVIDER_MANAGEMENT_URL", - "value": "{{GATE_EDC_BASE_URL}}/management/v2" - }, - { - "key": "CONSUMER_ADAPTER_URL", - "value": "{{SHARING_MEMBER_EDC_BASE_URL}}/management", - "type": "string" - }, - { - "key": "PROVIDER_PUBLIC_API", - "value": "{{GATE_EDC_BASE_URL}}/api/public", - "type": "string" - }, - { - "key": "POLICY_ID", - "value": "HAS_SHARING_MEMBER_BPN", - "type": "default" - }, - { - "key": "CONTRACT_POLICY_ID", - "value": "HAS_SHARING_MEMBER_BPN", - "type": "default" - }, - { - "key": "ACCESS_POLICY_ID", - "value": "HAS_SHARING_MEMBER_BPN", - "type": "default" - }, - { - "key": "CONTRACT_DEFINITION_ID", - "value": "COMPANY_TEST_SHARING_MEMBER", - "type": "default" - }, - { - "key": "POLICY_BPN", - "value": "BPNL Sharing Member", - "type": "default" - }, - { - "key": "PROVIDER_ID", - "value": "BPNL Gate Provider", - "type": "string" - }, - { - "key": "EDC_NAMESPACE", - "value": "https://w3id.org/edc/v0.0.1/ns/", - "type": "string" - }, - { - "key": "API-KEY", - "value": "api-key", - "type": "string" - }, - { - "key": "ASSET_GET_SHARING_STATE", - "value": "GET_SHARING_STATE", - "type": "string" - }, - { - "key": "ASSET_PUT_SHARING_STATE", - "value": "PUT_SHARING_STATE", - "type": "string" - }, - { - "key": "ASSET_GET_BPL_INPUT", - "value": "GET_BPL_INPUT", - "type": "string" - }, - { - "key": "ASSET_PUT_BPL_INPUT", - "value": "PUT_BPL_INPUT", - "type": "string" - }, - { - "key": "ASSET_POST_BPL_INPUT_SEARCH", - "value": "POST_BPL_INPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_GET_BPS_INPUT", - "value": "GET_BPS_INPUT", - "type": "string" - }, - { - "key": "ASSET_PUT_BPS_INPUT", - "value": "PUT_BPS_INPUT", - "type": "string" - }, - { - "key": "ASSET_POST_BPS_INPUT_SEARCH", - "value": "POST_BPS_INPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_GET_BPA_INPUT", - "value": "GET_BPA_INPUT", - "type": "string" - }, - { - "key": "ASSET_PUT_BPA_INPUT", - "value": "PUT_BPA_INPUT", - "type": "string" - }, - { - "key": "ASSET_POST_BPA_INPUT_SEARCH", - "value": "POST_BPA_INPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_BPL_OUTPUT_SEARCH", - "value": "POST_BPL_OUTPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_BPS_OUTPUT_SEARCH", - "value": "POST_BPS_OUTPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_BPA_OUTPUT_SEARCH", - "value": "POST_BPA_OUTPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_INPUT_CHANGELOG_SEARCH", - "value": "POST_INPUT_CHANGELOG_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_OUTPUT_CHANGELOG_SEARCH", - "value": "POST_OUTPUT_CHANGELOG_SEARCH", - "type": "string" - }, - { - "key": "ASSET_GET_LEGAL_FORMS", - "value": "GET_LEGAL_FORMS", - "type": "string" - }, - { - "key": "ASSET_GET_IDENTIFIER_TYPES", - "value": "GET_IDENTIFIER_TYPES", - "type": "string" - }, - { - "key": "ASSET_GET_FIELD_QUALITY_RULES", - "value": "GET_FIELD_QUALITY_RULES", - "type": "string" - }, - { - "key": "ASSET_GET_BPL_POOL", - "value": "GET_BPL_POOL", - "type": "string" - }, - { - "key": "ASSET_POST_BPL_POOL_SEARCH", - "value": "POST_BPL_POOL_SEARCH", - "type": "string" - }, - { - "key": "ASSET_GET_BPS_POOL", - "value": "GET_BPS_POOL", - "type": "string" - }, - { - "key": "ASSET_POST_BPS_POOL_SEARCH", - "value": "POST_BPS_POOL_SEARCH", - "type": "string" - }, - { - "key": "ASSET_GET_BPA_POOL", - "value": "GET_BPA_POOL", - "type": "string" - }, - { - "key": "ASSET_POST_BPA_POOL_SEARCH", - "value": "POST_BPA_POOL_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_CHANGELOG_POOL_SEARCH", - "value": "POST_CHANGELOG_POOL_SEARCH", - "type": "string" - }, - { - "key": "ASSET_POST_GENERIC_INPUT_SEARCH", - "value": "POST_GENERIC_INPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_PUT_GENERIC_INPUT", - "value": "PUT_GENERIC_INPUT", - "type": "string" - }, - { - "key": "ASSET_POST_GENERIC_OUTPUT_SEARCH", - "value": "POST_GENERIC_OUTPUT_SEARCH", - "type": "string" - }, - { - "key": "ASSET_GET_ADMINISTRATIVE_AREAS_LEVEL_1", - "value": "GET_ADMINISTRATIVE_AREAS_LEVEL_1", - "type": "string" - }, - { - "key": "TRANSFERID_AUTOTEST", - "value": "" - }, - { - "key": "AUTH_CODE", - "value": "" - }, - { - "key": "OFFERID_GET_SHARING_STATE", - "value": "" - }, - { - "key": "OFFERID_GET_BPL_INPUT", - "value": "" - }, - { - "key": "OFFERID_PUT_BPL_INPUT", - "value": "" - }, - { - "key": "OFFERID_POST_BPL_INPUT_SEARCH", - "value": "" - }, - { - "key": "OFFERID_GET_BPS_INPUT", - "value": "" - }, - { - "key": "OFFERID_PUT_BPS_INPUT", - "value": "" - }, - { - "key": "OFFERID_POST_BPS_INPUT_SEARCH", - "value": "" - }, - { - "key": "OFFERID_GET_BPA_INPUT", - "value": "" - }, - { - "key": "OFFERID_PUT_BPA_INPUT", - "value": "" - }, - { - "key": "OFFERID_POST_BPA_INPUT_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_BPL_OUTPUT_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_BPS_OUTPUT_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_BPA_OUTPUT_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_INPUT_CHANGELOG_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_OUTPUT_CHANGELOG_SEARCH", - "value": "" - }, - { - "key": "OFFERID_GET_LEGAL_FORMS", - "value": "" - }, - { - "key": "OFFERID_GET_IDENTIFIER_TYPES", - "value": "" - }, - { - "key": "OFFERID_GET_FIELD_QUALITY_RULES", - "value": "" - }, - { - "key": "OFFERID_GET_BPL_POOL", - "value": "" - }, - { - "key": "OFFERID_POST_BPL_POOL_SEARCH", - "value": "" - }, - { - "key": "OFFERID_GET_BPS_POOL", - "value": "" - }, - { - "key": "OFFERID_POST_BPS_POOL_SEARCH", - "value": "" - }, - { - "key": "OFFERID_GET_BPA_POOL", - "value": "" - }, - { - "key": "OFFERID_POST_BPA_POOL_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_CHANGELOG_POOL_SEARCH", - "value": "" - }, - { - "key": "OFFERID_POST_GENERIC_INPUT_SEARCH", - "value": "", - "type": "string" - }, - { - "key": "OFFERID_PUT_GENERIC_INPUT", - "value": "", - "type": "string" - }, - { - "key": "OFFERID_POST_GENERIC_OUTPUT_SEARCH", - "value": "", - "type": "string" - }, - { - "key": "ASSET_BPDM_GATE_API_2", - "value": "" - }, - { - "key": "OFFERID_BPDM_GATE_API_2", - "value": "" - }, - { - "key": "ASSET_assetId", - "value": "" - }, - { - "key": "OFFERID_assetId", - "value": "" - }, - { - "key": "ASSET_test-gate-api-asset", - "value": "" - }, - { - "key": "OFFERID_test-gate-api-asset", - "value": "" - }, - { - "key": "ASSET_test-gate-api-asset-2", - "value": "" - }, - { - "key": "OFFERID_test-gate-api-asset-2", - "value": "" - }, - { - "key": "OFFERID_GET_ADMINISTRATIVE_AREAS_LEVEL_1", - "value": "", - "type": "string" - } - ] -} \ No newline at end of file