Property | Description |
|---|---|
Endpoint | /api/v2/data-collections/<dataCollectionId>/data-assets <dataCollectionId>: Required. Enter the system-generated unique identifier of the data collection to which you want to add the data assets. For more information about how you can use an API to get the system-generated unique identifier of a data collection, see Retrieve all data collections. To get the system-generated unique identifier of a data collection from the Data Marketplace user interface, open the data collection. The data collection page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/datacollection/25158afc-3dfb-44ef-8f3e-cec1e171d0f1?dtn=&tab=summary, the unique identifier is 25158afc-3dfb-44ef-8f3e-cec1e171d0f1. |
Method | PATCH |
Parameter | Description | Additional Information |
|---|---|---|
operation | Required. Specify whether you want to add or remove the data asset. Enter one of the following values:
| - |
dataAssetIds | Required. Enter the system-generated unique identifier of the data asset that you want to add to the data collection. | For more information about how you can use an API to get the system-generated unique identifier of a data asset, see Retrieve data assets. To get the system-generated unique identifier of a data asset from the Data Marketplace user interface, open the data asset. The data asset page's URL contains the unique identifier. For example, in the URL https://{{CDMP_URL}}/dataAsset/8c4c2089-6c7e-4696-a8f6-44f87639d65c?dtn=Table_Profiling_AK_1676302415587&tab=dataElements, the unique identifier is 8c4c2089-6c7e-4696-a8f6-44f87639d65c. |