updateArr

Purpose

Updates a group of records using data from an XML document.

For objects in dedicated tables, you must specify the objName.

HTTP Method

POST

URL

https://app.infiniteblue.com/rest/api/updateArr

URL Parameters

sessionId

The session ID obtained from the body of the response when calling login.

objName

The object integration name.

output

Optional parameter specifying the output format, one of: xml (default) or json.

Request Body

An XML document with valid id and useIds attributes (true or false) and data fields to be updated, wrapped in <data> XML nodes (see example below). You only need to include the fields to be changed; all fields not included will remain unchanged.

For objects in dedicated tables, you must specify the objName in the data XML nodes.

Required Permissions

Edit permission for the requested object types.

Response

Standard success or failure output.

Example

Input example:

<?xml version="1.0" encoding="utf-8" ?>
<request>
<data id="314452" useIds="false">
<Field name="club_member">true</Field>
</data>
<data id="314453" useIds="false">
<Field name="lastName">Gray</Field>
</data>
<request>

Output example:

<resp status="ok">
<Msg>2 records have been updated.</Msg>
</resp>