Activity → Update
AI-generatedSummary
Updates an existing iMIS activity record using its sequence number, preserving all existing fields and replacing only specified properties.
Inputs
- activitySeqn (required) — The activity sequence number (ACTIVITY_SEQN) to identify the record to update.
- updateProperties — A collection of fields to update. Any field left empty or undefined is ignored; only provided fields are modified.
Output shape
A single item containing the updated activity record (with $type fields stripped for readability) and metadata indicating success and the specific fields updated.
The operation performs a GET to fetch the current state, merges the specified changes, and performs a PUT to persist. Requires valid iMIS API credentials.
Examples
Example 1: Modify the status and notes of an existing activity
Set Activity Sequence Number to 123456 and update Properties to include statusCode: 'CLOSED' and note: 'Follow-up completed'.
Example 2: Update user-defined fields on an activity
Set Activity Sequence Number to 999999 and update Properties to include uf1: 'New Value', uf4: 42, and uf7: 100.
