---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Insert related records

# Insert related records using SOAP {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Support is available for inserting hierarchical data into tables or web service
import set tables. The hierarchical data in the Insert API is automatically mapped to
related records of the targeted table.

## Vorbereitungen

Role required: admin

## Prozedur

Create and set the property glide.web_service.hierarchical to true.  
The client of the API can also override this value by invoking the SOAP web service with the URL parameter hierarchical=true.

## Beispiel

For example, when a related list is created for the incident table called
`u_custom_comments`:  
Abbildung : 1. Hierarchical Incident

And `u_comment_items` is created as a related list for
`u_custom_comments`:  
Abbildung : 2. Hierarchical Custom Comments
* **[WSDL Schema with related records](https://servicenow-prod.fluidtopics.net/y02XPCjiNwf8fG8ijQzv~Q)**   
  When a WSDL for the target Incident table is requested with an additional parameter of hierarchical=true, the WSDL schema for the Insert function will reflect available related records that may participate in the hierarchical data payload.
* **[Hierarchical SOAP Message](https://servicenow-prod.fluidtopics.net/jPw9pt7lY67PftBYQGle6g)**   
  When the SOAP message is constructed from the hierarchical web service described by the WSDL and invoked, it will create the `incident`, `u_custom_comments`, and `u_comment_items` records.

**Zugehörige Verweise**   

* [WSDL Schema with related records](https://servicenow-prod.fluidtopics.net/y02XPCjiNwf8fG8ijQzv~Q "When a WSDL for the target Incident table is requested with an additional parameter of hierarchical=true, the WSDL schema for the Insert function will reflect available related records that may participate in the hierarchical data payload.")
* [Hierarchical SOAP Message](https://servicenow-prod.fluidtopics.net/jPw9pt7lY67PftBYQGle6g "When the SOAP message is constructed from the hierarchical web service described by the WSDL and invoked, it will create the incident, u_custom_comments, and u_comment_items records.")

