Pular para o conteúdo principal
GET
Recuperar uma função de uma determinada definição

Supported products

Autorizações

hapikey
string
query
obrigatório

Parâmetros de caminho

appId
integer<int32>
obrigatório

Identificador exclusivo do aplicativo associado à função.

definitionId
string
obrigatório

Identificador exclusivo da definição a que a função pertence.

functionId
string
obrigatório

Identificador exclusivo da função a ser recuperada.

functionType
enum<string>
obrigatório

O tipo de função a ser recuperada. Os valores válidos são PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS, POST_FETCH_OPTIONS e POST_ACTION_EXECUTION.

Opções disponíveis:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS

Resposta

successful operation

functionSource
string
obrigatório

O código-fonte ou script que define o comportamento da função.

functionType
enum<string>
obrigatório

O tipo de função. Os valores aceitos são: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.

Opções disponíveis:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS
id
string

O identificador exclusivo da função de ação.

Última modificação em 6 de outubro de 2026