{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml","oas-apis/data-exchange-api/@data-exchange-api-v5/api-v5.yaml":"oas-apis/data-exchange-api/@data-exchange-api-v5/api-v5.yaml","oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","replay-openapi","partial"]},"type":"markdown"},"seo":{"title":"Setup and Synchronize a Data Mirror","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":["openapi"],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"setup-and-synchronize-a-data-mirror","__idx":0},"children":["Setup and Synchronize a Data Mirror"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Overview"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The sequence of activities for setting up a data mirror and continuously synchronization with the local source system."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This instruction is based on ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://meta.cdq.com/Use_case/Data_Mirror_Setup_and_Synchronization"},"children":["Setup and Synchronize a Data Mirror"]}," use case published on the Wiki."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scenario"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this instruction you will learn how to:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create a Data Source"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Synchronize your data with the CDQ Data Model"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Storage"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create a Data Source a ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/documentation/_public/instructions/uploading-cvs-xls-data#step-1-create-a-storage"},"children":["Storage"]}," or Data Mirror is needed! Create one before further step and use its storageId value as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}," in the next steps of this instruction."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every created Storage or Data Mirror has a default Data Source."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-data-mirror-configuration","__idx":2},"children":["Step 1: Data Mirror Configuration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To configure a Data Mirror a Data Source and a Data Mapper Definition must be set."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To create Data Source:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Data Source"]}," endpoint to send the below request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set value of:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataSource"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataMapperDefinitionId"]},"  to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["storageId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}," in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameters"]}," section"]}]}]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v5/api-v5.yaml","pointer":"/paths/~1storages~1{storageId}~1datasources/post","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Details of created Data Source are provided:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"id\": \"YOUR_DATASOURCE_ID\",\n    \"name\": \"YOUR_DATASOURCE_NAME\",\n    \"dataMapperDefinitionId\": \"default\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Congratulations"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Your Data Source is created!"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-synchronize-data","__idx":3},"children":["Step 2: Synchronize Data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data synchronization process is dependent to the size of the data to be updated:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the update contains many Business Partners and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["file size"]}," <= 10 MB read: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/documentation/_public/instructions/uploading-cvs-xls-data"},"children":["File upload instruction"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the update contains many Business Partners and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["file size"]}," > 10 MB read: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/documentation/_public/instructions/url-upload"},"children":["Request upload instruction"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If the update is for one Business Partner go to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#single-record-update"},"children":["Single record update"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"first-time-data-upload","__idx":4},"children":["First time data upload"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To start the import job of a csv or xlsx file:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start Import Job"]}," endpoint to send the below request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set value of:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataMapperDefinitionId"]},"  to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataSource"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_NAME"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["featuresOn"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UPSERT_BY_EXTERNAL_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["storageId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Point the file path."]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml","pointer":"/paths/~1jobs~1importjobs/post","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the response you will find 3 important parameters:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["id"]}," with the value representing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_JOB_ID"]}," - the unique number of every upload job."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["progress"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0"]}," represents the progress of the job."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["status"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULED"]}," - the job is in the job queue."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note down received ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_JOB_ID"]}," for polling the job status. Check how to poll the job status ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/documentation/_public/instructions/uploading-cvs-xls-data#pool-for-the-completion-status"},"children":["here"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mass-data-update","__idx":5},"children":["Mass data update"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To perform mass data update follow the same steps from the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#first-time-data-upload"},"children":["First time data upload"]}," subchapter."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The key to successfully uploading is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UPSERT_BY_EXTERNAL_ID"]}," feature. The update file with correctly mapped ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External Id"]}," column after upload will result in data update for matching ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["externalIds"]}," and new record creation for new ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["externalIds"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"single-record-update","__idx":6},"children":["Single record update"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before the update of the existing records the Business Partner's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["externalId"]}," is needed. Be sure that the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["UPSERT_BY_EXTERNAL_ID"]}," feature is active."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To update existing records:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upsert Business Partners"]}," endpoint to send the below request."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the below example based on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["default"]}," mapping."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select example ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Single record update"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_ID"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Replace below values with the Business Partner data to be updated:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BP_EXTERNAL_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY_NAME"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COUNTRY_CODE"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CITY"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STREET"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POSTAL_CODE"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}," in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameters"]}," section."]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml","pointer":"/paths/~1v4~1storages~1{storageId}~1businesspartners/put","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Results"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["3 types of results can be expected:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New record created."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Existing record updated."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Something went wrong:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The response includes a message about the root of the issue."]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n\"numberOfAccepted\": 1,\n\"numberOfInserts\": 1,\n\"numberOfUpdates\": 0,\n\"numberOfFailed\": 0\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n\"numberOfAccepted\": 1,\n\"numberOfInserts\": 0,\n\"numberOfUpdates\": 1,\n\"numberOfFailed\": 0\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n\"numberOfInserts\": 0,\n\"numberOfUpdates\": 0,\n\"numberOfFailed\": 1,\n\"failures\":\n[\n\n    {\n        \"externalId\": \"0053\",\n        \"message\": \"Incorrect record quote escaping\"\n    }\n\n]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success","name":"Congratulations"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Now you know how to update a single record."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"additional-activities","__idx":7},"children":["Additional activities"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"read-updated-business-partner","__idx":8},"children":["Read updated Business Partner"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To start the update of the existing records:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Read Business Partners"]}," endpoint to send the below request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set values of:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["storageId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataSource"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["externalId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BUSINESSPARTNER_EXTERNALID"]}]}]}]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml","pointer":"/paths/~1v4~1storages~1{storageId}~1businesspartners/get","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"clear-a-complete-data-source","__idx":9},"children":["Clear a complete data source"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To clear a data source:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Clear Data Source"]}," endpoint to send the below request."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Remember that your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ALL"]}," data within cleared Data Source will be deleted."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set values of:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["storageId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataSource"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_ID"]}]}]}]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml","pointer":"/paths/~1storages~1{storageId}~1datasources~1{dataSourceId}~1clear/post","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"delete-a-data-source","__idx":10},"children":["Delete a data source"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To delete a data source:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete Data Source"]}," endpoint to send the below request."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Remember that your Data Source and its data will be deleted."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set values of:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["storageId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataSource"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_ID"]}]}]}]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml","pointer":"/paths/~1storages~1{storageId}~1datasources~1{dataSourceId}/delete","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"delete-a-business-partner-record","__idx":11},"children":["Delete a Business Partner Record"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To delete a data source:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete Business Partners"]}," endpoint to send the below request."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Remember that your Business Partner record will be deleted permanently."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the above example in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Try It Console"]}," now!"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete Business Partner Based on External Id"]}," example."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set values of:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["externalId"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BP_EXTERNAL_ID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["dataSource"]}," to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_DATASOURCE_ID"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_STORAGE_ID"]}," in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameters"]}," section."]}]},{"$$mdtype":"Tag","name":"ReplayOpenApi","attributes":{"descriptionFile":"oas-apis/data-exchange-api/@data-exchange-api-v4/api-v4.yaml","pointer":"/paths/~1storages~1{storageId}~1businesspartners~1delete/post","parameters":{},"options":{},"environments":{}},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"your-opinion-matters","__idx":12},"children":["Your opinion matters!"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We are constantly working on providing an outstanding user experience with our products. Please share your opinion about this tutorial!"]}]},"headings":[{"value":"Setup and Synchronize a Data Mirror","id":"setup-and-synchronize-a-data-mirror","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Step 1: Data Mirror Configuration","id":"step-1-data-mirror-configuration","depth":2},{"value":"Step 2: Synchronize Data","id":"step-2-synchronize-data","depth":2},{"value":"First time data upload","id":"first-time-data-upload","depth":3},{"value":"Mass data update","id":"mass-data-update","depth":3},{"value":"Single record update","id":"single-record-update","depth":3},{"value":"Additional activities","id":"additional-activities","depth":2},{"value":"Read updated Business Partner","id":"read-updated-business-partner","depth":3},{"value":"Clear a complete data source","id":"clear-a-complete-data-source","depth":3},{"value":"Delete a data source","id":"delete-a-data-source","depth":3},{"value":"Delete a Business Partner Record","id":"delete-a-business-partner-record","depth":3},{"value":"Your opinion matters!","id":"your-opinion-matters","depth":2}],"frontmatter":{"title":"Setup and Synchronize a Data Mirror","seo":{"title":"Setup and Synchronize a Data Mirror"}},"lastModified":"2026-05-14T08:19:51.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/documentation/_public/instructions/synchronize-a-data-monitor","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}