update2

Warning: This method is deprecated. Please change any existing code to use updateRecord, which takes an object ID as a parameter.

Purpose

Updates an existing data record from URL parameters.

HTTP Method

POST or PUT

URL

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

URL Parameters

sessionId

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

id

The record ID.

useIds

A boolean value: if true, use numeric IDs for lookup and picklist values; otherwise, use integration codes and record names.

field1

Parameter’s name – URL-encoded integration name of field to set; parameter’s value – URL-encoded value of field to set.

field2

Same as field1 for other fields.

Names of URL parameters used by this API are integration names of your fields. If a field is not found, the system ignores the URL parameter and keeps the current field's value. Fields' values must be formatted the same way as CSV imported values; for more information, see Importing Data.

Permissions Required

Edit permission for the requested object type.

Response

Standard success or failure output.

Example

Input example (URL parameters):

			&id=314452&useIds=false&club_member=false&lastName=Smith&status=Created	
			

Output example:

			<resp status="ok">
				<Msg>12 fields have been processed</Msg>
			</resp>