サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Authorizations
Path Parameters
アプリのID。
Body
application/json
- SINGLE_FIELD
- CONDITIONAL_SINGLE_FIELD
Response
successful operation
- SINGLE_FIELD
- CONDITIONAL_SINGLE_FIELD
curl --request POST \
--url https://api.hubapi.com/automation/v4/actions/{appId} \
--header 'Content-Type: application/json' \
--data '{
"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
}
}
],
"archivedAt": 123,
"functions": [
{
"functionSource": "<string>",
"functionType": "PRE_ACTION_EXECUTION",
"id": "<string>"
}
],
"actionUrl": "<string>",
"inputFieldDependencies": [
{
"dependencyType": "SINGLE_FIELD",
"controllingFieldName": "<string>",
"dependentFieldNames": [
"<string>"
]
}
],
"published": true,
"executionRules": [
{
"labelName": "<string>",
"conditions": {}
}
],
"objectTypes": [
"<string>"
],
"objectRequestOptions": {
"properties": [
"<string>"
]
},
"labels": {}
}'{
"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>"
]
}
}新しいカスタム ワークフロー アクションを作成します。
curl --request POST \
--url https://api.hubapi.com/automation/v4/actions/{appId} \
--header 'Content-Type: application/json' \
--data '{
"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
}
}
],
"archivedAt": 123,
"functions": [
{
"functionSource": "<string>",
"functionType": "PRE_ACTION_EXECUTION",
"id": "<string>"
}
],
"actionUrl": "<string>",
"inputFieldDependencies": [
{
"dependencyType": "SINGLE_FIELD",
"controllingFieldName": "<string>",
"dependentFieldNames": [
"<string>"
]
}
],
"published": true,
"executionRules": [
{
"labelName": "<string>",
"conditions": {}
}
],
"objectTypes": [
"<string>"
],
"objectRequestOptions": {
"properties": [
"<string>"
]
},
"labels": {}
}'{
"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。
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
successful operation
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute
Anzeigen untergeordnete attribute