Custom Master Data Composite Services
In the previous section, we have seen the use of Custom Master Data APIs. In order to obtain information about custom master data instances which are associated with a thing (using the custom master data APIs), a user must first use Read an Instance Association to fetch the master data instance associated with the thing, and then use Read an Object Instance to get details about the custom master data instance. Custom Master Data Composite Services allow the users to retrieve the same information without having to make multiple calls, that is, they can just use one composite API to get the data.
The Custom Master Data Composite Services consist of two services: Composite Custom Master Data Basic Service and Composite Custom Master Data Details Service. The basic service retrieves a list of things along with the basic details of the custom master data. The details service retrieves a list of things along with their custom master data details, based on the object types specified in the request header. The service retrieves metadata and data for object types that are common across specified thing types.