GET
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
特定の定義のタイプを基準に関数を取得
curl --request GET \
  --url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}
{
  "functionSource": "<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
appId
integer
required

アプリのID。

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