Zum Hauptinhalt springen
PUT
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
定義の関数を挿入
curl --request PUT \
  --url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType} \
  --header 'Content-Type: text/plain' \
  --data '<string>'
{
  "functionType": "PRE_ACTION_EXECUTION",
  "id": "<string>"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing HubProfessional
Sales HubSales HubProfessional
Service HubService HubProfessional
Content HubContent Hub無料ツール

Authorizations

hapikey
string
query
required

Path Parameters

definitionId
string
required

定義のID。

functionType
enum<string>
required

関数のタイプ。「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
appId
integer
required

アプリのID。

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