From 4357074f9eebc12bfac3c6a48ecd4f65f8b49b73 Mon Sep 17 00:00:00 2001 From: SujitMBRDI Date: Thu, 15 Jun 2023 15:24:17 +0530 Subject: [PATCH] API-Model: Update postman collection with new data model #288 --- .../BPDM Bridge Dummy.postman_collection.json | 109 +++ .../postman/BPDM Gate.postman_collection.json | 379 +++++++-- .../postman/BPDM Pool.postman_collection.json | 774 +++++++----------- docs/postman/Local.postman_environment.json | 24 +- 4 files changed, 728 insertions(+), 558 deletions(-) create mode 100644 docs/postman/BPDM Bridge Dummy.postman_collection.json diff --git a/docs/postman/BPDM Bridge Dummy.postman_collection.json b/docs/postman/BPDM Bridge Dummy.postman_collection.json new file mode 100644 index 000000000..30b9633a9 --- /dev/null +++ b/docs/postman/BPDM Bridge Dummy.postman_collection.json @@ -0,0 +1,109 @@ +{ + "info": { + "_postman_id": "7b41c91f-d0b5-46c5-aeba-24dfec0c8d58", + "name": "BPDM Bridge Dummy", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "26818013" + }, + "item": [ + { + "name": "Bridge Sync", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{Bridge-Host}}/api/bridge/sync", + "host": [ + "{{Bridge-Host}}" + ], + "path": [ + "api", + "bridge", + "sync" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "oauth2", + "oauth2": [ + { + "key": "client_authentication", + "value": "body", + "type": "string" + }, + { + "key": "clientSecret", + "value": "{{Bridge-Client-Secret}}", + "type": "string" + }, + { + "key": "clientId", + "value": "{{Bridge-Client-ID}}", + "type": "string" + }, + { + "key": "accessTokenUrl", + "value": "https://{{Keycloak-Host}}/auth/realms/CX-Central/protocol/openid-connect/token", + "type": "string" + }, + { + "key": "tokenName", + "value": "BPDM Bridge Token {{Environment}}", + "type": "string" + }, + { + "key": "refreshRequestParams", + "value": [], + "type": "any" + }, + { + "key": "tokenRequestParams", + "value": [], + "type": "any" + }, + { + "key": "authRequestParams", + "value": [], + "type": "any" + }, + { + "key": "challengeAlgorithm", + "value": "S256", + "type": "string" + }, + { + "key": "grant_type", + "value": "client_credentials", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] +} \ No newline at end of file diff --git a/docs/postman/BPDM Gate.postman_collection.json b/docs/postman/BPDM Gate.postman_collection.json index c123e4f25..e8e911efc 100644 --- a/docs/postman/BPDM Gate.postman_collection.json +++ b/docs/postman/BPDM Gate.postman_collection.json @@ -1,11 +1,88 @@ { "info": { - "_postman_id": "90341b2a-db32-4d38-b6b6-864fd85a21c8", - "name": "BPDM Gate Copy", + "_postman_id": "326ec7da-09af-411a-ae73-3612d9c592f7", + "name": "BPDM Gate", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "1816771" + "_exporter_id": "26818013" }, "item": [ + { + "name": "Sharing-state", + "item": [ + { + "name": "Sharing States", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{Gate-Host}}/api/catena/sharing-state?page=0&size=10&lsaType=LEGAL_ENTITY", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "sharing-state" + ], + "query": [ + { + "key": "page", + "value": "0" + }, + { + "key": "size", + "value": "10" + }, + { + "key": "lsaType", + "value": "LEGAL_ENTITY" + }, + { + "key": "externalIds", + "value": "12044444", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Sharing State", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"lsaType\": \"LegalEntity\",\n \"externalId\": \"string\",\n \"sharingStateType\": \"Pending\",\n \"sharingErrorCode\": \"SharingProcessError\",\n \"sharingErrorMessage\": \"string\",\n \"bpn\": \"string\",\n \"sharingProcessStarted\": \"2023-06-05T06:56:40.785Z\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{Gate-Host}}/api/catena/sharing-state", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "sharing-state" + ] + } + }, + "response": [] + } + ] + }, { "name": "Input", "item": [ @@ -44,7 +121,7 @@ "method": "GET", "header": [], "url": { - "raw": "{{Gate-Host}}/api/catena/input/legal-entities/external-id", + "raw": "{{Gate-Host}}/api/catena/input/legal-entities/12044444", "host": [ "{{Gate-Host}}" ], @@ -53,7 +130,7 @@ "catena", "input", "legal-entities", - "external-id" + "12044444" ] } }, @@ -66,7 +143,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"identifiers\": [\n {\n \"value\": \"string\",\n \"type\": \"string\",\n \"issuingBody\": \"string\",\n \"status\": \"string\"\n }\n ],\n \"names\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"ACRONYM\",\n \"language\": \"undefined\"\n }\n ],\n \"legalForm\": \"string\",\n \"status\": {\n \"officialDenotation\": \"string\",\n \"validFrom\": \"2023-03-21T13:47:05.538Z\",\n \"validUntil\": \"2023-03-21T13:47:05.538Z\",\n \"type\": \"ACTIVE\"\n },\n \"profileClassifications\": [\n {\n \"value\": \"string\",\n \"code\": \"string\",\n \"type\": \"NACE\"\n }\n ],\n \"types\": [\n \"BRAND\"\n ],\n \"bankAccounts\": [\n {\n \"trustScores\": [\n 0\n ],\n \"currency\": \"UNDEFINED\",\n \"internationalBankAccountIdentifier\": \"string\",\n \"internationalBankIdentifier\": \"string\",\n \"nationalBankAccountIdentifier\": \"string\",\n \"nationalBankIdentifier\": \"string\"\n }\n ],\n \"legalAddress\": {\n \"version\": {\n \"characterSet\": \"ARABIC\",\n \"language\": \"undefined\"\n },\n \"careOf\": \"string\",\n \"contexts\": [\n \"string\"\n ],\n \"country\": \"UNDEFINED\",\n \"administrativeAreas\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"fipsCode\": \"string\",\n \"type\": \"COUNTY\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"string\",\n \"type\": \"CEDEX\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"BLOCK\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"string\",\n \"name\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"direction\": \"string\",\n \"type\": \"INDUSTRIAL_ZONE\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"INTERURBAN_DELIVERY_POINT\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"BRANCH_OFFICE\"\n ]\n },\n \"externalId\": \"string\",\n \"bpn\": \"string\"\n }\n]", + "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\": \"Baden-Wuerttemberg\",\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\": \"Baden-Wuerttemberg 1\",\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" @@ -89,13 +166,13 @@ "response": [] }, { - "name": "Legal Entity Validation", + "name": "Legal Entity Search", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"identifiers\": [\n {\n \"value\": \"string\",\n \"type\": \"string\",\n \"issuingBody\": \"string\",\n \"status\": \"string\"\n }\n ],\n \"names\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"ACRONYM\",\n \"language\": \"undefined\"\n }\n ],\n \"legalForm\": \"string\",\n \"status\": {\n \"officialDenotation\": \"string\",\n \"validFrom\": \"2023-03-21T13:48:49.321Z\",\n \"validUntil\": \"2023-03-21T13:48:49.321Z\",\n \"type\": \"ACTIVE\"\n },\n \"profileClassifications\": [\n {\n \"value\": \"string\",\n \"code\": \"string\",\n \"type\": \"NACE\"\n }\n ],\n \"types\": [\n \"BRAND\"\n ],\n \"bankAccounts\": [\n {\n \"trustScores\": [\n 0\n ],\n \"currency\": \"UNDEFINED\",\n \"internationalBankAccountIdentifier\": \"string\",\n \"internationalBankIdentifier\": \"string\",\n \"nationalBankAccountIdentifier\": \"string\",\n \"nationalBankIdentifier\": \"string\"\n }\n ],\n \"legalAddress\": {\n \"version\": {\n \"characterSet\": \"ARABIC\",\n \"language\": \"undefined\"\n },\n \"careOf\": \"string\",\n \"contexts\": [\n \"string\"\n ],\n \"country\": \"UNDEFINED\",\n \"administrativeAreas\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"fipsCode\": \"string\",\n \"type\": \"COUNTY\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"string\",\n \"type\": \"CEDEX\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"BLOCK\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"string\",\n \"name\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"direction\": \"string\",\n \"type\": \"INDUSTRIAL_ZONE\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"INTERURBAN_DELIVERY_POINT\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"BRANCH_OFFICE\"\n ]\n },\n \"externalId\": \"string\",\n \"bpn\": \"string\"\n}", + "raw": "[\n 12044444\n]", "options": { "raw": { "language": "json" @@ -103,7 +180,7 @@ } }, "url": { - "raw": "{{Gate-Host}}/api/catena/input/legal-entities/validation", + "raw": "{{Gate-Host}}/api/catena/input/legal-entities/search?page=0&size=10", "host": [ "{{Gate-Host}}" ], @@ -112,7 +189,17 @@ "catena", "input", "legal-entities", - "validation" + "search" + ], + "query": [ + { + "key": "page", + "value": "0" + }, + { + "key": "size", + "value": "10" + } ] } }, @@ -155,7 +242,7 @@ "method": "GET", "header": [], "url": { - "raw": "{{Gate-Host}}/api/catena/input/sites/external-id", + "raw": "{{Gate-Host}}/api/catena/input/sites/12044444", "host": [ "{{Gate-Host}}" ], @@ -164,7 +251,7 @@ "catena", "input", "sites", - "external-id" + "12044444" ] } }, @@ -177,7 +264,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"name\": \"string\",\n \"mainAddress\": {\n \"version\": {\n \"characterSet\": \"ARABIC\",\n \"language\": \"undefined\"\n },\n \"careOf\": \"string\",\n \"contexts\": [\n \"string\"\n ],\n \"country\": \"UNDEFINED\",\n \"administrativeAreas\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"fipsCode\": \"string\",\n \"type\": \"COUNTY\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"string\",\n \"type\": \"CEDEX\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"BLOCK\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"string\",\n \"name\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"direction\": \"string\",\n \"type\": \"INDUSTRIAL_ZONE\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"INTERURBAN_DELIVERY_POINT\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"BRANCH_OFFICE\"\n ]\n },\n \"externalId\": \"string\",\n \"legalEntityExternalId\": \"string\",\n \"bpn\": \"string\"\n }\n]", + "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" @@ -200,13 +287,13 @@ "response": [] }, { - "name": "Site Validation", + "name": "Site Search", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"name\": \"string\",\n \"mainAddress\": {\n \"version\": {\n \"characterSet\": \"ARABIC\",\n \"language\": \"undefined\"\n },\n \"careOf\": \"string\",\n \"contexts\": [\n \"string\"\n ],\n \"country\": \"UNDEFINED\",\n \"administrativeAreas\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"fipsCode\": \"string\",\n \"type\": \"COUNTY\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"string\",\n \"type\": \"CEDEX\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"BLOCK\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"string\",\n \"name\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"direction\": \"string\",\n \"type\": \"INDUSTRIAL_ZONE\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"INTERURBAN_DELIVERY_POINT\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"BRANCH_OFFICE\"\n ]\n },\n \"externalId\": \"string\",\n \"legalEntityExternalId\": \"string\",\n \"bpn\": \"string\"\n}", + "raw": "[\n \"12044444\"\n]", "options": { "raw": { "language": "json" @@ -214,7 +301,7 @@ } }, "url": { - "raw": "{{Gate-Host}}/api/catena/input/sites/validation", + "raw": "{{Gate-Host}}/api/catena/input/sites/search", "host": [ "{{Gate-Host}}" ], @@ -223,7 +310,7 @@ "catena", "input", "sites", - "validation" + "search" ] } }, @@ -266,7 +353,7 @@ "method": "GET", "header": [], "url": { - "raw": "{{Gate-Host}}/api/catena/input/addresses/external-id", + "raw": "{{Gate-Host}}/api/catena/input/addresses/12044444_site", "host": [ "{{Gate-Host}}" ], @@ -275,7 +362,7 @@ "catena", "input", "addresses", - "external-id" + "12044444_site" ] } }, @@ -288,7 +375,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"version\": {\n \"characterSet\": \"ARABIC\",\n \"language\": \"undefined\"\n },\n \"careOf\": \"string\",\n \"contexts\": [\n \"string\"\n ],\n \"country\": \"UNDEFINED\",\n \"administrativeAreas\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"fipsCode\": \"string\",\n \"type\": \"COUNTY\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"string\",\n \"type\": \"CEDEX\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"BLOCK\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"string\",\n \"name\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"direction\": \"string\",\n \"type\": \"INDUSTRIAL_ZONE\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"INTERURBAN_DELIVERY_POINT\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"BRANCH_OFFICE\"\n ],\n \"externalId\": \"string\",\n \"legalEntityExternalId\": \"string\",\n \"siteExternalId\": \"string\",\n \"bpn\": \"string\"\n }\n]", + "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_legalAddress\",\n \"legalEntityExternalId\": \"12044444\",\n \"siteExternalId\": null,\n \"bpn\": \"BPNA000000000001\"\n }\n]", "options": { "raw": { "language": "json" @@ -311,13 +398,13 @@ "response": [] }, { - "name": "Address Validation", + "name": "Address Search", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"version\": {\n \"characterSet\": \"ARABIC\",\n \"language\": \"undefined\"\n },\n \"careOf\": \"string\",\n \"contexts\": [\n \"string\"\n ],\n \"country\": \"UNDEFINED\",\n \"administrativeAreas\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"fipsCode\": \"string\",\n \"type\": \"COUNTY\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"string\",\n \"type\": \"CEDEX\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"type\": \"BLOCK\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"string\",\n \"name\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"direction\": \"string\",\n \"type\": \"INDUSTRIAL_ZONE\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"string\",\n \"shortName\": \"string\",\n \"number\": \"string\",\n \"type\": \"INTERURBAN_DELIVERY_POINT\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"BRANCH_OFFICE\"\n ],\n \"externalId\": \"string\",\n \"legalEntityExternalId\": \"string\",\n \"siteExternalId\": \"string\",\n \"bpn\": \"string\"\n}", + "raw": "[\n \"12044444_legalAddress\"\n]", "options": { "raw": { "language": "json" @@ -325,7 +412,7 @@ } }, "url": { - "raw": "{{Gate-Host}}/api/catena/input/addresses/validation", + "raw": "{{Gate-Host}}/api/catena/input/addresses/search", "host": [ "{{Gate-Host}}" ], @@ -334,7 +421,7 @@ "catena", "input", "addresses", - "validation" + "search" ] } }, @@ -354,7 +441,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n \"external-id\"\n]", + "raw": "[\n \"12044444\"\n]", "options": { "raw": { "language": "json" @@ -390,7 +477,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n \"external-id\"\n]", + "raw": "[\n \"12044444\"\n]", "options": { "raw": { "language": "json" @@ -426,7 +513,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n \"external-id\"\n]", + "raw": "[\n \"12044444_legalAddress\"\n]", "options": { "raw": { "language": "json" @@ -454,52 +541,185 @@ } }, "response": [] + }, + { + "name": "Legal Entity", + "request": { + "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\": \"Baden-Wuerttemberg\",\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\": \"Baden-Wuerttemberg 1\",\n \"deliveryServiceNumber\": \"1234\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\"\n },\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"bpn\": \"BPNL0000000001YN\"\n },\n \"externalId\": \"12044444\",\n \"bpn\": \"BPNL0000000001YN\"\n }\n]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{Gate-Host}}/api/catena/output/legal-entities", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "output", + "legal-entities" + ] + } + }, + "response": [] + }, + { + "name": "Site", + "request": { + "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 \"bpn\": \"BPNS000000000001\"\n },\n \"externalId\": \"12044444\",\n \"legalEntityExternalId\": \"12044444\",\n \"bpn\": \"BPNL0000000001YN\"\n }\n]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{Gate-Host}}/api/catena/output/sites", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "output", + "sites" + ] + } + }, + "response": [] + }, + { + "name": "Address", + "request": { + "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_legalAddress\",\n \"legalEntityExternalId\": \"12044444\",\n \"siteExternalId\": \"12044444_sites\",\n \"bpn\": \"BPNA000000000001\"\n }\n]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{Gate-Host}}/api/catena/output/addresses", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "output", + "addresses" + ] + } + }, + "response": [] } ] }, { - "name": "Determine Type", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"identifiers\": [\n {\n \"value\": \"DE216038746\",\n \"type\": \"EU_VAT_ID_DE\",\n \"issuingBody\": null,\n \"status\": null\n }\n ],\n \"names\": [\n {\n \"value\": \"eXXcellent solutions gmbh\",\n \"shortName\": null,\n \"type\": \"REGISTERED\",\n \"language\": \"de\"\n }\n ],\n \"legalForm\": null,\n \"address\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"de\"\n },\n \"careOf\": null,\n \"contexts\": [],\n \"country\": \"DE\",\n \"administrativeAreas\": [],\n \"postCodes\": [\n {\n \"value\": \"89075\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Ulm\",\n \"shortName\": null,\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Beim Alten Fritz 2\",\n \"name\": null,\n \"shortName\": null,\n \"number\": null,\n \"direction\": null,\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [],\n \"postalDeliveryPoints\": [],\n \"geographicCoordinates\": null,\n \"types\": [\n \"UNSPECIFIC\"\n ]\n }\n}", - "options": { - "raw": { - "language": "json" + "name": "Changelog", + "item": [ + { + "name": "Output Changelog", + "request": { + "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": "{{Gate-Host}}/api/catena/output/changelog/search?page=0&size=10", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "output", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0" + }, + { + "key": "size", + "value": "10" + } + ] } - } + }, + "response": [] }, - "url": { - "raw": "{{Gate-Host}}/api/catena/business-partners/type-match", - "host": [ - "{{Gate-Host}}" - ], - "path": [ - "api", - "catena", - "business-partners", - "type-match" - ] + { + "name": "Input Changelog", + "request": { + "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": "{{Gate-Host}}/api/catena/input/changelog/search?page=0&size=10", + "host": [ + "{{Gate-Host}}" + ], + "path": [ + "api", + "catena", + "input", + "changelog", + "search" + ], + "query": [ + { + "key": "page", + "value": "0" + }, + { + "key": "size", + "value": "10" + } + ] + } + }, + "response": [] } - }, - "response": [] + ] } ], "auth": { "type": "oauth2", "oauth2": [ - { - "key": "clientSecret", - "value": "{{Gate-Client-Secret}}", - "type": "string" - }, - { - "key": "clientId", - "value": "{{Gate-Client-ID}}", - "type": "string" - }, { "key": "accessTokenUrl", "value": "https://{{Keycloak-Host}}/auth/realms/CX-Central/protocol/openid-connect/token", @@ -511,13 +731,18 @@ "type": "string" }, { - "key": "challengeAlgorithm", - "value": "S256", + "key": "client_authentication", + "value": "body", "type": "string" }, { - "key": "redirect_uri", - "value": "https://catenax-dev003-app-onboarding.azurewebsites.net", + "key": "clientSecret", + "value": "{{Gate-Client-Secret}}", + "type": "string" + }, + { + "key": "clientId", + "value": "{{Gate-Client-ID}}", "type": "string" }, { @@ -526,18 +751,28 @@ "type": "string" }, { - "key": "authUrl", - "value": "https://catenaxdev003akssrv.germanywestcentral.cloudapp.azure.com/iamcentralidp/auth/realms/CX-Central/protocol/openid-connect/auth", - "type": "string" + "key": "refreshRequestParams", + "value": [], + "type": "any" }, { - "key": "addTokenTo", - "value": "header", + "key": "tokenRequestParams", + "value": [], + "type": "any" + }, + { + "key": "authRequestParams", + "value": [], + "type": "any" + }, + { + "key": "challengeAlgorithm", + "value": "S256", "type": "string" }, { - "key": "client_authentication", - "value": "body", + "key": "addTokenTo", + "value": "header", "type": "string" } ] diff --git a/docs/postman/BPDM Pool.postman_collection.json b/docs/postman/BPDM Pool.postman_collection.json index 18e21c32d..ec7500962 100644 --- a/docs/postman/BPDM Pool.postman_collection.json +++ b/docs/postman/BPDM Pool.postman_collection.json @@ -1,23 +1,51 @@ { "info": { - "_postman_id": "719b2373-ba52-4e10-b0a6-f5dc1dca9ce5", - "name": "BPDM Pool Copy", - "description": "API Documentation can be found at: https://{{Pool-Host}}/", + "_postman_id": "7c864024-7b7c-4bb6-aab8-0be237fbb80f", + "name": "BPDM Pool", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "1816771" + "_exporter_id": "26818013" }, "item": [ { - "name": "Legal Entity Controller", + "name": "Metadata Controller", "item": [ { - "name": "Create Legal Entities", + "name": "Legal Forms", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{Pool-Host}}/api/catena/legal-forms?page=0&size=10", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "legal-forms" + ], + "query": [ + { + "key": "page", + "value": "0" + }, + { + "key": "size", + "value": "10" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Legal Form", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\",\n \"status\": \"CUSTOM_ID_STATUS\"\n }\n ],\n \"names\": [\n {\n \"value\": \"Name of Company\",\n \"shortName\": \"NoC\",\n \"type\": \"ACRONYM\",\n \"language\": \"en\"\n }\n ],\n \"legalForm\": \"CUSTOM_LEGAL_FORM\",\n \"status\": {\n \"officialDenotation\": \"Active\",\n \"validFrom\": \"2020-12-16T05:54:48.942Z\",\n \"type\": \"ACTIVE\"\n },\n \"profileClassifications\": [\n {\n \"value\": \"Farming of cattle, dairy farming\",\n \"code\": \"01.21\",\n \"type\": \"NACE\"\n }\n ],\n \"bankAccounts\": [\n {\n \"currency\": \"EUR\",\n \"internationalBankAccountIdentifier\": \"11223445569\",\n \"internationalBankIdentifier\": \"TEST1234\",\n \"nationalBankAccountIdentifier\": \"004566676\",\n \"nationalBankIdentifier\": \"TEST223\"\n }\n ],\n \"legalAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"70546\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Stuttgart\",\n \"shortName\": \"S\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Stuttgarter Strasse 1\",\n \"name\": \"Stuttgarter Strasse\",\n \"shortName\": \"Stuttgarter Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Building A\",\n \"shortName\": \"A\",\n \"number\": \"A\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"On-site Mailbox\",\n \"type\": \"MAILBOX\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"HEADQUARTER\",\n \"REGISTERED\"\n ]\n },\n \"index\": \"0\"\n },\n {\n \"identifiers\": [\n {\n \"value\": \"987654321\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\",\n \"status\": \"CUSTOM_ID_STATUS\"\n }\n ],\n \"names\": [\n {\n \"value\": \"Other Test Company\",\n \"shortName\": \"OTC\",\n \"type\": \"REGISTERED\",\n \"language\": \"en\"\n }\n ],\n \"legalForm\": \"CUSTOM_LEGAL_FORM\",\n \"status\": {\n \"officialDenotation\": \"Dissolved\",\n \"validFrom\": \"2021-03-14T05:54:48.942Z\",\n \"type\": \"DISSOLVED\"\n },\n \"profileClassifications\": [\n {\n \"value\": \"Warehousing and Storage\",\n \"code\": \"49\",\n \"type\": \"NAICS\"\n }\n ],\n \"bankAccounts\": [\n {\n \"currency\": \"EUR\",\n \"internationalBankAccountIdentifier\": \"7654432212\",\n \"internationalBankIdentifier\": \"TEST1234\",\n \"nationalBankAccountIdentifier\": \"999847444\",\n \"nationalBankIdentifier\": \"TEST223\"\n }\n ],\n \"legalAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Bavaria\",\n \"shortName\": \"B\",\n \"fipsCode\": \"GM02\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"80331\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Munich\",\n \"shortName\": \"M\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Muenchener Strasse 1\",\n \"name\": \"Muenchener Strasse\",\n \"shortName\": \"Munchener Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Block 1\",\n \"shortName\": \"B1\",\n \"number\": \"1\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"On-site Mailbox\",\n \"type\": \"MAILBOX\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"HEADQUARTER\",\n \"REGISTERED\"\n ]\n },\n \"index\": \"1\"\n }\n]", + "raw": "{\n \"technicalKey\": \"CUSTOM_LEGAL_FORM_test1\",\n \"name\": \"Custom Legal Form for Testing 1\",\n \"abbreviation\": null\n}", "options": { "raw": { "language": "json" @@ -25,27 +53,60 @@ } }, "url": { - "raw": "{{Pool-Host}}/api/catena/legal-entities", + "raw": "{{Pool-Host}}/api/catena/legal-forms", "host": [ "{{Pool-Host}}" ], "path": [ "api", "catena", - "legal-entities" + "legal-forms" ] } }, "response": [] }, { - "name": "Update Legal Entities", + "name": "Identifier Types", "request": { - "method": "PUT", + "method": "GET", + "header": [], + "url": { + "raw": "{{Pool-Host}}/api/catena/identifier-types?page=0&size=100&lsaType=ADDRESS", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "identifier-types" + ], + "query": [ + { + "key": "page", + "value": "0" + }, + { + "key": "size", + "value": "100" + }, + { + "key": "lsaType", + "value": "ADDRESS" + } + ] + } + }, + "response": [] + }, + { + "name": "Create Identifier Type", + "request": { + "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\",\n \"status\": \"CUSTOM_ID_STATUS\"\n }\n ],\n \"names\": [\n {\n \"value\": \"Name of Company\",\n \"shortName\": \"NoC\",\n \"type\": \"ACRONYM\",\n \"language\": \"en\"\n }\n ],\n \"legalForm\": \"CUSTOM_LEGAL_FORM\",\n \"status\": {\n \"officialDenotation\": \"Active\",\n \"validFrom\": \"2020-12-16T05:54:48.942Z\",\n \"type\": \"ACTIVE\"\n },\n \"profileClassifications\": [\n {\n \"value\": \"Farming of cattle, dairy farming\",\n \"code\": \"01.21\",\n \"type\": \"NACE\"\n }\n ],\n \"bankAccounts\": [\n {\n \"currency\": \"EUR\",\n \"internationalBankAccountIdentifier\": \"11223445569\",\n \"internationalBankIdentifier\": \"TEST1234\",\n \"nationalBankAccountIdentifier\": \"004566676\",\n \"nationalBankIdentifier\": \"TEST223\"\n }\n ],\n \"legalAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"70546\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Stuttgart\",\n \"shortName\": \"S\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Stuttgarter Strasse 1\",\n \"name\": \"Stuttgarter Strasse\",\n \"shortName\": \"Stuttgarter Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Building A\",\n \"shortName\": \"A\",\n \"number\": \"A\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"On-site Mailbox\",\n \"type\": \"MAILBOX\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"HEADQUARTER\",\n \"REGISTERED\"\n ]\n },\n \"bpn\": \"BPNL000000000001\"\n },\n {\n \"identifiers\": [\n {\n \"value\": \"987654321\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\",\n \"status\": \"CUSTOM_ID_STATUS\"\n }\n ],\n \"names\": [\n {\n \"value\": \"Other Test Company\",\n \"shortName\": \"OTC\",\n \"type\": \"REGISTERED\",\n \"language\": \"en\"\n }\n ],\n \"legalForm\": \"CUSTOM_LEGAL_FORM\",\n \"status\": {\n \"officialDenotation\": \"Dissolved\",\n \"validFrom\": \"2021-03-14T05:54:48.942Z\",\n \"type\": \"DISSOLVED\"\n },\n \"profileClassifications\": [\n {\n \"value\": \"Warehousing and Storage\",\n \"code\": \"49\",\n \"type\": \"NAICS\"\n }\n ],\n \"bankAccounts\": [\n {\n \"currency\": \"EUR\",\n \"internationalBankAccountIdentifier\": \"7654432212\",\n \"internationalBankIdentifier\": \"TEST1234\",\n \"nationalBankAccountIdentifier\": \"999847444\",\n \"nationalBankIdentifier\": \"TEST223\"\n }\n ],\n \"legalAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Bavaria\",\n \"shortName\": \"B\",\n \"fipsCode\": \"GM02\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"80331\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Munich\",\n \"shortName\": \"M\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Muenchener Strasse 1\",\n \"name\": \"Muenchener Strasse\",\n \"shortName\": \"Munchener Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Block 1\",\n \"shortName\": \"B1\",\n \"number\": \"1\",\n \"type\": \"BUILDING\"\n }\n ],\n \"postalDeliveryPoints\": [\n {\n \"value\": \"On-site Mailbox\",\n \"type\": \"MAILBOX\"\n }\n ],\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"types\": [\n \"HEADQUARTER\",\n \"REGISTERED\"\n ]\n },\n \"bpn\": \"BPNL0000000001YN\"\n }\n]", + "raw": "{\n \"technicalKey\": \"CUSTOM_ID_ADD_TYPE\",\n \"lsaType\": \"ADDRESS\",\n \"name\": \"Custom Identifier Type of Address for Testing\",\n \"details\": [\n {\n \"country\": \"DE\",\n \"mandatory\": true\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -53,47 +114,52 @@ } }, "url": { - "raw": "{{Pool-Host}}/api/catena/legal-entities", + "raw": "{{Pool-Host}}/api/catena/identifier-types", "host": [ "{{Pool-Host}}" ], "path": [ "api", "catena", - "legal-entities" + "identifier-types" ] } }, "response": [] }, { - "name": "Legal Entity", + "name": "Feild Quality Rules", "request": { "method": "GET", "header": [], "url": { - "raw": "{{Pool-Host}}/api/catena/legal-entities/ID-VALUE?idType=EU_VAT_ID_DE", + "raw": "{{Pool-Host}}/api/catena/field-quality-rules/?country=DE", "host": [ "{{Pool-Host}}" ], "path": [ "api", "catena", - "legal-entities", - "ID-VALUE" + "field-quality-rules", + "" ], "query": [ { - "key": "idType", - "value": "EU_VAT_ID_DE" + "key": "country", + "value": "DE" } ] } }, "response": [] - }, + } + ] + }, + { + "name": "Legal Entity Controller", + "item": [ { - "name": "Search Legal Entities", + "name": "Legal Entities", "request": { "method": "GET", "header": [], @@ -109,7 +175,7 @@ ], "query": [ { - "key": "name", + "key": "legalName", "value": "company", "disabled": true }, @@ -177,13 +243,90 @@ "response": [] }, { - "name": "Filter Legal Entities", + "name": "Update Legal Entity", + "request": { + "method": "PUT", + "header": [], + "body": { + "mode": "raw", + "raw": "[\n {\n \"bpnl\": \"BPNL000000000001\",\n \"legalName\": \"Name of Company\",\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 \"legalAddress\": {\n \"name\": \"WESTERN_LATIN_STANDARD\",\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 \"name\": \"Stuttgarter Strasse\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\"\n },\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg\",\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\": \"Baden-Wuerttemberg 1\",\n \"deliveryServiceNumber\": \"1234\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\"\n }\n }\n }\n]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{Pool-Host}}/api/catena/legal-entities", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "legal-entities" + ] + } + }, + "response": [] + }, + { + "name": "Create Legal Entities", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "[\n {\n \"legalName\": \"Name of Company\",\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 \"legalAddress\": {\n \"name\": \"WESTERN_LATIN_STANDARD\",\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 \"name\": \"Stuttgarter Strasse\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\"\n },\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg\",\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\": \"Baden-Wuerttemberg 1\",\n \"deliveryServiceNumber\": \"1234\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\"\n }\n },\n \"index\": \"0\"\n }\n]", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{Pool-Host}}/api/catena/legal-entities", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "legal-entities" + ] + } + }, + "response": [] + }, + { + "name": "Confirm up to date", + "request": { + "method": "POST", + "header": [], + "url": { + "raw": "{{Pool-Host}}/api/catena/legal-entities/BPNL000000000001/confirm-up-to-date", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "legal-entities", + "BPNL000000000001", + "confirm-up-to-date" + ] + } + }, + "response": [] + }, + { + "name": "Search Legal Entities", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "[\n \"BPNL000000000001\"\n]", + "raw": "[\n \"BPNL000000000001\"\n]", "options": { "raw": { "language": "json" @@ -206,13 +349,13 @@ "response": [] }, { - "name": "Filter Legal Addresses", + "name": "Search Legal Addresses", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "[\n \"BPNL000000000001\"\n]", + "raw": "[\n \"BPNL000000000001\"\n]", "options": { "raw": { "language": "json" @@ -235,6 +378,32 @@ }, "response": [] }, + { + "name": "Legal Entity", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{Pool-Host}}/api/catena/legal-entities/123456789?idType=CUSTOM_ID_TYPE", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "legal-entities", + "123456789" + ], + "query": [ + { + "key": "idType", + "value": "CUSTOM_ID_TYPE" + } + ] + } + }, + "response": [] + }, { "name": "Legal Entity Sites", "request": { @@ -272,7 +441,7 @@ "method": "GET", "header": [], "url": { - "raw": "{{Pool-Host}}/api/catena/legal-entities/BPNL0000000001YN/addresses?page=0&size=10", + "raw": "{{Pool-Host}}/api/catena/legal-entities/BPNL000000000001/addresses?page=0&size=10", "host": [ "{{Pool-Host}}" ], @@ -280,7 +449,7 @@ "api", "catena", "legal-entities", - "BPNL0000000001YN", + "BPNL000000000001", "addresses" ], "query": [ @@ -309,7 +478,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"name\": \"Factory UT\",\n \"mainAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"70327\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Stuttgart\",\n \"shortName\": \"S\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Untertuerckheim Strasse 1\",\n \"name\": \"Untertuerckheim Strasse\",\n \"shortName\": \"Untertuerckheim Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Gate 1\",\n \"shortName\": \"G1\",\n \"number\": \"1\",\n \"type\": \"BUILDING\"\n }\n ],\n \"types\": [\n \"UNSPECIFIC\"\n ]\n },\n \"legalEntity\": \"BPNL000000000001\",\n \"index\": \"0\"\n },\n {\n \"name\": \"Factory Sindelfingen\",\n \"mainAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"71034\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Sindelfinden\",\n \"shortName\": \"BB\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Sindelfinger Strasse 1\",\n \"name\": \"Sindelfinger Strasse\",\n \"shortName\": \"Sindelfinger Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Building 8\",\n \"shortName\": \"G8\",\n \"number\": \"8\",\n \"type\": \"BUILDING\"\n }\n ],\n \"types\": [\n \"UNSPECIFIC\"\n ]\n },\n \"legalEntity\": \"BPNL000000000001\",\n \"index\": \"1\"\n }\n]", + "raw": "[\n {\n \"name\": \"Factory UT\",\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-06T08:18:05.777Z\",\n \"validTo\": \"2024-06-06T08:18:05.777Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"mainAddress\": {\n \"name\": \"WESTERN_LATIN_STANDARD\",\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-06T08:18:05.777Z\",\n \"validTo\": \"2024-06-06T08:18:05.777Z\",\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 \"name\": \"Untertuerckheim Strasse 1\",\n \"houseNumber\": \"1234\",\n \"milestone\": \"Untertuerckheim Strasse 1\",\n \"direction\": \"Untertuerckheim Strasse 1\"\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 },\n \"bpnlParent\": \"BPNL000000000001\",\n \"index\": \"1\"\n }\n]", "options": { "raw": { "language": "json" @@ -337,7 +506,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"name\": \"Factory UT\",\n \"mainAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"70327\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Stuttgart\",\n \"shortName\": \"S\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Untertuerckheim Strasse 1\",\n \"name\": \"Untertuerckheim Strasse\",\n \"shortName\": \"Untertuerckheim Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Gate 1\",\n \"shortName\": \"G1\",\n \"number\": \"1\",\n \"type\": \"BUILDING\"\n }\n ],\n \"types\": [\n \"UNSPECIFIC\"\n ]\n },\n \"bpn\": \"BPNS000000000001\"\n },\n {\n \"name\": \"Factory Sindelfingen\",\n \"mainAddress\": {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"71034\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Sindelfinden\",\n \"shortName\": \"BB\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Sindelfinger Strasse 1\",\n \"name\": \"Sindelfinger Strasse\",\n \"shortName\": \"Sindelfinger Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Building 8\",\n \"shortName\": \"G8\",\n \"number\": \"8\",\n \"type\": \"BUILDING\"\n }\n ],\n \"types\": [\n \"UNSPECIFIC\"\n ]\n },\n \"bpn\": \"BPNS0000000001YN\"\n }\n]", + "raw": "[\n {\n \"bpns\": \"BPNS000000000001\",\n \"name\": \"Factory UT\",\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-06T08:18:05.777Z\",\n \"validTo\": \"2024-06-06T08:18:05.777Z\",\n \"type\": \"ACTIVE\"\n }\n ],\n \"mainAddress\": {\n \"name\": \"WESTERN_LATIN_STANDARD\",\n \"states\": [\n {\n \"description\": \"Baden-Wuerttemberg\",\n \"validFrom\": \"2023-06-06T08:18:05.777Z\",\n \"validTo\": \"2024-06-06T08:18:05.777Z\",\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 \"name\": \"Untertuerckheim Strasse 1\",\n \"houseNumber\": \"1234\",\n \"milestone\": \"Untertuerckheim Strasse 1\",\n \"direction\": \"Untertuerckheim Strasse 1\"\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 }\n }\n]", "options": { "raw": { "language": "json" @@ -359,33 +528,13 @@ "response": [] }, { - "name": "Site", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/catena/sites/BPNS000000000001", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "sites", - "BPNS000000000001" - ] - } - }, - "response": [] - }, - { - "name": "Filter Sites", + "name": "Search Sites", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"sites\": [\n \"BPNS000000000001\"\n ]\n}", + "raw": "{\n \"legalEntities\": [\n \"BPNL000000000001\"\n ],\n \"sites\": [\n \"BPNS000000000001\"\n ]\n}", "options": { "raw": { "language": "json" @@ -418,7 +567,7 @@ "response": [] }, { - "name": "Filter Main Addresses", + "name": "Search Main Addresses", "request": { "method": "POST", "header": [], @@ -446,6 +595,26 @@ } }, "response": [] + }, + { + "name": "Site", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{Pool-Host}}/api/catena/sites/BPNS000000000001", + "host": [ + "{{Pool-Host}}" + ], + "path": [ + "api", + "catena", + "sites", + "BPNS000000000001" + ] + } + }, + "response": [] } ] }, @@ -459,7 +628,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"70327\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Stuttgart\",\n \"shortName\": \"S\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Tor Strasse 1\",\n \"name\": \"Tor Strasse\",\n \"shortName\": \"Tor Str.\",\n \"number\": \"1\",\n \"type\": \"STREET\"\n }\n ],\n \"premises\": [\n {\n \"value\": \"Gate 1\",\n \"shortName\": \"1\",\n \"number\": \"1\",\n \"type\": \"BUILDING\"\n }\n ],\n \"types\": [\n \"UNSPECIFIC\"\n ],\n \"parent\": \"BPNS000000000001\",\n \"index\": \"0\"\n },\n {\n \"version\": {\n \"characterSet\": \"WESTERN_LATIN_STANDARD\",\n \"language\": \"en\"\n },\n \"country\": \"DE\",\n \"administrativeAreas\": [\n {\n \"value\": \"Baden-Wuerttemberg\",\n \"shortName\": \"BW\",\n \"fipsCode\": \"GM01\",\n \"type\": \"REGION\"\n }\n ],\n \"postCodes\": [\n {\n \"value\": \"80331\",\n \"type\": \"REGULAR\"\n }\n ],\n \"localities\": [\n {\n \"value\": \"Bavaria\",\n \"shortName\": \"B\",\n \"type\": \"CITY\"\n }\n ],\n \"thoroughfares\": [\n {\n \"value\": \"Standort Strasse 10\",\n \"name\": \"Standort Strasse\",\n \"shortName\": \"Standort Str.\",\n \"number\": \"10\",\n \"type\": \"STREET\"\n }\n ],\n \"types\": [\n \"UNSPECIFIC\"\n ],\n \"parent\": \"BPNL0000000001YN\",\n \"index\": \"1\"\n }\n]", + "raw": "[\n {\n \"name\": \"WESTERN_LATIN_STANDARD\",\n \"states\": [\n {\n \"description\": \"WESTERN_LATIN_STANDARD\",\n \"validFrom\": \"2023-06-06T10:02:00.355Z\",\n \"validTo\": \"2024-06-06T10:02:00.355Z\",\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 \"name\": \"Stuttgarter Strasse\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\"\n },\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg\",\n \"district\": \"Stuttgart\",\n \"companyPostalCode\": \"GM01\",\n \"industrialZone\": \"HEADQUARTER\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": null\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\": \"Baden-Wuerttemberg test1\",\n \"deliveryServiceNumber\": \"test\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test1\"\n },\n \"bpnParent\": \"BPNL000000000001\",\n \"index\": \"0\"\n }\n]", "options": { "raw": { "language": "json" @@ -509,32 +678,12 @@ "response": [] }, { - "name": "Address Partner", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/catena/addresses/BPNA000000000001", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "addresses", - "BPNA000000000001" - ] - } - }, - "response": [] - }, - { - "name": "Search Address Partners", + "name": "Address Partners", "request": { "method": "GET", "header": [], "url": { - "raw": "{{Pool-Host}}/api/catena/addresses?administrativeArea=baden&countryCode=DE&page=0&size=10", + "raw": "{{Pool-Host}}/api/catena/addresses?page=0&size=10", "host": [ "{{Pool-Host}}" ], @@ -546,7 +695,8 @@ "query": [ { "key": "administrativeArea", - "value": "baden" + "value": null, + "disabled": true }, { "key": "postCode", @@ -575,7 +725,8 @@ }, { "key": "countryCode", - "value": "DE" + "value": null, + "disabled": true }, { "key": "page", @@ -591,13 +742,13 @@ "response": [] }, { - "name": "Filter Address Partners", + "name": "Search Address Partners", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"addresses\": [\n \"BPNA000000000001\"\n ]\n}", + "raw": "{\n \"legalEntities\": [\n \"BPNL000000000001\"\n ],\n \"sites\": [\n \"BPNS000000000001\"\n ],\n \"addresses\": [\n \"BPNA000000000001\"\n ]\n}", "options": { "raw": { "language": "json" @@ -628,64 +779,22 @@ } }, "response": [] - } - ] - }, - { - "name": "Opensearch Controller", - "item": [ + }, { - "name": "Update Opensearch Index", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/opensearch/business-partner", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "opensearch", - "business-partner" - ] - } - }, - "response": [] - }, - { - "name": "Check Opensearch Last Update Status", + "name": "Address Partner", "request": { "method": "GET", "header": [], "url": { - "raw": "{{Pool-Host}}/api/opensearch/business-partner", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "opensearch", - "business-partner" - ] - } - }, - "response": [] - }, - { - "name": "Empty Opensearch Index", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/opensearch/business-partner", + "raw": "{{Pool-Host}}/api/catena/addresses/BPNA000000000001", "host": [ "{{Pool-Host}}" ], "path": [ "api", - "opensearch", - "business-partner" + "catena", + "addresses", + "BPNA000000000001" ] } }, @@ -694,213 +803,78 @@ ] }, { - "name": "Metadata Controller", + "name": "Opensearch Controller", "item": [ { - "name": "Create Identifier Type", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"technicalKey\": \"CUSTOM_ID_TYPE\",\n \"name\": \"Custom Identifier Type for Testing\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{Pool-Host}}/api/catena/identifier-types", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "identifier-types" - ] - } - }, - "response": [] - }, - { - "name": "Identifier Types", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/catena/identifier-types?page=0&size=10", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "identifier-types" - ], - "query": [ - { - "key": "page", - "value": "0" - }, - { - "key": "size", - "value": "10" - } - ] - } - }, - "response": [] - }, - { - "name": "Identifier Type Rules", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/catena/identifier-types/for-country?country=DE", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "identifier-types", - "for-country" - ], - "query": [ - { - "key": "country", - "value": "DE" - } - ] - } - }, - "response": [] - }, - { - "name": "Create Issuing Body", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"technicalKey\": \"CUSTOM_ISSUE_BODY\",\n \"name\": \"Custom Issuing Body for Testing\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{Pool-Host}}/api/catena/issuing-bodies", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "issuing-bodies" - ] - } - }, - "response": [] - }, - { - "name": "Issuing Bodies", + "name": "Check Opensearch Last Update Status", "request": { "method": "GET", "header": [], "url": { - "raw": "{{Pool-Host}}/api/catena/issuing-bodies?page=0&size=10", + "raw": "{{Pool-Host}}/api/opensearch/business-partner", "host": [ "{{Pool-Host}}" ], "path": [ "api", - "catena", - "issuing-bodies" - ], - "query": [ - { - "key": "page", - "value": "0" - }, - { - "key": "size", - "value": "10" - } + "opensearch", + "business-partner" ] } }, "response": [] }, { - "name": "Create Identifier Status", + "name": "Update Opensearch Index", "request": { "method": "POST", "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"technicalKey\": \"CUSTOM_ID_STATUS\",\n \"name\": \"Custom Identifier Status for Testing\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, "url": { - "raw": "{{Pool-Host}}/api/catena/identifier-status", + "raw": "{{Pool-Host}}/api/opensearch/business-partner", "host": [ "{{Pool-Host}}" ], "path": [ "api", - "catena", - "identifier-status" + "opensearch", + "business-partner" ] } }, "response": [] }, { - "name": "Identifier Stati", + "name": "Empty Opensearch Index", "request": { - "method": "GET", + "method": "DELETE", "header": [], "url": { - "raw": "{{Pool-Host}}/api/catena/identifier-status?page=0&size=10", + "raw": "{{Pool-Host}}/api/opensearch/business-partner", "host": [ "{{Pool-Host}}" ], "path": [ "api", - "catena", - "identifier-status" - ], - "query": [ - { - "key": "page", - "value": "0" - }, - { - "key": "size", - "value": "10" - } + "opensearch", + "business-partner" ] } }, "response": [] - }, + } + ] + }, + { + "name": "BPN Controller", + "item": [ { - "name": "Create Legal Form", + "name": "Search BPNs", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"technicalKey\": \"CUSTOM_LEGAL_FORM\",\n \"name\": \"Custom Legal Form for Testing\",\n \"mainAbbreviation\": \"CLF_0001\",\n \"language\": \"en\",\n \"category\": [\n {\n \"name\": \"holding company\"\n }\n ]\n}", + "raw": "{\n \"lsaType\": \"LEGAL_ENTITY\",\n \"idType\": \"CUSTOM_ID_TYPE\",\n \"idValues\": [\n \"123456789\"\n ]\n}", "options": { "raw": { "language": "json" @@ -908,43 +882,15 @@ } }, "url": { - "raw": "{{Pool-Host}}/api/catena/legal-forms", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "legal-forms" - ] - } - }, - "response": [] - }, - { - "name": "Legal Forms", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/catena/legal-forms?page=0&size=10", + "raw": "{{Pool-Host}}/api/catena/bpn/search", "host": [ "{{Pool-Host}}" ], "path": [ "api", "catena", - "legal-forms" - ], - "query": [ - { - "key": "page", - "value": "0" - }, - { - "key": "size", - "value": "10" - } + "bpn", + "search" ] } }, @@ -953,58 +899,16 @@ ] }, { - "name": "SaaS Controller", + "name": "Changelog Controller", "item": [ { - "name": "Sharing Process Import Status", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://{{Pool-Host}}/api/cdq/business-partner/sync", - "protocol": "https", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "cdq", - "business-partner", - "sync" - ] - } - }, - "response": [] - }, - { - "name": "Start Sharing Process Data Import", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "https://{{Pool-Host}}/api/cdq/business-partner/sync", - "protocol": "https", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "cdq", - "business-partner", - "sync" - ] - } - }, - "response": [] - }, - { - "name": "Import Mapping Filter", + "name": "Business Partner Changelog", "request": { "method": "POST", "header": [], "body": { "mode": "raw", - "raw": "{\n \"importIdentifiers\": [\n \"string\"\n ]\n}", + "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" @@ -1012,63 +916,7 @@ } }, "url": { - "raw": "https://{{Pool-Host}}/api/saas/identifier-mappings/filter", - "protocol": "https", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "saas", - "identifier-mappings", - "filter" - ] - } - }, - "response": [] - }, - { - "name": "Identifier Mappings", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "https://{{Pool-Host}}/api/saas/identifier-mappings?page=0&size=10", - "protocol": "https", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "saas", - "identifier-mappings" - ], - "query": [ - { - "key": "page", - "value": "0" - }, - { - "key": "size", - "value": "10" - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Business Partner Controller", - "item": [ - { - "name": "Business Partner Changelog", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{Pool-Host}}/api/catena/business-partners/changelog?page=0&size=10&modifiedAfter=2023-03-21T09:00:25.298594Z&bpn=BPNL0000000001YN&bpn=BPNL000000000001", + "raw": "{{Pool-Host}}/api/catena/business-partners/changelog/search?page=0&size=10", "host": [ "{{Pool-Host}}" ], @@ -1076,7 +924,8 @@ "api", "catena", "business-partners", - "changelog" + "changelog", + "search" ], "query": [ { @@ -1086,53 +935,7 @@ { "key": "size", "value": "10" - }, - { - "key": "modifiedAfter", - "value": "2023-03-21T09:00:25.298594Z" - }, - { - "key": "bpn", - "value": "BPNL0000000001YN" - }, - { - "key": "bpn", - "value": "BPNL000000000001" - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "BPN Controller", - "item": [ - { - "name": "Search BPNs", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"idType\": \"EU_VAT_ID_DE\",\n \"idValues\": [\n \"VAT_ID_VALUE\"\n ]\n}", - "options": { - "raw": { - "language": "json" } - } - }, - "url": { - "raw": "{{Pool-Host}}/api/catena/bpn/search", - "host": [ - "{{Pool-Host}}" - ], - "path": [ - "api", - "catena", - "bpn", - "search" ] } }, @@ -1145,8 +948,8 @@ "type": "oauth2", "oauth2": [ { - "key": "accessTokenUrl", - "value": "{{Keycloak-Host}}/auth/realms/CX-Central/protocol/openid-connect/token", + "key": "client_authentication", + "value": "body", "type": "string" }, { @@ -1159,39 +962,44 @@ "value": "{{Pool-Client-ID}}", "type": "string" }, + { + "key": "accessTokenUrl", + "value": "https://{{Keycloak-Host}}/auth/realms/CX-Central/protocol/openid-connect/token", + "type": "string" + }, { "key": "tokenName", "value": "BPDM Pool Token {{Environment}}", "type": "string" }, { - "key": "challengeAlgorithm", - "value": "S256", - "type": "string" + "key": "refreshRequestParams", + "value": [], + "type": "any" }, { - "key": "redirect_uri", - "value": "https://catenax-dev003-app-onboarding.azurewebsites.net", - "type": "string" + "key": "tokenRequestParams", + "value": [], + "type": "any" }, { - "key": "grant_type", - "value": "client_credentials", - "type": "string" + "key": "authRequestParams", + "value": [], + "type": "any" }, { - "key": "authUrl", - "value": "https://catenaxdev003akssrv.germanywestcentral.cloudapp.azure.com/iamcentralidp/auth/realms/CX-Central/protocol/openid-connect/auth", + "key": "challengeAlgorithm", + "value": "S256", "type": "string" }, { - "key": "addTokenTo", - "value": "header", + "key": "grant_type", + "value": "client_credentials", "type": "string" }, { - "key": "client_authentication", - "value": "body", + "key": "addTokenTo", + "value": "header", "type": "string" } ] diff --git a/docs/postman/Local.postman_environment.json b/docs/postman/Local.postman_environment.json index 07410e524..4a2e72cb4 100644 --- a/docs/postman/Local.postman_environment.json +++ b/docs/postman/Local.postman_environment.json @@ -1,5 +1,5 @@ { - "id": "a1dfc379-77c6-4831-bc9c-862759f36f9a", + "id": "6c6dd52d-bf34-496d-9d33-57802fa339d0", "name": "Local", "values": [ { @@ -49,9 +49,27 @@ "value": "", "type": "secret", "enabled": true + }, + { + "key": "Bridge-Host", + "value": "http://localhost:8083", + "type": "default", + "enabled": true + }, + { + "key": "Bridge-Client-ID", + "value": "bridge-client", + "type": "default", + "enabled": true + }, + { + "key": "Bridge-Client-Secret", + "value": "", + "type": "secret", + "enabled": true } ], "_postman_variable_scope": "environment", - "_postman_exported_at": "2023-03-24T14:12:35.754Z", - "_postman_exported_using": "Postman/10.11.2" + "_postman_exported_at": "2023-06-15T09:50:00.606Z", + "_postman_exported_using": "Postman/10.14.2" } \ No newline at end of file