useUpdateMapExtensions()
useUpdateMapExtensions():
Provides an imperative updateMapExtensions function that posts a single
EnvironmentMapExtension update. Accepts JSON payloads and handles either JSON
or XML responses from Boomi.
Throws
If required inputs are missing or the update request fails.
Returns
{ updateMapExtensions: (envMapExtension: EnvironmentMapExtension) => Promise<EnvironmentMapExtension>; isUpdating: boolean; updateError: null | string; updatedExtensions: EnvironmentMapExtension[]; }
Hook API exposing the updater function, loading/error state, and last updated extensions.
updateMapExtensions()
updateMapExtensions: (envMapExtension: EnvironmentMapExtension) => Promise<EnvironmentMapExtension>
Parameters
Returns
Was this topic helpful?