Skip to main content Skip to complementary content

Clearing the value of a specific element in a multi-occurrence complex type field

Request body

To clear the value of a specific element in a multi-occurrence complex type field (element "Office2" of field "Branches" in this example) of the Company record with CompanyId "DStar", send the following update information in the request body:

<records>
  <Company>
    <CompanyId>DStar</CompanyId>
    <Branches>
      <Office2></Office2>
    </Branches>
  </Company>
</records>

Result

After the successful mass partial update, the updated record should look like the following:

<Company>
  <CompanyId>DStar</CompanyId>
  <Subsidiaries>S_Beijing</Subsidiaries>
  <Subsidiaries>S_Shanghai</Subsidiaries>
  <Branches>
    <Office1>Large</Office1>
    <Office3>Small</Office3>
  </Branches>
</Company>

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 – please let us know!