About XML API Functions
The XML API provides two types of functions:
Generic functions provide basic CRUD (
delete) operations. You supply the target objects with their appropriate parameters (in any order) as sub-elements of the function. One function call can operate on multiple objects.
Object-specific functions provide a set of CRUD functions for each object type—for example,
update_vendor, and so forth. Each object-specific function has a unique body structure and the sub-elements must be in the correct order. You must use a separate call for each object.
The following table shows examples of both types of functions. Note the difference in how multiple objects are created.
|Generic functions||Object-specific functions|
Note: By convention, all caps are used for object elements when showing examples of generic functions, and lowercase letters are used for object elements when using object-specific functions.