Notification API
Available with Smap Server 26.04.01+.
This API manages notifications that fire when a form submission is received. The current implementation covers SharePoint list notifications, which write submission data to a designated SharePoint list each time a record is submitted.
The API is intended for server-to-server use (for example, a SharePoint Add-In that
automatically wires up a notification when a new Smap form is created). No
X-Requested-With header is required.
Authentication
Standard Basic Authentication is used (/api/v1). The calling user must have
analyst or admin privilege.
Column Map
The column_map array controls which Smap question answers are written to which
SharePoint list columns on each submission.
Field |
Description |
|---|---|
|
The internal name of the SharePoint column (not the display name). Use the SharePoint list settings to find the internal name if it differs from the label. |
|
The Smap question name as defined in the survey (the |
Update Mode
When sp_operation is "update", Smap will look for an existing list item whose
sp_match_column value equals the submitted value of sp_match_field, and update
that item rather than inserting a new one. If no matching item is found the submission
is silently skipped; no new row is inserted.