サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Authorizations
Path Parameters
定義のID。
変更履歴のID。
アプリのID。
curl --request GET \
  --url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/revisions/{revisionId}{
  "revisionId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "definition": {
    "functions": [
      {
        "functionType": "PRE_ACTION_EXECUTION",
        "id": "<string>"
      }
    ],
    "actionUrl": "<string>",
    "published": true,
    "labels": {},
    "inputFields": [
      {
        "isRequired": true,
        "automationFieldType": "<string>",
        "typeDefinition": {
          "helpText": "<string>",
          "referencedObjectType": "CONTACT",
          "name": "<string>",
          "options": [
            {
              "hidden": true,
              "displayOrder": 123,
              "doubleData": 123,
              "description": "<string>",
              "readOnly": true,
              "label": "<string>",
              "value": "<string>"
            }
          ],
          "description": "<string>",
          "externalOptionsReferenceType": "<string>",
          "label": "<string>",
          "type": "string",
          "fieldType": "booleancheckbox",
          "optionsUrl": "<string>",
          "externalOptions": true
        },
        "supportedValueTypes": [
          "STATIC_VALUE"
        ]
      }
    ],
    "outputFields": [
      {
        "typeDefinition": {
          "helpText": "<string>",
          "referencedObjectType": "CONTACT",
          "name": "<string>",
          "options": [
            {
              "hidden": true,
              "displayOrder": 123,
              "doubleData": 123,
              "description": "<string>",
              "readOnly": true,
              "label": "<string>",
              "value": "<string>"
            }
          ],
          "description": "<string>",
          "externalOptionsReferenceType": "<string>",
          "label": "<string>",
          "type": "string",
          "fieldType": "booleancheckbox",
          "optionsUrl": "<string>",
          "externalOptions": true
        }
      }
    ],
    "revisionId": "<string>",
    "archivedAt": 123,
    "inputFieldDependencies": [
      {
        "dependencyType": "SINGLE_FIELD",
        "controllingFieldName": "<string>",
        "dependentFieldNames": [
          "<string>"
        ]
      }
    ],
    "executionRules": [
      {
        "labelName": "<string>",
        "conditions": {}
      }
    ],
    "id": "<string>",
    "objectTypes": [
      "<string>"
    ],
    "objectRequestOptions": {
      "properties": [
        "<string>"
      ]
    }
  },
  "id": "<string>"
}変更履歴IDを基準に定義の特定の変更履歴を取得します。
curl --request GET \
  --url https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/revisions/{revisionId}{
  "revisionId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "definition": {
    "functions": [
      {
        "functionType": "PRE_ACTION_EXECUTION",
        "id": "<string>"
      }
    ],
    "actionUrl": "<string>",
    "published": true,
    "labels": {},
    "inputFields": [
      {
        "isRequired": true,
        "automationFieldType": "<string>",
        "typeDefinition": {
          "helpText": "<string>",
          "referencedObjectType": "CONTACT",
          "name": "<string>",
          "options": [
            {
              "hidden": true,
              "displayOrder": 123,
              "doubleData": 123,
              "description": "<string>",
              "readOnly": true,
              "label": "<string>",
              "value": "<string>"
            }
          ],
          "description": "<string>",
          "externalOptionsReferenceType": "<string>",
          "label": "<string>",
          "type": "string",
          "fieldType": "booleancheckbox",
          "optionsUrl": "<string>",
          "externalOptions": true
        },
        "supportedValueTypes": [
          "STATIC_VALUE"
        ]
      }
    ],
    "outputFields": [
      {
        "typeDefinition": {
          "helpText": "<string>",
          "referencedObjectType": "CONTACT",
          "name": "<string>",
          "options": [
            {
              "hidden": true,
              "displayOrder": 123,
              "doubleData": 123,
              "description": "<string>",
              "readOnly": true,
              "label": "<string>",
              "value": "<string>"
            }
          ],
          "description": "<string>",
          "externalOptionsReferenceType": "<string>",
          "label": "<string>",
          "type": "string",
          "fieldType": "booleancheckbox",
          "optionsUrl": "<string>",
          "externalOptions": true
        }
      }
    ],
    "revisionId": "<string>",
    "archivedAt": 123,
    "inputFieldDependencies": [
      {
        "dependencyType": "SINGLE_FIELD",
        "controllingFieldName": "<string>",
        "dependentFieldNames": [
          "<string>"
        ]
      }
    ],
    "executionRules": [
      {
        "labelName": "<string>",
        "conditions": {}
      }
    ],
    "id": "<string>",
    "objectTypes": [
      "<string>"
    ],
    "objectRequestOptions": {
      "properties": [
        "<string>"
      ]
    }
  },
  "id": "<string>"
}定義のID。
変更履歴のID。
アプリのID。