Delete batches of Business Partners by ID or a combination of DataSource and External ID. Maximum of 1000 Business Partners are allowed per batch. In case only a data source is provided in the request, all Business Partners related to this data source will be deleted, but the data source itself will not be deleted.
cmd
OK
Created
Unauthorized
Forbidden
Not Found
{- "dataSource": "YOUR_DATASOURCE_ID",
- "businessPartners": [
- {
- "externalId": "BP_EXTERNAL_ID"
}
], - "featuresOn": [
- "DELETE_BY_EXTERNAL_ID"
]
}
{- "numberOfDeletes": "50",
- "numberOfFailures": "0",
- "failures": [
- {
- "id": "63e635235c06b7396330fe40",
- "dataSource": "648824a691d8d2503d65103e",
- "externalId": "The ID managed in the customer's SAP systems.",
- "message": "This record could not be stored due to timeout."
}
]
}
Fetch a Business Partner from this storage.
OK
Unauthorized
Forbidden
{- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "648824a691d8d2503d65103e"
}
{- "businessPartner": {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": "Production hall 7, Storage field 8."
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": "Sankt Gallen",
- "shortName": "SG",
- "isoCode": "CH-SG",
- "type": {
- "name": "COUNTY",
- "technicalKey": "COUNTY"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postCode": {
- "value": "9000",
- "type": {
- "name": "Regular",
- "technicalKey": "REGULAR"
}
}, - "localities": [
- {
- "type": {
- "name": "City",
- "technicalKey": "CITY"
}, - "shortName": "St. Gallen",
- "value": "Sankt Gallen",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "thoroughfares": [
- {
- "type": {
- "name": "Industrial zone",
- "technicalKey": "INDUSTRIAL_ZONE"
}, - "shortName": "Lukasstr. 4",
- "number": "4",
- "direction": "221-bis Baker Street, North",
- "value": "Lukasstraße 4",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": "Building",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}, - "status": "NOT_FOUND",
- "message": "Business Partner has been fetched successfully."
}
Read Business Partners from this storage.
OK
{- "startAfter": "5712566172571652",
- "limit": "100",
- "total": "67",
- "values": [
- {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": "Production hall 7, Storage field 8."
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": "Sankt Gallen",
- "shortName": "SG",
- "isoCode": "CH-SG",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "language": {
- "name": null,
- "technicalKey": null
}
}
], - "postCode": {
- "value": "9000",
- "type": {
- "name": "Regular",
- "technicalKey": "REGULAR"
}
}, - "localities": [
- {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "shortName": "St. Gallen",
- "value": "Sankt Gallen",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "thoroughfares": [
- {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "shortName": "Lukasstr. 4",
- "number": "4",
- "direction": "221-bis Baker Street, North",
- "value": "Lukasstraße 4",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": "Building",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}
]
}
Example Response:
{
"values": [
{
"businessPartner": {
"id": "123456",
"externalId": "EXTID-86",
...,
"record": "{<JSON>}"
},
"changeSet": [
{
"modifiedAt": "2007-08-31T16:47",
"propertyChanges": [
{
"newContent": "AAB",
"previousContent": "XYZ",
"changeType": "MODIFIED",
"changeClassification": "MAJOR",
"provenance": {
"name": "Supplier Gateway",
"technicalKey": "SGW"
},
"property": {
"name": "Minority Indicator Value",
"contentSelector": "$.partnerProfile.minorityIndicator.value",
"technicalKey": "MINORITY_INDICATOR_VALUE"
"parentConcept": {
"name": "Minority Indicator",
"technicalKey": "MINORITY_INDICATOR"
}
}
}
]
}
]
}
]
}
In typed concepts, like Name, Identifier or Premise, type.technicalKey and any non-empty property are required to be filled in order to monitor updates.
The following limits for updates calculated per concepts is applied:
$.addresses.administrativeAreas
: up to 5 sub concept levels supported$.addresses.localities
: up to 5 sub concept levels supported$.addresses.postCodes
: up to 3 sub concepts supported$.addresses.postalDeliveryPoints
: up to 3 sub concepts supported$.addresses.thoroughfares
: up to 3 sub concepts supported$.addresses.premises
: up to 6 sub concepts supportedOK
{- "limit": "100",
- "total": "67",
- "startAfter": "5712566172571652",
- "nextStartAfter": "5712566172571652",
- "values": [
- {
- "externalBusinessPartnerId": "The ID managed in the customer's SAP systems.",
- "changeSets": [
- {
- "modifiedAt": "2024-11-21T16:00:54Z",
- "propertyChanges": [
- {
- "externalIds": [
- null
], - "property": {
- "parentConcept": null,
- "name": null,
- "technicalKey": null,
- "contentSelector": null
}, - "newContent": "AAB",
- "previousContent": "AAB",
- "provenance": {
- "name": null,
- "technicalKey": null
}, - "changeType": "MODIFIED",
- "changeClassification": "MAJOR"
}
]
}
], - "businessPartner": {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": null
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": null,
- "shortName": null,
- "isoCode": null,
- "type": null,
- "language": null
}
], - "postCode": {
- "value": "9000",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}, - "localities": [
- {
- "type": null,
- "shortName": null,
- "value": null,
- "language": null
}
], - "thoroughfares": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "direction": null,
- "value": null,
- "language": null
}
], - "premises": [
- {
- "value": null,
- "shortName": null,
- "number": null,
- "type": null,
- "language": null
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": null,
- "technicalKey": null
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": null,
- "url": null,
- "technicalKey": null,
- "cdqId": null
}, - "language": {
- "name": null,
- "technicalKey": null
}
}, - "types": [
- {
- "name": null,
- "url": null,
- "technicalKey": null
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}
}
]
}
Lookup a Business Partner in this storage.
cmd
required | object An organization which has some degree of involvement with another organization's business dealings. Typically, a company's business partner is another company in the role of a customer, a supplier, a vendor, or a service provider. In the CDL context, the business partner is the core managed entity. A business partner is globally uniquely identifiable by a CDL ID, and all managed information such as addresses, documents, and hierarchies is linked to a business partner. |
dataSources | Array of strings (BusinessPartnerStorageDataSourceId) List of Data Sources. Example: ["648824a691d8d2503d65103e"] |
matchingThreshold | number <double> (DataMatchingThreshold) [ 0 .. 1 ] Default: 0 The threshold for the data matching. Example: "0.5" |
page | integer (Page) >= 0 Default: 0 Current page number. Example: "1" |
pageSize | integer (PageSize) [ 1 .. 1000 ] Default: 10 Number of items per page. Example: "100" |
OK
Unauthorized
Forbidden
Not Found
{- "matchingThreshold": "0.5",
- "pageSize": "100",
- "page": "1",
- "dataSources": [
- "648824a691d8d2503d65103e"
], - "businessPartner": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "value": "Administrative Area"
}
], - "identifiers": [
- {
- "value": "CHE-218.608.886 HR/MWST",
- "type": {
- "technicalKey": "ABN_AU"
}
}
], - "legalForm": {
- "value": "Administrative Area"
}, - "address": {
- "thoroughfares": [
- {
- "value": "Lukasstraße 4",
- "number": "4"
}
], - "localities": [
- {
- "value": "Administrative Area"
}
], - "administrativeAreas": {
- "value": "Administrative Area"
}, - "postCode": {
- "value": "Administrative Area"
}, - "country": {
- "value": "Administrative Area"
}
}
}
}
{- "pageSize": "100",
- "totals": "67",
- "page": "1",
- "values": [
- {
- "businessPartner": {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": null
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": null,
- "shortName": null,
- "isoCode": null,
- "type": null,
- "language": null
}
], - "postCode": {
- "value": "9000",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}, - "localities": [
- {
- "type": null,
- "shortName": null,
- "value": null,
- "language": null
}
], - "thoroughfares": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "direction": null,
- "value": null,
- "language": null
}
], - "premises": [
- {
- "value": null,
- "shortName": null,
- "number": null,
- "type": null,
- "language": null
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": null,
- "technicalKey": null
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": null,
- "url": null,
- "technicalKey": null,
- "cdqId": null
}, - "language": {
- "name": null,
- "technicalKey": null
}
}, - "types": [
- {
- "name": null,
- "url": null,
- "technicalKey": null
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}, - "matchingProfile": {
- "matchingScores": {
- "overall": {
- "classification": {
- "technicalKey": "HIGH",
- "name": "My Matching Configuration"
}, - "value": "0.9",
- "explanation": "BP: [overall: [IDENTIFIER: 0.55; overall: 0.55;]] A: [overall: [COUNTRY_SHORTNAME: 0.5; overall: 0.5;]]"
}, - "businessPartner": {
- "classification": {
- "technicalKey": "HIGH",
- "name": "My Matching Configuration"
}, - "value": "0.9",
- "explanation": "BP: [overall: [IDENTIFIER: 0.55; overall: 0.55;]] A: [overall: [COUNTRY_SHORTNAME: 0.5; overall: 0.5;]]"
}, - "address": {
- "classification": {
- "technicalKey": "HIGH",
- "name": "My Matching Configuration"
}, - "value": "0.9",
- "explanation": "BP: [overall: [IDENTIFIER: 0.55; overall: 0.55;]] A: [overall: [COUNTRY_SHORTNAME: 0.5; overall: 0.5;]]"
}
}
}
}
], - "debugInfo": {
- "features": [
- {
- "feature": "TRANSFORM_RECORD",
- "active": "true"
}
], - "request": {
- "matchingThreshold": "0.5",
- "pageSize": "100",
- "page": "1",
- "dataSources": [
- "648824a691d8d2503d65103e"
], - "businessPartner": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "value": "Administrative Area"
}
], - "identifiers": [
- {
- "value": "CHE-218.608.886 HR/MWST",
- "type": {
- "technicalKey": "ABN_AU"
}
}
], - "legalForm": {
- "value": "Administrative Area"
}, - "address": {
- "thoroughfares": [
- {
- "value": "Lukasstraße 4",
- "number": "4"
}
], - "localities": [
- {
- "value": "Administrative Area"
}
], - "administrativeAreas": {
- "value": "Administrative Area"
}, - "postCode": {
- "value": "Administrative Area"
}, - "country": {
- "value": "Administrative Area"
}
}
}
}, - "curatedRequest": {
- "matchingThreshold": "0.5",
- "pageSize": "100",
- "page": "1",
- "dataSources": [
- "648824a691d8d2503d65103e"
], - "businessPartner": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "value": "Administrative Area"
}
], - "identifiers": [
- {
- "value": "CHE-218.608.886 HR/MWST",
- "type": {
- "technicalKey": "ABN_AU"
}
}
], - "legalForm": {
- "value": "Administrative Area"
}, - "address": {
- "thoroughfares": [
- {
- "value": "Lukasstraße 4",
- "number": "4"
}
], - "localities": [
- {
- "value": "Administrative Area"
}
], - "administrativeAreas": {
- "value": "Administrative Area"
}, - "postCode": {
- "value": "Administrative Area"
}, - "country": {
- "value": "Administrative Area"
}
}
}
}
}
}
Poll endpoint for a job created in POST toggleUpdateMonitoringJobs
.
OK
{- "job": {
- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "createdBy": "76248934691294444",
- "createdAt": "2024-11-21T16:00:54Z",
- "modifiedAt": "2024-11-21T16:00:54Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "enable": "true",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "countryShortName": "CH"
}, - "status": "OK"
}
Read a Business Partner from this storage.
OK
{- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": "Production hall 7, Storage field 8."
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": "Sankt Gallen",
- "shortName": "SG",
- "isoCode": "CH-SG",
- "type": {
- "name": "COUNTY",
- "technicalKey": "COUNTY"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postCode": {
- "value": "9000",
- "type": {
- "name": "Regular",
- "technicalKey": "REGULAR"
}
}, - "localities": [
- {
- "type": {
- "name": "City",
- "technicalKey": "CITY"
}, - "shortName": "St. Gallen",
- "value": "Sankt Gallen",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "thoroughfares": [
- {
- "type": {
- "name": "Industrial zone",
- "technicalKey": "INDUSTRIAL_ZONE"
}, - "shortName": "Lukasstr. 4",
- "number": "4",
- "direction": "221-bis Baker Street, North",
- "value": "Lukasstraße 4",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": "Building",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}
To toggle update monitoring on multiple BusinessPartners, the permission can be changed in two ways:
After the job is finished, the following actions are taken for Business Partners which match the dataSourceId and countryShortName criteria:
For toggling via a list of Business Partners, identified by their ID, please go to Toggle Update Monitoring of Business Partners.
countryShortName | string (CountryShortName) Country code (ISO 3166-1 alpha-2). Example: "CH" |
dataSourceId required | string (BusinessPartnerStorageDataSourceId) Unique identifier for a Data Source of the Storage. Example: "648824a691d8d2503d65103e" |
description | string (JobDescription) Detailed description of a Job. Example: "I started this job to improve quality of our data." |
enable required | boolean (ToggleUpdateMonitoringRequestEnable) Parameter to describe if the Business Partners should be activated for update monitoring (true) or deactivated (false) for non-commercial reference data sources. Example: "true" |
name | string (JobName) Name of a Job. Example: "Process vendor data." |
storageId required | string (BusinessPartnerStorageId) Unique identifier of the Storage. Example: "72d6900fce6b326088f5d9d91049e3e6" |
OK
The sent request is malformed.
{- "enable": "true",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "dataSourceId": "648824a691d8d2503d65103e",
- "countryShortName": "CH"
}
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "createdBy": "76248934691294444",
- "createdAt": "2024-11-21T16:00:54Z",
- "modifiedAt": "2024-11-21T16:00:54Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "enable": "true",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "countryShortName": "CH"
}
To toggle update monitoring on multiple BusinessPartners, the permission can be changed via a list of Business Partners, identified by their ID.
After the job is finished, the following actions are taken for Business Partners which match the businessPartnerIds criteria:
For toggling a complete Data Source or for a certain Country of a Data Source, please go to Start Toggle Update Monitoring Job.
businessPartnerIds required | Array of strings (BusinessPartnerId) [ 1 .. 1000 ] items List of Business Partner IDs to identify all those Business Partners that should be activated/deactivated. Example: ["63e635235c06b7396330fe40"] |
enable required | boolean (ToggleUpdateMonitoringRequestEnable) Parameter to describe if the Business Partners should be activated for update monitoring (true) or deactivated (false) for non-commercial reference data sources. Example: "true" |
OK
{- "enable": "true",
- "businessPartnerIds": [
- "63e635235c06b7396330fe40"
]
}
To un-/disclose multiple BusinessPartners, the disclosure can be changed in three ways:
Any other combination may result in a Bad Request.
For more details, you can read about Sharing Scopes.
businessPartnerIds | Array of strings (BusinessPartnerId) non-empty List of BusinessPartner IDs to identify all those BusinessPartners that should be un-/disclose. Example: ["63e635235c06b7396330fe40"] |
countryCode | string Deprecated A country code (ISO 3166-2), to be used in combination with a DataSource ID to un-/disclose all matching BusinessPartners. Example: "DE" |
dataSourceId | string Deprecated A DataSource ID for which all related BusinessPartners should be un-/disclose. Example: "648824a691d8d2503d65103e" |
disclosed required | boolean Parameter to describe if the BusinessPartners should be disclosed (true) or undisclosed (false). Example: "true" |
OK
{- "disclosed": "true",
- "dataSourceId": "648824a691d8d2503d65103e",
- "countryCode": "DE",
- "businessPartnerIds": [
- "63e635235c06b7396330fe40"
]
}
Upsert Business Partners in a Business Partner storage in batches. Maximum of 1000 Business Partners are allowed per batch.
If no data source (via field: dataSource
) is provided and the storage has only one, then this data source will be used/set. Other options are to provide an
existing data source in the request, which will then be taken for all the Business Partner or to provide a data source for each Business Partner
individually.
In the following cases an API error will be thrown:
To start upserting Business Partners into a storage, use the following request.
PUT https://api.corporate-data-league.ch/data-exchange/rest/v3/storages/{YOUR STORAGE ID}/businesspartners
{
"dataSource": "{YOUR DATA SOURCE}",
"featuresOn": ["UPSERT_BY_EXTERNAL_ID"],
"businessPartners": [
{
"externalId": "123",
"record": "{\"MyId\":\"123\", \"City\":\"St. Gallen\"}",
"names": [
{
"value": "CDQ AG",
"type": {
"name": "Local",
"technicalKey": "LOCAL"
}
}
],
"addresses": [
{
"thoroughfares": [{
"value": "Lukasstrasse 4"
}],
"postCode": {
"value": "9008"
},
"localities": [{
"value": "St. Gallen"
}],
"country": {
"shortName": "CH"
}
}]
}]
}'
The response is shown below.
{
"numberOfInserts": "1",
"numberOfUpdates": "0",
"numberOfFailed": "0",
}
If there is no name typed LOCAL in businessPartner.names and exists any name with empty type or not filled type.technicalKey, it becomes name of type LOCAL.
Warn: in order to support multiple data sources, include dataSource into the request, either in $.dataSource or $.businessPartners[*].dataSource. Otherwise, multiple data sources with no selection of data source will lead to "No DataSource was provided for the given Business Partners and the storage has more than one attached to it." exception.
Limits
Business Partner and Address fields have defined array size limits
Path | Max array size |
---|---|
$.businessPartners[*].names | 20 |
$.businessPartners[*].identifiers | 20 |
$.businessPartners[*].categories | 20 |
$.businessPartners[*].addresses | 20 |
$.businessPartners[].addresses[].contexts | 100 |
$.businessPartners[].addresses[].administrativeAreas | 20 |
$.businessPartners[].addresses[].localities | 20 |
$.businessPartners[].addresses[].thoroughfares | 20 |
$.businessPartners[].addresses[].premises | 20 |
$.businessPartners[].addresses[].types | 20 |
Parameters for Business Partners Upsert.
required | Array of objects (BusinessPartner) [ 1 .. 1000 ] items List of Business Partners. | ||||||||||||
dataSource | string (BusinessPartnerStorageDataSourceId) Unique identifier for a Data Source of the Storage. Example: "648824a691d8d2503d65103e" | ||||||||||||
featuresOff | Array of strings (UpsertFeature) Features to be deactivated during the upsert.
Example: ["UPSERT_BY_EXTERNAL_ID"] | ||||||||||||
featuresOn | Array of strings (UpsertFeature) Features to be activated during the upsert.
Example: ["UPSERT_BY_EXTERNAL_ID"] |
OK
{- "dataSource": "648824a691d8d2503d65103e",
- "businessPartners": [
- {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-11-21T16:00:54Z",
- "lastModifiedAt": "2024-11-21T16:00:54Z",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "externalId": "The ID managed in the customer's SAP systems.",
- "disclosed": "false",
- "names": [
- {
- "details": "Marketing department",
- "language": "DE",
- "shortName": "CDQ AG",
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG"
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": "Amtsgericht Aachen"
}
], - "categories": [
], - "classifications": [
- {
- "name": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}
}, - "metadata": {
- "status": {
- "recordStatus": "ACCEPTED",
- "explanations": [
- "No errors have been found"
]
}, - "sharingStatus": {
- "status": "UNDER_CONSIDERATION",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
]
}, - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": "Production hall 7, Storage field 8."
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland"
}, - "administrativeAreas": [
- {
- "value": "Sankt Gallen",
- "shortName": "SG",
- "isoCode": "CH-SG",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "language": {
- "name": null,
- "technicalKey": null
}
}
], - "postCode": {
- "value": "9000",
- "type": {
- "name": "Regular",
- "technicalKey": "REGULAR"
}
}, - "localities": [
- {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "shortName": "St. Gallen",
- "value": "Sankt Gallen",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "thoroughfares": [
- {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "shortName": "Lukasstr. 4",
- "number": "4",
- "direction": "221-bis Baker Street, North",
- "value": "Lukasstraße 4",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": "Building",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "postalDeliveryPoint": {
- "type": "Sankt Gallen, Postfach 460",
- "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "formattedAddress": {
- "country": "Switzerland",
- "administrativeArea": "Sankt Gallen",
- "region": "Sankt Gallen",
- "regionCode": "9004",
- "district": "City center",
- "locality": "Sankt Gallen",
- "postCode": "9000",
- "thoroughfare": "Lukassstrasse",
- "premise": "Lukasstraße 4, Building 2, Floor 3, Room 4",
- "mailStation": "US, Pasadena, MAIL STATION 201-6",
- "mailbox": "Postfach 460",
- "interurbanDeliveryPoint": "Sankt Gallen, Postfach 460",
- "postOfficeBox": "Postfach 460"
}, - "metadata": {
- "primaryProvenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "partnerProfile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}
}
}
], - "featuresOn": [
- "UPSERT_BY_EXTERNAL_ID"
], - "featuresOff": [
- "UPSERT_BY_EXTERNAL_ID"
]
}
{- "numberOfInserts": "10",
- "numberOfUpdates": "10",
- "numberOfFailed": "10",
- "numberOfAccepted": "10",
- "failures": [
- {
- "id": "567326478287468742",
- "externalId": "LFA1.1234567",
- "message": "This record could not be stored due to timeout."
}
]
}