Zum Hauptinhalt springen
POST
/
automation
/
v4
/
workflow-id-mappings
/
batch
/
read
Migrierte Workflow-Zuordnungen abrufen
curl --request POST \
  --url https://api.hubapi.com/automation/v4/workflow-id-mappings/batch/read \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "flowMigrationStatuses": "12345",
      "type": "FLOW_ID"
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "flowId": 123,
      "workflowId": 123
    }
  ],
  "status": "PENDING"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
automation

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
inputs
(FLOW_ID · object | WORKFLOW_ID · object)[]
required
  • FLOW_ID
  • WORKFLOW_ID

Response

successful operation

completedAt
string<date-time>
required
startedAt
string<date-time>
required
results
object[]
required
status
enum<string>
required
Available options:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>
I