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|
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.
Note: When implementing new APIs, Intacct provides generic functions. The object-specific functions are labeled as legacy in the API documentation, which simply means they will not be enhanced. There are no plans to deprecate legacy functions, and in fact, there are cases in which they are the only functions available.