insertMultiple
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API implementation
Creates multiple new records for the table targeted in the URL.
Input fields
The insertMultiple element may contain 1 or more record tags that contains all fields from the targeted table, excluding system fields. Limit the number of records inserted in a single operation to no more than 200. You can gradually increase this number with subsequent exports if the increase does not negatively impact instance performance.
Output fields
The insertMultipleResponse
tag is followed by 1 or more record tags that contains:
Table type | Output fields |
---|---|
Regular | The sys_id field and the display value of the target table (table ) are returned. |
Import set | The sys_id of the import set row, the name of the transformed target table ( There can be an optional status_message field or an error_message field value when When an insert did not cause a target row to be transformed (skipped because a key value is not specified), the sys_id field will contain the sys_id of the import set row, rather than the targeted transform table. |
Import set with multiple transforms | The response from this type of insert will contain multiple sets of fields from the regular import set table insert wrapped in a multiInsertResponse parent element. Each set will contain a
map field, showing which transform map created the response. |
Sample SOAP messages for a regular table
Example
The following example shows an insert that specifies the short description only:
Example
The resulting response looks like this:
Sample SOAP messages for an import set table
Example
The following example shows an insert that specifies the short description only:
Example
The resulting response looks like this: