updateRecord
Purpose
Updates an existing data record from URL parameters.
Provide the integration names of the fields to set along with their values. If a field is not found, the system will ignore that URL parameter. Fields values must be formatted the same way as you would for a CVS import, see Importing data.
HTTP Method
PUT
or POST
URL
https://app.infiniteblue.com/rest/api/updateRecord
URL Parameters
sessionId
The session ID obtained from the body of the response when calling login.
objName
The object integration name.
useIds
A boolean value: if
field1, field2, ...
Integration name of the field(s) and their values. You must supply a value
for required fields. Some fields, such as those that represent
relationships, can have multiple values. Use the field name only once, and
specify the ID of the records to attach separated with a |
symbol.
output
Optional parameter specifying the output format, one of:
Permissions Required
Edit permission for the requested object type.
Response
Standard success or failure output.
Example
Input example (URL parameters):
&objName=person&id=314452&useIds=false&club_member=false&lastName=Smith&status=Created
Output example in JSON format:
{"status":"ok"}
Input example to update user record and send a welcome email (URL parameters):
&objName=user&output=json&id=138557&sendWelcomeEmail=true
Output example in JSON format:
{ "status": "ok", "Msg": "1 fields have been processed." }