Skip to main content
Close announcements banner

Examples: Partially updating simple type fields or multi-occurrence fields of multiple data records through the REST API

Availability-noteDeprecated
These examples show how to provide the correct request body to update partially simple type fields or multi-occurrence fields of multiple data records successfully through the REST API.

In these examples, the data records to be updated pertain to the Product entity in the Product data model of the MDM demo project, as shown below.

<Product>
  <Id>1</Id>
  <Name>Book</Name>
  <Description>Harry</Description>
  <Features>
    <Sizes/>
    <Colors/>
  </Features>
  <Price>10.00</Price>
  <Stores/>
</Product>
<Product>
  <Id>2</Id>
  <Name>Book</Name>
  <Description>Harry Potter</Description>
  <Features>
    <Sizes/>
    <Colors/>
  </Features>
  <Price>20.00</Price>
  <Stores/>
</Product>
<Product>
  <Id>3</Id>
  <Name>Book</Name>
  <Description>Harry Potter Series</Description>
  <Features>
    <Sizes>
      <Size>Large</Size>
      <Size>X-Large</Size>
    </Sizes>
    <Colors>
      <Color>Light Pink</Color>
    </Colors>
  </Features>
  <Price>30.00</Price>
  <Stores/>
</Product>

Before you perform a partial update, check that:

  • The Talend MDM Server is up and running.
  • The MDM demo project has been imported and deployed to the Talend MDM Server.
  • The above-mentioned data records already exist.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!