Zum Hauptinhalt springen
GET
/
crm
/
v3
/
exports
/
export
/
async
/
tasks
/
{taskId}
/
status
Rufen Sie den Status des Exports ab, einschließlich der URL zum Herunterladen der Datei
curl --request GET \
  --url https://api.hubapi.com/crm/v3/exports/export/async/tasks/{taskId}/status \
  --header 'Authorization: Bearer <token>'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "errors": [
    {
      "category": "<string>",
      "context": {},
      "errors": [
        {
          "code": "<string>",
          "context": "{missingScopes=[scope1, scope2]}",
          "in": "<string>",
          "message": "<string>",
          "subCategory": "<string>"
        }
      ],
      "id": "<string>",
      "links": {},
      "message": "<string>",
      "status": "<string>",
      "subCategory": {}
    }
  ],
  "links": {},
  "numErrors": 123,
  "requestedAt": "2023-11-07T05:31:56Z",
  "result": "<string>",
  "startedAt": "2023-11-07T05:31:56Z",
  "status": "CANCELED"
}

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:
crm.export

Authorizations

Authorization
string
header
required

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

Path Parameters

taskId
integer
required

Die eindeutige ID des Exports.

Response

successful operation

completedAt
string<date-time>
required

Der Zeitstempel, wann der Export abgeschlossen war (Format ISO 8601).

startedAt
string<date-time>
required

Der Zeitstempel, wann der Exportprozess gestartet war (Format ISO 8601).

status
enum<string>
required

Der aktuelle Status des Exports. Mögliche Werte: PENDING, PROCESSING, COMPLETE oder CANCELED.

Verfügbare Optionen:
CANCELED,
COMPLETE,
PENDING,
PROCESSING
errors
object[]

Eine Filtergruppe von zugehörigen Links, die dem Export zugeordnet sind.

numErrors
integer

Die Anzahl der Fehler während des Export-Prozesses.

requestedAt
string<date-time>

Der Zeitstempel, wann die Exportanfrage abgeschlossen war (Format ISO 8601).

result
string

Die URL der Ergebnisdatei, wenn der Exportstatus COMPLETE lautet.