Zum Hauptinhalt springen
POST
/
crm
/
v3
/
lists
/
idmapping
Traduire l'ID de liste hérité en ID de liste moderne par lot
curl --request POST \
  --url https://api.hubapi.com/crm/v3/lists/idmapping \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  "<string>"
]'
{
  "legacyListIdsToIdsMapping": [
    {
      "legacyListId": "<string>",
      "listId": "<string>"
    }
  ],
  "missingLegacyListIds": [
    "<string>"
  ]
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Starter
Cette API requiert l'une des portées suivantes :
crm.lists.read

Authorizations

Authorization
string
header
required

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

Body

application/json · string[]

The body is of type string[].

Response

successful operation

legacyListIdsToIdsMapping
object[]
required
missingLegacyListIds
string[]
required

Une liste d'ID de listes héritées transmises mais non trouvées. Elle sera vide si aucun ID ne manque.