NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Media/Music on Hold/User → Update MOH for User from Upload

AI-generated

Summary

Updates an existing music-on-hold item for a user by uploading audio from an incoming binary property or Base64 text. Choose the domain, user, and media index, then provide a script description and whether to convert the audio and wait for a synchronous response.

Inputs

  • Domain (required) — Select or enter the domain that contains the user.
  • User (required) — Select or enter the user within the domain.
  • Index (required) — Select an existing media item or enter its index.
  • Synchronous (required) — Choose whether to wait for a 200 response or receive a 202 acknowledgement; defaults to Yes.
  • Script (required) — Description of the audio file.
  • Convert — Whether the API should convert the file format for playback compatibility; defaults to Yes.
  • File Source (required) — Choose binary data from a previous node (default) or Base64 text input.
  • Binary Property — When using binary data, the name of the incoming binary property containing the audio; defaults to data.
  • Encoding — MIME type of the audio file, such as audio/wav or audio/mp3. The UI says to leave blank for auto-detection from binary data.
  • Base64 File — When using Base64 text input, provide the Base64-encoded audio content.
  • Refresh Dropdown Cache — Bypass cached dropdown values and fetch fresh options; defaults to false.

Output shape

Not determinable from the supplied source pack.

The source pack includes only signature-level entries for the execute implementation, so it does not show the request construction or returned data shape. The synchronous setting declares either a 200 response or a 202 acknowledgement.

Examples

Example 1: What changed in this turn?

Added an operation explanation for updating a user's music-on-hold audio from binary data or Base64 text, with UI inputs and output shape noted.

Links

Discussion