Skip to main content Skip to complementary content
Close announcements banner

Clearing the values of an entire multi-occurrence complex type field

Availability-noteDeprecated
To clear the values of an entire multi-occurrence complex type field, you must specify the type element structure in the update information.

Request body

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

<records>
  <Company>
    <CompanyId>DStar</CompanyId>
    <Branches>
      <Office1></Office1>
      <Office2></Office2>
      <Office3></Office3>
    </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>
</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 – let us know how we can improve!