Skip to main content
PUT
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
/
{functionId}
Actualizar una función de una definición
curl --request PUT \
  --url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId} \
  --header 'Content-Type: text/plain' \
  --data '<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.

Body

text/plain · string

The body is of type string.

Response

successful operation

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