Skip to main content
GET
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
/
{functionId}
Recuperar una función de una definición dada
curl --request GET \
  --url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId}
{
  "functionSource": "<string>",
  "functionType": "PRE_ACTION_EXECUTION",
  "id": "<string>"
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubPro
Sales HubSales HubPro
Service HubService HubPro
Content HubContent HubGratuito

Authorizations

hapikey
string
query
required

Path Parameters

definitionId
string
required

El ID de la definición.

functionType
enum<string>
required

El tipo de función. Puede ser PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS, POST_FETCH_OPTIONS, POST_ACTION_EXECUTION.

Available options:
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS,
POST_FETCH_OPTIONS,
POST_ACTION_EXECUTION
functionId
string
required

El ID de la función.

appId
integer
required

El ID de la aplicación.

Response

successful operation

functionSource
string
required
functionType
enum<string>
required
Available options:
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS,
POST_FETCH_OPTIONS,
POST_ACTION_EXECUTION
id
string