diff --git a/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerGateDto.kt b/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerGateDto.kt index 714b20c8a..54f7116d1 100644 --- a/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerGateDto.kt +++ b/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/model/IBaseBusinessPartnerGateDto.kt @@ -28,6 +28,6 @@ interface IBaseBusinessPartnerGateDto : IBaseBusinessPartnerDto { @get:Schema(description = CommonDescription.externalId) val externalId: String - @get:Schema(name = "isOwner", description = "True if the sharing member declares itself as the owner of the business partner.") + @get:Schema(description = "True if the sharing member declares itself as the owner of the business partner.") val isOwnCompanyData: Boolean } diff --git a/docs/postman/BPDM Gate.postman_collection.json b/docs/postman/BPDM Gate.postman_collection.json index df57a4118..89280445e 100644 --- a/docs/postman/BPDM Gate.postman_collection.json +++ b/docs/postman/BPDM Gate.postman_collection.json @@ -439,7 +439,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"externalId\": \"12044444\",\n \"nameParts\": [\n \"Name of Company\"\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\": \"LegalAndSiteMainAddress\",\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]", + "raw": "[\n {\n \"externalId\": \"12044444\",\n \"nameParts\": [\n \"Name of Company\"\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\": \"LegalAndSiteMainAddress\",\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 \"isOwnCompanyData\": true\n }\n]", "options": { "raw": { "language": "json"