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",
- "featuresOn": [
- "FETCH_RECORD"
], - "featuresOff": [
- "FETCH_RECORD"
]
}
{- "businessPartner": {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-12-21T01:35:23Z",
- "triggerType": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}, - "trigger": {
- "processedAt": "2024-12-21T01:35:23Z",
- "provenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "type": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}
}, - "jobProcessedAt": "2024-12-21T01:35:23Z",
- "processedAt": "2024-12-21T01:35:23Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": {
- "shortName": "CH",
- "value": "Switzerland"
}
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
- "technicalKey": "NAF 2003"
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": "FAX",
- "technicalKey": "FAX"
}, - "value": "+41 71 571 10 40"
}
], - "websites": [
- {
- "type": {
- "name": "Corporate Website",
- "technicalKey": "WEBSITE_TYPE_CORPORATE"
}
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": "WAREHOUSE"
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": "Doctor",
- "technicalKey": "DOCTOR"
}, - "licenseStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": "Swiss Medical Association",
- "permissionStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}, - "activityStatus": {
- "name": "Inactive",
- "technicalKey": "INACTIVE"
}, - "practiceLocations": [
- {
- "practiceName": null,
- "selfDispensationStatus": null,
- "controlledSubstancePurchasePermission": null
}
]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "characterSet": {
- "name": "International",
- "technicalKey": "INTERNATIONAL"
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "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"
}
}
], - "postCodes": [
- {
- "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",
- "value": "Lukasstraße 4",
- "name": "Lukasstraße",
- "direction": "221-bis Baker Street, North",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": {
- "name": "Factory",
- "technicalKey": "FACTORY"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postalDeliveryPoints": [
- {
- "type": {
- "name": "Mailbox",
- "technicalKey": "MAILBOX"
}, - "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-12-21T01:35:23Z",
- "lastPaymentDate": "2024-12-21T01:35:23Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": "KUNNR"
}
}
]
}
}, - "status": "NOT_FOUND",
- "message": "Business Partner has been fetched successfully."
}
Read a page of business partners from the storage.
businessPartnerId | Array of strings (BusinessPartnerId) Business Partner IDs which should be filtered. Example: businessPartnerId=63e635235c06b7396330fe40 | ||||||||||||||||
countryCode | Array of strings (CountryShortName) Country code (ISO 3166-1 alpha-2) used to filter the result of business partners returned. Example: countryCode=CH | ||||||||||||||||
curationLogResultStatus | Array of strings (CurationLevelParam) Curation log of curation result.
Example: curationLogResultStatus=LEVEL_1 | ||||||||||||||||
dataSource | Array of strings (BusinessPartnerDataSource) Data Source (name or ID) to be measured during calculating statistics. By default, all Data Sources are measured. Example: dataSource="CUSTOM_DATA_SOURCE" or "648824a691d8d2503d65103e" | ||||||||||||||||
externalId | Array of strings (BusinessPartnerExternalId) Business Partner externalIDs. Example: externalId=The ID managed in the customer's SAP systems. | ||||||||||||||||
featuresOff | Array of strings (BusinessPartnersReadFeatureParam) Features to be deactivated.
Example: featuresOff=APPLY_CURATION_DECISIONS | ||||||||||||||||
featuresOn | Array of strings (BusinessPartnersReadFeatureParam) Features to be activated.
Example: featuresOn=APPLY_CURATION_DECISIONS | ||||||||||||||||
fromJobProcessedAt | string Returns the results which have one of the log result status -> jobProcessedAt after given date. The given date should support ISO-8601 representation. Example: fromJobProcessedAt=2024-12-21T01:35:23Z | ||||||||||||||||
fromProcessedAt | string Returns the results which have one of the log result status -> processedAt after given date. The given date should support ISO-8601 representation. Example: fromProcessedAt=2024-12-21T01:35:23Z | ||||||||||||||||
fromTriggerProcessedAt | string Returns the results which have one of the log result status -> triggerProcessedAt after given date. The given date should support ISO-8601 representation. Example: fromTriggerProcessedAt=2024-12-21T01:35:23Z | ||||||||||||||||
hasRawData | boolean Default: false Flag to filter result of business partners based on the existence of the record attribute (raw data). Example: hasRawData=false | ||||||||||||||||
limit | integer <int32> >= 1 Default: 500 Number of items to be returned on the page. Example: limit=100 | ||||||||||||||||
logResultTriggerProvenanceTechnicalKeys | Array of strings (ProvenanceTechnicalKey) Provenance technical keys used for filtering the result which should match with at least one of any log result status -> triggerType fields. Example: logResultTriggerProvenanceTechnicalKeys=VIES | ||||||||||||||||
logResultTriggerType | Array of strings (ProcessingLogResultStatusTriggerTypeTechnicalKeyParam) Trigger type used for filtering the result which should match with at least one of any log result status -> triggerType fields. Example: logResultTriggerType=CREATED | ||||||||||||||||
modifiedAfter | string Return entries which were modified after given data. The given date should support ISO-8601 representation. Example: modifiedAfter=2024-12-21T01:35:23Z | ||||||||||||||||
modifiedBefore | string Return entries which were modified before given data. The given date should support ISO-8601 representation. Example: modifiedBefore=2024-12-21T01:35:23Z | ||||||||||||||||
reviewStatus | string (ReviewStatusParam) Review status used for filtering the result data.
Example: reviewStatus=REVIEWED | ||||||||||||||||
sharingStatus | Array of strings Business Partner Sharing Status which should be filtered. Sharing Statuses which can be filtered out:
Example: sharingStatus=UNDER_CONSIDERATION | ||||||||||||||||
startAfter | string Only items with an ID greater than the given one will be retrieved. When nextStartAfter provided in the response, should be used instead of the ID as an indicator for a next page. Example: startAfter=5712566172571652 | ||||||||||||||||
tagTypeTechnicalKey | string (TagTypeTechnicalKey) Type Technical Key of tags that are provided in 'tagValues' query param. Example: tagTypeTechnicalKey=WAREHOUSE | ||||||||||||||||
tagValues | Array of strings (TagValue) Tag values that will be used to filter Business Partners. Values are connected with logical 'AND'. Example: tagValues=Warehouse | ||||||||||||||||
toJobProcessedAt | string Returns the results which have one of the log result status -> jobProcessedAt before given date. The given date should support ISO-8601 representation. Example: toJobProcessedAt=2024-12-21T01:35:23Z | ||||||||||||||||
toProcessedAt | string Returns the results which have one of the log result status -> processedAt before given date. The given date should support ISO-8601 representation. Example: toProcessedAt=2024-12-21T01:35:23Z | ||||||||||||||||
toTriggerProcessedAt | string Returns the results which have one of the log result status -> triggerProcessedAt before given date. The given date should support ISO-8601 representation. Example: toTriggerProcessedAt=2024-12-21T01:35:23Z | ||||||||||||||||
typeTechnicalKeys | Array of strings (BusinessPartnerTypeTechnicalKeyParam) <= 1 items Business Partner type technical keys which should be filtered. Example: typeTechnicalKeys=LEGAL_ENTITY | ||||||||||||||||
updateMonitoring | boolean Flag to filter business partners by the value of updateMonitoring attribute. Example: updateMonitoring=true | ||||||||||||||||
validationLogResultStatus | Array of strings (ValidationLevelParam) Violation level of validation result.
Example: validationLogResultStatus=WARNING | ||||||||||||||||
validationSharingLogResultStatus | Array of strings (ValidationLevelParam) Violation level of sharing validation result.
Example: validationSharingLogResultStatus=WARNING |
OK
Bad Request
Unauthorized
{- "startAfter": "5712566172571652",
- "limit": "100",
- "total": "67",
- "values": [
- {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-12-21T01:35:23Z",
- "triggerType": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}, - "trigger": {
- "processedAt": "2024-12-21T01:35:23Z",
- "provenance": {
- "name": null,
- "technicalKey": null,
- "cdqId": null
}, - "type": {
- "name": null,
- "technicalKey": null
}
}, - "jobProcessedAt": "2024-12-21T01:35:23Z",
- "processedAt": "2024-12-21T01:35:23Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": {
- "shortName": null,
- "value": null
}
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
- "technicalKey": "NAF 2003"
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": "FAX",
- "technicalKey": "FAX"
}, - "value": "+41 71 571 10 40"
}
], - "websites": [
- {
- "type": {
- "name": "Corporate Website",
- "technicalKey": "WEBSITE_TYPE_CORPORATE"
}
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": "WAREHOUSE"
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": "Doctor",
- "technicalKey": "DOCTOR"
}, - "licenseStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": "Swiss Medical Association",
- "permissionStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "activityStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "practiceLocations": [
- null
]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "characterSet": {
- "name": "International",
- "technicalKey": "INTERNATIONAL"
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "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
}
}
], - "postCodes": [
- {
- "value": "9000",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
], - "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",
- "value": "Lukasstraße 4",
- "name": "Lukasstraße",
- "direction": "221-bis Baker Street, North",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "language": {
- "name": null,
- "technicalKey": null
}
}
], - "postalDeliveryPoints": [
- {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-12-21T01:35:23Z",
- "lastPaymentDate": "2024-12-21T01:35:23Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": "KUNNR"
}
}
]
}
}
], - "nextStartAfter": "5712566172571652"
}
The Read Business Partner Updates endpoint provides an updated Business Partner structure and comprehensive
Business Partner information from the Reference Data Sources. By default, only the latest version of a Business Partner
from a single data source is provided. However, it's possible to access all historical updates (up to 3 months) by enabling
the FeaturesOn: FETCH_HISTORICAL_UPDATES
option.
Filtration
A list of updated Business Partners can be filtered in various ways, with tags being the most powerful and important.
Tags combine concepts (e.g., NAME_LOCAL
, IDENTIFIER
, LOCALITY
) with actions (e.g., ADDED
, MODIFIED
).
There are two types of classification filters:
Filtration by tag and conceptClassification
works in pairs and identifies Business Partners where, for example, the LOCAL_NAME
was MODIFIED
and this change was classified as MAJOR
. When filtering by tag and summaryClassification
, the endpoint returns all Business Partners
where the specified tags were added to the summary and the general summary classification is, for example,
IDENTIFIER_ADDED, + highest classification for all updates =MINOR
. Additional filtering options include country, provenance, and external IDs.
Providing the data source (or your mirror) in the request can enhance response speed.
It's possible to check the total number of updates using featuresOn NUMBER_OF_TOTAL, but can slow down the response.
Recommendations
We recommend periodically reading all Business Partners (at least once) to improve the efficiency of specific filtrations.
businessPartnerIds | Array of strings (BusinessPartnerId) <= 100 items Only show updates for listed Business Partner IDs. When providing list of Business Partner IDs, limit is ignored to provide full page. Example: businessPartnerIds=63e635235c06b7396330fe40 |
conceptClassifications | Array of strings (UpdateClassificationTechnicalKeyEnum) Filter by provided concept classifications (logical OR). When used with the updateTags parameter, only those updates are presented, that match together with respective tag. Example: conceptClassifications=MAJOR |
countryShortNames | Array of strings (CountryShortName) Filter by countries. Example: countryShortNames=CH |
dataSources | Array of strings (BusinessPartnerDataSource) Filter by data sources (name or id). Example: dataSources="CUSTOM_DATA_SOURCE" or "648824a691d8d2503d65103e" |
dataTransformationDefinitionId | string (DataTransformationDefinitionId) When dataTransformationDefinitionId is provided, map updatedBusinessPartner using that transformation. Example: dataTransformationDefinitionId=SAP.ODM |
exceptProvenanceTechnicalKeys | Array of strings (ProvenanceTechnicalKey) Show updates for all provenances except provided by technical keys. By default, includes ORGANIZATION if not present on provenanceTechnicalKeys list. Example: exceptProvenanceTechnicalKeys=VIES |
externalIds | Array of strings (BusinessPartnerExternalId) <= 100 items Filter updates by Business Partner externalId, limit is ignored to provide full page. When used with the businessPartnerIds parameter, only business partners that have one of the specified externalIds AND one of the specified businessPartnerIds will be returned. Example: externalIds=The ID managed in the customer's SAP systems. |
featuresOff | Array of strings (BusinessPartnerUpdatesFeatureParam) Features to be used during the read Business Partner updates:
Example: featuresOff=FETCH_STORAGE_BUSINESS_PARTNER |
featuresOn | Array of strings (BusinessPartnerUpdatesFeatureParam) Features to be used during the read Business Partner updates:
Example: featuresOn=FETCH_STORAGE_BUSINESS_PARTNER |
from | string Only show updates which have been modified after this date (ISO 8601). Default is to show the 'last seven days' and farthest in the past is 'since three month'. Example: from=2024-12-21T01:35:23Z |
limit | integer <int32> >= 1 Default: 500 Number of items to be returned on the page. Example: limit=100 |
provenanceTechnicalKeys | Array of strings (ProvenanceTechnicalKey) Show updates for selected provenances by technical keys. Example: provenanceTechnicalKeys=VIES |
startAfter | string Only items with an ID greater than the given one will be retrieved. When nextStartAfter provided in the response, should be used instead of the ID as an indicator for a next page. Example: startAfter=5712566172571652 |
summaryClassifications | Array of strings (UpdateClassificationTechnicalKeyEnum) Filter by provided summary classifications (logical OR). Example: summaryClassifications=MAJOR |
updateTags | Array of strings (UpdateTagEnum) Filter by update summary tags. Example: updateTags=IDENTIFIER_ADDED |
updateTagsProfiles | Array of strings (UpdateTagsProfileEnum) Profiled filter by update summary tags. Example: updateTagsProfiles=LEGAL_DATA |
OK
Bad Request
{- "limit": "100",
- "total": "67",
- "startAfter": "5712566172571652",
- "nextStartAfter": "5712566172571652",
- "values": [
- {
- "id": "5712566172571652",
- "businessPartnerId": "63e635235c06b7396330fe40",
- "externalBusinessPartnerId": "The ID managed in the customer's SAP systems.",
- "updatedBusinessPartner": {
- "id": "63e635235c06b7396330fe40",
- "summary": {
- "tags": [
- "IDENTIFIER_ADDED"
], - "classification": {
- "technicalKey": "MAJOR",
- "reason": "The modified post code has deprecated format."
}
}, - "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "updateAssessment": {
- "action": {
- "technicalKey": null
}, - "classification": {
- "technicalKey": null,
- "reason": null
}, - "provenances": [
- null
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- null
], - "before": {
- "type": null,
- "value": null,
- "shortName": null,
- "language": null
}
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
], - "updateAssessment": {
- "action": {
- "technicalKey": "ADDED"
}, - "classification": {
- "technicalKey": "MAJOR",
- "reason": "The modified post code has deprecated format."
}, - "provenances": [
- {
- "name": null,
- "url": null,
- "technicalKey": null,
- "cdqId": null,
- "subscribers": null
}
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- "IDENTIFIER_ADDED"
], - "before": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": null,
- "technicalKey": null
}, - "mainAbbreviation": "AG",
- "categories": [
- null
]
}
}
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": null
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}, - "updateAssessment": {
- "action": {
- "technicalKey": null
}, - "classification": {
- "technicalKey": null,
- "reason": null
}, - "provenances": [
- null
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- null
], - "before": {
- "type": null,
- "value": null,
- "issuingBody": null,
- "status": null
}
}
}
], - "categories": [
- {
- "name": "Hotel",
- "technicalKey": "HOTEL",
- "updateAssessment": {
- "action": {
- "technicalKey": null
}, - "classification": {
- "technicalKey": null,
- "reason": null
}, - "provenances": [
- null
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- null
], - "before": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
}
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z",
- "updateAssessment": {
- "action": {
- "technicalKey": "ADDED"
}, - "classification": {
- "technicalKey": "MAJOR",
- "reason": "The modified post code has deprecated format."
}, - "provenances": [
- {
- "name": null,
- "url": null,
- "technicalKey": null,
- "cdqId": null,
- "subscribers": null
}
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- "IDENTIFIER_ADDED"
], - "before": {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}
}
}, - "addresses": [
- {
- "version": {
- "language": {
- "name": null,
- "technicalKey": null
}, - "characterSet": {
- "name": null,
- "technicalKey": null
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "externalId": "1",
- "metadata": {
- "language": {
- "name": null,
- "technicalKey": null
}
}, - "careOf": {
- "value": "CDQ GmbH c/o Product Department"
}, - "contexts": [
- {
- "value": null
}
], - "country": {
- "shortName": "CH",
- "value": "Switzerland",
- "updateAssessment": {
- "action": null,
- "classification": null,
- "provenances": [ ],
- "modifiedAt": null,
- "tags": [ ],
- "before": null
}
}, - "administrativeAreas": [
- {
- "value": null,
- "shortName": null,
- "isoCode": null,
- "type": null,
- "language": null,
- "updateAssessment": null
}
], - "postCodes": [
- {
- "value": null,
- "type": null,
- "updateAssessment": null
}
], - "localities": [
- {
- "type": null,
- "shortName": null,
- "value": null,
- "language": null,
- "updateAssessment": null
}
], - "thoroughfares": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "value": null,
- "name": null,
- "direction": null,
- "language": null,
- "updateAssessment": null
}
], - "premises": [
- {
- "value": null,
- "shortName": null,
- "number": null,
- "type": null,
- "language": null,
- "updateAssessment": null
}
], - "postalDeliveryPoints": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "value": null,
- "language": null,
- "updateAssessment": null
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275",
- "updateAssessment": {
- "action": null,
- "classification": null,
- "provenances": [ ],
- "modifiedAt": null,
- "tags": [ ],
- "before": null
}
}, - "types": [
- {
- "name": null,
- "url": null,
- "technicalKey": null
}
]
}
], - "externalId": "The ID managed in the customer's SAP systems.",
- "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "value": "+41 71 571 10 40"
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": null
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "licenseStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "updateAssessment": {
- "action": null,
- "classification": null,
- "provenances": [ ],
- "modifiedAt": null,
- "tags": [ ],
- "before": null
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": null,
- "permissionStatus": null,
- "activityStatus": null,
- "practiceLocations": [ ],
- "updateAssessment": null
}
]
}
}, - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY",
- "updateAssessment": {
- "action": {
- "technicalKey": null
}, - "classification": {
- "technicalKey": null,
- "reason": null
}, - "provenances": [
- null
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- null
], - "before": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
}
], - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z",
- "updateAssessment": {
- "action": {
- "technicalKey": null
}, - "classification": {
- "technicalKey": null,
- "reason": null
}, - "provenances": [
- null
], - "modifiedAt": "2024-12-21T01:35:23Z",
- "tags": [
- null
], - "before": {
- "startedAt": null,
- "endedAt": null,
- "type": null,
- "class": null,
- "startNode": null,
- "endNode": null,
- "deactivatedAt": null
}
}
}
], - "jsonRecord": "{\"key\":\"value\"}",
- "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": null
}, - "updateAssessment": {
- "action": null,
- "classification": null,
- "provenances": [ ],
- "modifiedAt": null,
- "tags": [ ],
- "before": null
}
}
]
}
}, - "storageBusinessPartner": {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-12-21T01:35:23Z",
- "triggerType": {
- "name": null,
- "technicalKey": null
}, - "trigger": {
- "processedAt": null,
- "provenance": null,
- "type": null
}, - "jobProcessedAt": "2024-12-21T01:35:23Z",
- "processedAt": "2024-12-21T01:35:23Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": null
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "value": "+41 71 571 10 40"
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": null
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "licenseStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": null,
- "permissionStatus": null,
- "activityStatus": null,
- "practiceLocations": [ ]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": null,
- "technicalKey": null
}, - "characterSet": {
- "name": null,
- "technicalKey": null
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "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
}
], - "postCodes": [
- {
- "value": null,
- "type": null
}
], - "localities": [
- {
- "type": null,
- "shortName": null,
- "value": null,
- "language": null
}
], - "thoroughfares": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "value": null,
- "name": null,
- "direction": null,
- "language": null
}
], - "premises": [
- {
- "value": null,
- "shortName": null,
- "number": null,
- "type": null,
- "language": null
}
], - "postalDeliveryPoints": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "value": null,
- "language": null
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": null,
- "url": null,
- "technicalKey": null
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-12-21T01:35:23Z",
- "lastPaymentDate": "2024-12-21T01:35:23Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": null
}
}
]
}
}
}
]
}
Lookup a Business Partner in provided storage.
cmd
object (BusinessPartnerLookupParam) Lookup business partner data in connected data sources like the CDQ Community Data Pool, Business registers, or even in the own data mirror. | |||||||
dataSources | Array of strings List of Data Sources. Example: ["\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\""] | ||||||
featuresOff | Array of strings (FetchBusinessPartnerFeatureParam) Features to be excluded during the fetch Business Partner.
Example: ["FETCH_RECORD"] | ||||||
featuresOn | Array of strings (FetchBusinessPartnerFeatureParam) Features to be used during the fetch Business Partner.
Example: ["FETCH_RECORD"] | ||||||
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": [
- "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\""
], - "businessPartner": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "value": "Corporate Data Quality AG"
}
], - "identifiers": [
- {
- "value": "CHE-218.608.886 HR/MWST",
- "type": {
- "technicalKey": "CH_VAT_ID"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft"
}, - "addresses": [
- {
- "country": {
- "shortName": "CH"
}, - "administrativeAreas": [
- {
- "value": "Sankt Gallen"
}
], - "localities": [
- {
- "value": "Sankt Gallen"
}
], - "postCodes": [
- {
- "value": "9000"
}
], - "thoroughfares": [
- {
- "value": "Lukasstraße 4",
- "number": "4"
}
]
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": "KUNNR"
}
}
]
}, - "profile": {
- "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": "WAREHOUSE"
}
}
]
}
}, - "featuresOn": [
- "FETCH_RECORD"
], - "featuresOff": [
- "FETCH_RECORD"
]
}
{- "pageSize": "100",
- "total": "67",
- "page": "1",
- "values": [
- {
- "businessPartner": {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-12-21T01:35:23Z",
- "triggerType": {
- "name": null,
- "technicalKey": null
}, - "trigger": {
- "processedAt": null,
- "provenance": null,
- "type": null
}, - "jobProcessedAt": "2024-12-21T01:35:23Z",
- "processedAt": "2024-12-21T01:35:23Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": null
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "value": "+41 71 571 10 40"
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": null
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "licenseStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": null,
- "permissionStatus": null,
- "activityStatus": null,
- "practiceLocations": [ ]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": null,
- "technicalKey": null
}, - "characterSet": {
- "name": null,
- "technicalKey": null
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "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
}
], - "postCodes": [
- {
- "value": null,
- "type": null
}
], - "localities": [
- {
- "type": null,
- "shortName": null,
- "value": null,
- "language": null
}
], - "thoroughfares": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "value": null,
- "name": null,
- "direction": null,
- "language": null
}
], - "premises": [
- {
- "value": null,
- "shortName": null,
- "number": null,
- "type": null,
- "language": null
}
], - "postalDeliveryPoints": [
- {
- "type": null,
- "shortName": null,
- "number": null,
- "value": null,
- "language": null
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": null,
- "url": null,
- "technicalKey": null
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-12-21T01:35:23Z",
- "lastPaymentDate": "2024-12-21T01:35:23Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": null
}
}
]
}
}, - "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": [
- "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\""
], - "businessPartner": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "value": "Corporate Data Quality AG"
}
], - "identifiers": [
- {
- "value": "CHE-218.608.886 HR/MWST",
- "type": {
- "technicalKey": "CH_VAT_ID"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft"
}, - "addresses": [
- {
- "country": {
- "shortName": "CH"
}, - "administrativeAreas": [
- {
- "value": null
}
], - "localities": [
- {
- "value": null
}
], - "postCodes": [
- {
- "value": null
}
], - "thoroughfares": [
- {
- "value": null,
- "number": null
}
]
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": null
}
}
]
}, - "profile": {
- "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": null
}
}
]
}
}, - "featuresOn": [
- "FETCH_RECORD"
], - "featuresOff": [
- "FETCH_RECORD"
]
}
}
}
Poll endpoint for a job created in POST toggleUpdateMonitoringJobs
.
OK
{- "job": {
- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "createdBy": "76248934691294444",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "progress": "77",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "enable": "true",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "dataSourceId": "648824a691d8d2503d65103e",
- "countryShortName": "CH"
}, - "status": "OK"
}
Get random Business Partners from this storage.
countryCode | string (CountryShortName) Country code (ISO 3166-1 alpha-2) used to filter the result of business partners returned. Example: countryCode=CH | ||||||
dataSource | string (BusinessPartnerDataSource) Data Source (name or ID) to be measured during calculating statistics. By default, all Data Sources are measured. Example: dataSource="CUSTOM_DATA_SOURCE" or "648824a691d8d2503d65103e" | ||||||
featureOff | Array of strings (FetchBusinessPartnerFeatureParam) Features to be excluded during the fetch Business Partner.
Example: featureOff=FETCH_RECORD | ||||||
featureOn | Array of strings (FetchBusinessPartnerFeatureParam) Features to be used during the fetch Business Partner.
Example: featureOn=FETCH_RECORD | ||||||
limit | integer <int32> [ 1 .. 10 ] Default: 1 Number of items to be returned on the page. Example: limit=5 | ||||||
modifiedAfter | string Return entries which were modified after given data. The given date should support ISO-8601 representation. Example: modifiedAfter=2024-12-21T01:35:23Z | ||||||
modifiedBefore | string Return entries which were modified before given data. The given date should support ISO-8601 representation. Example: modifiedBefore=2024-12-21T01:35:23Z |
OK
Unauthorized
Forbidden
{- "limit": "100",
- "values": [
- {
- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-12-21T01:35:23Z",
- "triggerType": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}, - "trigger": {
- "processedAt": "2024-12-21T01:35:23Z",
- "provenance": {
- "name": null,
- "technicalKey": null,
- "cdqId": null
}, - "type": {
- "name": null,
- "technicalKey": null
}
}, - "jobProcessedAt": "2024-12-21T01:35:23Z",
- "processedAt": "2024-12-21T01:35:23Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": {
- "shortName": null,
- "value": null
}
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
- "technicalKey": "NAF 2003"
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": "FAX",
- "technicalKey": "FAX"
}, - "value": "+41 71 571 10 40"
}
], - "websites": [
- {
- "type": {
- "name": "Corporate Website",
- "technicalKey": "WEBSITE_TYPE_CORPORATE"
}
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": "WAREHOUSE"
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": "Doctor",
- "technicalKey": "DOCTOR"
}, - "licenseStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": "Swiss Medical Association",
- "permissionStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "activityStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "practiceLocations": [
- null
]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "characterSet": {
- "name": "International",
- "technicalKey": "INTERNATIONAL"
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "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
}
}
], - "postCodes": [
- {
- "value": "9000",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
], - "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",
- "value": "Lukasstraße 4",
- "name": "Lukasstraße",
- "direction": "221-bis Baker Street, North",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "language": {
- "name": null,
- "technicalKey": null
}
}
], - "postalDeliveryPoints": [
- {
- "type": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": null,
- "technicalKey": null
}
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-12-21T01:35:23Z",
- "lastPaymentDate": "2024-12-21T01:35:23Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": "KUNNR"
}
}
]
}
}
]
}
Read Business Partner by ID.
featureOff | Array of strings (ReadBusinessPartnerFeatureParam) Features to be deactivated during the read Business Partner. Example: featureOff=FETCH_RECORD |
featureOn | Array of strings (ReadBusinessPartnerFeatureParam) Features to be used during the read Business Partner. Example: featureOn=FETCH_RECORD |
OK
{- "id": "63e635235c06b7396330fe40",
- "createdAt": "2024-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSource": "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"",
- "disclosed": "false",
- "updateMonitoring": "true",
- "updateCommercialMonitoring": [
- {
- "type": {
- "technicalKey": "DNB"
}, - "value": "true"
}
], - "metadata": {
- "sharingStatus": {
- "status": "SHARED_WITH_NO_MATCH",
- "description": "UNDER_CONSIDERATION: The business partner will be considered for the sharing process."
}, - "identityLinks": [
- {
- "linkId": "6465f2492bdcd350159a79d6",
- "cdqId": "VIES:PL8660001429",
- "addressId": "0",
- "externalAddressId": "123456789"
}
], - "logResultStatuses": [
- {
- "processingLogId": "CURATION_LOG",
- "triggerProcessedAt": "2024-12-21T01:35:23Z",
- "triggerType": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}, - "trigger": {
- "processedAt": "2024-12-21T01:35:23Z",
- "provenance": {
- "name": "VIES",
- "technicalKey": "VIES",
- "cdqId": "VIES:PL8660001429"
}, - "type": {
- "name": "CREATED",
- "technicalKey": "CREATED"
}
}, - "jobProcessedAt": "2024-12-21T01:35:23Z",
- "processedAt": "2024-12-21T01:35:23Z",
- "status": "INFO",
- "description": "Validation Level"
}
], - "decisionLogResult": {
- "reviewStatus": "REVIEWED",
- "naturalPersonsReviewStatus": "REVIEWED",
- "duplicatesReviewStatus": "REVIEWED"
}
}, - "record": "{\"name\": \"BUSINESSPARTNER_NAME\", ...}",
- "names": [
- {
- "type": {
- "name": "Local Name",
- "technicalKey": "LOCAL"
}, - "value": "Corporate Data Quality AG",
- "shortName": "CDQ AG",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "legalForm": {
- "name": "Aktiengesellschaft",
- "technicalKey": "DE_9866",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "mainAbbreviation": "AG",
- "categories": [
- {
- "name": "Limited Liability Company",
- "shortName": "LLC",
- "technicalKey": "LIMITED"
}
]
}, - "identifiers": [
- {
- "type": {
- "name": "CH_VAT_ID",
- "technicalKey": "CH_VAT_ID"
}, - "value": "CHE-218.608.886 HR/MWST",
- "issuingBody": {
- "name": "Amtsgericht Aachen",
- "technicalKey": "Amtsgericht Aachen",
- "jurisdiction": {
- "country": {
- "shortName": "CH",
- "value": "Switzerland"
}
}
}, - "status": {
- "name": "ACTIVE",
- "technicalKey": "ACTIVE"
}
}
], - "categories": [
], - "status": {
- "type": {
- "name": "In Liquidation",
- "technicalKey": "IN_LIQUIDATION"
}, - "officialDenotation": "Good Standing",
- "validFrom": "2024-12-21T01:35:23Z",
- "validUntil": "2024-12-21T01:35:23Z"
}, - "profile": {
- "minorityIndicator": {
- "value": "Social enterprise"
}, - "classifications": [
- {
- "value": "Manufacture of pesticides and other agrochemical products.",
- "code": "20.20Z",
- "type": {
- "name": "NAF 2003",
- "technicalKey": "NAF 2003"
}
}
], - "phoneNumbers": [
- {
- "countryPrefix": "+41",
- "number": "71 571 10 40",
- "type": {
- "name": "FAX",
- "technicalKey": "FAX"
}, - "value": "+41 71 571 10 40"
}
], - "websites": [
- {
- "type": {
- "name": "Corporate Website",
- "technicalKey": "WEBSITE_TYPE_CORPORATE"
}
}
], - "contactEmails": [
- {
- "value": "developer-portal@cdq.com"
}
], - "tags": [
- {
- "value": "Warehouse",
- "type": {
- "technicalKey": "WAREHOUSE"
}
}
], - "vatPayerStatus": {
- "publicationDate": "2024-12-21T01:35:23Z",
- "status": {
- "name": "RELIABLE",
- "technicalKey": "VAT_PAYER_STATUS"
}, - "registrationAuthority": {
- "registrationAuthorityId": "RA000009",
- "registrationAuthorityEntityId": "RA000009",
- "otherRegistrationAuthorityId": "RA000009"
}
}, - "hcpProfile": {
- "generalLicense": {
- "professionType": {
- "name": "Doctor",
- "technicalKey": "DOCTOR"
}, - "licenseStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}
}, - "operationalPermissions": [
- {
- "issuingAuthority": "Swiss Medical Association",
- "permissionStatus": {
- "name": "Granted",
- "technicalKey": "GRANTED"
}, - "activityStatus": {
- "name": "Inactive",
- "technicalKey": "INACTIVE"
}, - "practiceLocations": [
- {
- "practiceName": "VIVOMED AG",
- "selfDispensationStatus": {
- "name": null,
- "url": null,
- "technicalKey": null
}, - "controlledSubstancePurchasePermission": {
- "name": null,
- "url": null,
- "technicalKey": null
}
}
]
}
]
}
}, - "relations": [
- {
- "startedAt": "2024-12-21T01:35:23Z",
- "endedAt": "2024-12-21T01:35:23Z",
- "type": {
- "name": "Commercial ultimate",
- "technicalKey": "COMMERCIAL_ULTIMATE"
}, - "class": {
- "name": "CDQ Hierarchy",
- "technicalKey": "BUSINESS_PARTNER_RELATION_CLASS_CDQ_HIERARCHY"
}, - "startNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "endNode": {
- "externalId": "The ID managed in the customer's SAP systems.",
- "dataSourceId": "648824a691d8d2503d65103e"
}, - "deactivatedAt": "2024-12-21T01:35:23Z"
}
], - "types": [
- {
- "name": "Legal Entity",
- "technicalKey": "LEGAL_ENTITY"
}
], - "addresses": [
- {
- "id": "0001",
- "externalId": "1",
- "cdqId": "CDQID-123456789",
- "version": {
- "language": {
- "name": "German",
- "technicalKey": "DE"
}, - "characterSet": {
- "name": "International",
- "technicalKey": "INTERNATIONAL"
}
}, - "identifyingName": {
- "value": "John Doe"
}, - "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"
}
}
], - "postCodes": [
- {
- "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",
- "value": "Lukasstraße 4",
- "name": "Lukasstraße",
- "direction": "221-bis Baker Street, North",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "premises": [
- {
- "value": "Lukasstraße 4",
- "shortName": "Lukasstr. 4",
- "number": "4",
- "type": {
- "name": "Factory",
- "technicalKey": "FACTORY"
}, - "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "postalDeliveryPoints": [
- {
- "type": {
- "name": "Mailbox",
- "technicalKey": "MAILBOX"
}, - "shortName": "St Gallen, Postfach 460",
- "number": "460",
- "value": "Postfach",
- "language": {
- "name": "German",
- "technicalKey": "DE"
}
}
], - "geographicCoordinates": {
- "latitude": "47.439549",
- "longitude": "9.395275"
}, - "types": [
- {
- "name": "Legal Address",
- "technicalKey": "LEGAL_ADDRESS"
}
]
}
], - "bankAccounts": [
- {
- "internationalBankAccountIdentifier": "CH8800781619278412000",
- "internationalBankIdentifier": "KBSGCH22XXX",
- "nationalBankAccountIdentifier": "619278412000",
- "nationalBankIdentifier": "00781",
- "countryCode": "DE",
- "vendorPaymentSummary": {
- "firstPaymentDate": "2024-12-21T01:35:23Z",
- "lastPaymentDate": "2024-12-21T01:35:23Z",
- "numberOfPayments": "1"
}
}
], - "externalContext": {
- "identifiers": [
- {
- "value": "7250017031",
- "type": {
- "technicalKey": "KUNNR"
}
}
]
}
}
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-12-21T01:35:23Z",
- "modifiedAt": "2024-12-21T01:35:23Z",
- "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/v4/storages/{YOUR STORAGE ID}/businesspartners
{
"dataSource": "{YOUR DATA SOURCE}",
"featuresOn": ["UPSERT_BY_EXTERNAL_ID"],
"businessPartners": [
{
"externalId": "123",
"record": "{\"MyId\":\"123\", \"City\":\"St. Gallen\"}"
}]
}
The response is shown below.
{
"numberOfAccepted": "1",
"numberOfFailed": "0",
}
Upserting Business Partners enables automated data transformation from the record
field to the Business Partner model.
It requires a Data Mapper Definition and assigned to dataMapperDefinitionId
field
of a data source Business Partner is being upserted to.
record
field requires stringified JSON. Characters: backslash \
and double quote "
must be escaped (respectively: \\\\
and \"
). Fields containing .
are unallowed."
To enable automated data transformation, one of the following features is required:
Automated data transformation can be executed together with the UPSERT_BY_EXTERNAL_ID feature,
but it requires to provide external ID as a field externalId
of a Business Partner,
which is preserved during the transformation.
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[*].relations | 20 |
$.businessPartners[*].types | 20 |
$.businessPartners[*].bankAccounts | 50 |
$.businessPartners[*].profile.websites | 20 |
$.businessPartners[*].profile.classifications | 20 |
$.businessPartners[*].profile.contactEmails | 20 |
$.businessPartners[*].profile.phoneNumbers | 20 |
$.businessPartners[].addresses[].contexts | 100 |
$.businessPartners[].addresses[].administrativeAreas | 20 |
$.businessPartners[].addresses[].postCodes | 20 |
$.businessPartners[].addresses[].localities | 20 |
$.businessPartners[].addresses[].thoroughfares | 20 |
$.businessPartners[].addresses[].premises | 20 |
$.businessPartners[].addresses[].postalDeliveryPoints | 20 |
$.businessPartners[].addresses[].types | 20 |
Parameters for Business Partners Upsert.
required | Array of objects (BusinessPartner) [ 1 .. 1000 ] items List of Business Partners. | ||||||||||||
dataSource | string (BusinessPartnerDataSource) Name or ID of a data source. Reflects the associated external system where the record originates from. Example: "\"CUSTOM_DATA_SOURCE\" or \"648824a691d8d2503d65103e\"" | ||||||||||||
featuresOff | Array of strings (UpsertFeatureParam) Features to be deactivated during the upsert.
Example: ["UPSERT_BY_EXTERNAL_ID"] | ||||||||||||
featuresOn | Array of strings (UpsertFeatureParam) Features to be activated during the upsert.
Example: ["UPSERT_BY_EXTERNAL_ID"] |
OK
{- "dataSource": "YOUR_DATASOURCE_ID",
- "featuresOn": [
- "UPSERT_BY_EXTERNAL_ID"
], - "businessPartners": [
- {
- "externalId": "YOUR_EXTERNAL_ID",
- "record": "{\"Customer number\":\"YOUR_EXTERNAL_ID\", \"Name\":\"COMPANY_NAME\", \"Country\":\"COUNTRY_CODE\", \"City\":\"CITY\", \"Street\":\"STREET\", \"Postal code\":\"POSTAL_CODE\"}"
}
]
}
{- "numberOfAccepted": "10",
- "numberOfFailed": "10",
- "failures": [
- {
- "id": "567326478287468742",
- "externalId": "LFA1.1234567",
- "message": "This record could not be stored due to timeout."
}
], - "featuresOn": [
- "UPSERT_BY_EXTERNAL_ID"
]
}