Zum Hauptinhalt springen
PUT
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
/
{functionId}
Eine Funktion für eine Definition aktualisieren
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>"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent HubKostenlos

Authorizations

hapikey
string
query
required

Path Parameters

definitionId
string
required

Die ID der Definition.

functionType
enum<string>
required

Typ der Funktion. Mögliche Optionen: PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS, POST_FETCH_OPTIONS, POST_ACTION_EXECUTION.

Verfügbare Optionen:
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS,
POST_FETCH_OPTIONS,
POST_ACTION_EXECUTION
functionId
string
required

Die ID der Funktion.

appId
integer
required

Die ID der App.

Body

text/plain · string

The body is of type string.

Response

successful operation

functionType
enum<string>
required
Verfügbare Optionen:
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS,
POST_FETCH_OPTIONS,
POST_ACTION_EXECUTION
id
string