2.2.1.13 UpdateRecord

The UpdateRecord complex type specifies the new values and original values for fields in an Updatable Source (section 3.1.1) that are used for insert, update, and delete operations.

The UpdateRecord type is an input used by some protocol operations.

The following ABNF references types specified by section 2.2 and applies to UpdateRecord, unless extended or overridden by an operation specification.

 UpdateRecord = json-object
 OriginalValues = json-quotation-mark "OriginalValues" json-quotation-mark json-name-separator JsonArrayOfArrayOfAnyType
 NewValues = json-quotation-mark "NewValues" json-quotation-mark json-name-separator JsonArrayOfArrayOfString
 Paging = json-quotation-mark "Paging" json-quotation-mark json-name-separator PagingInfo
 ReturnDataMacroIds = json-quotation-mark "ReturnDataMacroIds" json-quotation-mark json-name-separator json-bool

UpdateRecord MUST contain at least one and no more than four json-member instances, and each instance MUST be different. Each instance MUST be one of the following: NewValues, OriginalValues, Paging, and ReturnDataMacroIds.

NewValues: A JsonArrayOfArrayOfString (section 2.2) that specifies the new values of a collection of records which need to be inserted, updated, or deleted. The protocol server will insert, update, or delete the records in a Source (section 3.1.1) with the values that are provided by this element.

OriginalValues: A JsonArrayOfArrayOfAnyType (section 2.2) that specifies the existing values of a collection of records in a Source (section 3.1.1), which need to be inserted, updated, or deleted.

Paging: A PagingInfo complex type, as specified in section 2.2.1.7. MUST be present.

ReturnDataMacroIds: MUST NOT be used.