PUT
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
/
{functionId}
定義の関数を更新
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>"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing Hub
Marketing HubProfessional
Sales Hub
Sales HubProfessional
Service Hub
Service HubProfessional
Content Hub
Content 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」のいずれか。

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

関数のID。

appId
integer
required

アプリのID。

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