Get all documents unique ID

MDM query language and REST data access

EnrichVersion
6.3
task
Data Governance > Consolidating data
Data Governance > Retrieving data
EnrichPlatform
Talend MDM Server
Talend MDM Web UI
Get the unique ids of all documents.

Request

GET /data/{containerName}/documents/uniqueIds

Request URL

http://{serverurl}/talendmdm/services/rest/data/{containerName}/documents/uniqueIds?type={typeName}

Query parameters

  • containerName: This is a String value which specifies the name of the data container from which you want to get the unique ids of all documents.
  • containerType: This is a String value which represents the type of the data container. It is either ‘MASTER’ (default) or ‘STAGING’.
  • typeName: This is a String value which specifies the name of the entity.

Headers

  • Authorization: Basic Authentication scheme

Request Body

No content.

Response Body

An array of document unique ids of all entities or the specified entity.

For example, , use http://localhost:8180//talendmdm/services/rest/data/Product/documents/uniqueIds?type=Product to return the document unique ids of only the Product entity:

[
  "Product.Product.1",
  "Product.Product.2"
]

Response Code

200 - If the operation is executed successfully, the documents unique ids of all entities or the specified entity are returned in an array.