Zum Hauptinhalt springen
POST
/
automation
/
v4
/
workflow-id-mappings
/
batch
/
read
Récupérer les mappages de workflows migrés
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"
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Gratuit
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Gratuit
Cette API requiert l'une des portées suivantes :
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