Skip to main content
PUT
Insérez une fonction pour une définition

Supported products

Autorisations

hapikey
string
query
requis

Paramètres de chemin

appId
integer<int32>
requis

L'identifiant unique de l'application associée à l'action d'automatisation.

definitionId
string
requis

L'identifiant unique de la définition à laquelle la fonction sera ajoutée.

functionType
enum<string>
requis

Le type de fonction à insérer : Les valeurs valides sont PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS, POST_FETCH_OPTIONS et POST_ACTION_EXECUTION.

Options disponibles:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS

Corps

text/plain

The body is of type string.

Réponse

successful operation

functionType
enum<string>
requis

Le type de fonction, avec les valeurs acceptées : POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.

Options disponibles:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS
id
string

L'identifiant unique de la fonction.

Dernière modification le 6 octobre 2026