curl --request GET \
--url https://api.hubapi.com/crm/v3/imports/ \
--header 'Authorization: Bearer <token>'{
"results": [
{
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"mappedObjectTypeIds": [
"<string>"
],
"metadata": {
"counters": {},
"fileIds": [
"<string>"
],
"objectLists": [
{
"listId": "<string>",
"objectType": "<string>"
}
]
},
"optOutImport": true,
"state": "CANCELED",
"updatedAt": "2023-11-07T05:31:56Z",
"importName": "<string>",
"importRequestJson": {},
"importSource": "API",
"importTemplate": {
"templateId": 123,
"templateType": "admin_defined"
}
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
},
"prev": {
"before": "<string>",
"link": "<string>"
}
}
}Renvoie une liste paginée des importations actives pour ce compte.
curl --request GET \
--url https://api.hubapi.com/crm/v3/imports/ \
--header 'Authorization: Bearer <token>'{
"results": [
{
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"mappedObjectTypeIds": [
"<string>"
],
"metadata": {
"counters": {},
"fileIds": [
"<string>"
],
"objectLists": [
{
"listId": "<string>",
"objectType": "<string>"
}
]
},
"optOutImport": true,
"state": "CANCELED",
"updatedAt": "2023-11-07T05:31:56Z",
"importName": "<string>",
"importRequestJson": {},
"importSource": "API",
"importTemplate": {
"templateId": 123,
"templateType": "admin_defined"
}
}
],
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
},
"prev": {
"before": "<string>",
"link": "<string>"
}
}
}Produits pris en charge
Portées requises
The access token received from the authorization server in the OAuth 2.0 flow.
Le jeton de curseur de pagination de la dernière ressource lue avec succès sera renvoyé en tant que propriété JSON « paging.next.after » d'une réponse paginée contenant plus de résultats.
Le nombre maximum de résultats à afficher par page.
successful operation
Afficher attributs enfants
L'horodatage du moment où l'objet a été créé, au format ISO 8601.
L'identifiant unique pour cet import.
Afficher attributs enfants
Les ID des fichiers téléchargés dans l'API du gestionnaire de fichiers.
Si l'importation est une liste de personnes qui ne doivent plus recevoir des e-mails ou non.
Le statut de l'importation.
CANCELED, DEFERRED, DONE, FAILED, PROCESSING, REVERTED, STARTED L'horodatage de la dernière mise à jour de la fiche d'informations de l'import, au format ISO 8601 instantané.
Le nom fourni par l'utilisateur pour cet import.
La configuration complète de la demande d'import sous forme d'objet JSON.
Indique où/comment l'import a été lancé.
API, CRM_UI, IMPORT, MOBILE_ANDROID, MOBILE_IOS, SALESFORCE Afficher attributs enfants
L'identifiant unique du modèle enregistré spécifique ou de l'import précédent référencé.
La classification du type de modèle représenté, ainsi que son origine ou son objectif.
admin_defined, previous_import, user_file Afficher attributs enfants
specifies the paging information needed to retrieve the previous set of results in a paginated API response