Object Structure Element
Integration XML and Schemas 67
Object Structure Element
Every XML document contains one or more object structure elements.
The following table lists the attributes that can apply to the object structure
element. All attributes in this table are optional.
The following example illustrates an object structure element with attributes.
<?xml version="1.0" encoding="UTF-8"?>
<max:SyncMXPERSON>
<max:MXPERSONSet>
<max:PERSON action="Delete" relationship=EMAIL"
deleteForInsert="EMAIL" transLanguage="EN">
.
.
.
</max:PERSON>
</max:MXPERSONSet>
Key Fields
Any field that is part of a parent key and child key, appears only in the parent
object in the object structure. For example, PERSONID is part of the key of both
the PERSON and PHONE objects, but in the MXPERSON object structure it
appears only in the PERSON object.
Attribute Description Type Applicable to
action The value is derived from action
attribute of the primary object within
the message.
For outbound messages, this attribute
is for informational purposes only.
For inbound messages, the processing
logic uses this value only for the sync
operation; otherwise the system
ignores it.
ProcessingActionType All input and output
operations
relationship Identifies the relationship that the
system uses to retrieve the object
using the parent object.
string All input and output
operations
deleteForInsert Identifies a child object that the
system must delete before
reinserting.
This attribute applies only to inbound
messages where the operation is sync
and the action is change.
string All input and output
operations