Back to MarketoEnqueue Export Activity Job
Enqueue export job. This will place export job in queue, and will start the job when computing resources become available. The export job must be in "Created" state. Use Get Export Activity Job Status endpoint to retrieve status of export job. Required Permissions: Read-Only Activity
Input
type: object
properties:
parameters:
type: object
properties:
exportId:
type: string
description: Id of export batch job.
required:
- exportId
title: Parameters
Output
required:
- errors
- requestId
- result
- success
- warnings
type: object
properties:
errors:
type: array
description: Array of errors that occurred if the request was unsuccessful
items:
required:
- code
- message
type: object
properties:
code:
type: string
description: >-
Error code of the error. See full list of error codes <a
href="https://developers.marketo.com/rest-api/error-codes/">here</a>
message:
type: string
description: Message describing the cause of the error
requestId:
type: string
description: Id of the request made
result:
type: array
description: Array of results for individual records in the operation, may be empty
items:
required:
- exportId
- status
type: object
description: Response containing export job status information
properties:
createdAt:
type: string
description: Date when the export request was created
format: date-time
errorMsg:
type: string
description: Error message in case of "Failed" status
exportId:
type: string
description: Unique id of the export job
fileSize:
type: integer
description: >-
Size of exported file in bytes. This will have a value only when
status is "Completed", otherwise null
format: int64
fileChecksum:
type: string
description: >-
SHA-256 hash of exported file. This will have a value only when
status is "Completed", otherwise null
finishedAt:
type: string
description: >-
Finish time of export job. This will have value only when status is
"Completed" or "Failed", otherwise null
format: date-time
format:
type: string
description: Format of file as given in the request ("CSV", "TSV", "SSV")
numberOfRecords:
type: integer
description: >-
Number of records in the export file. This will have value only
when status is "Completed", otherwise null
format: int64
queuedAt:
type: string
description: >-
Queue time of export job. This will have value when "Queued" status
is reached, before that null
format: date-time
startedAt:
type: string
description: >-
Start time of export job. This will have value when "Processing"
status is reached, before that null
format: date-time
status:
type: string
description: >-
Status of the export job
("Created","Queued","Processing","Canceled","Completed","Failed")
success:
type: boolean
description: Whether the request succeeded
example: false
warnings:
type: array
description: Array of warnings given for the operation
items:
required:
- code
- message
type: object
properties:
code:
type: integer
description: Integer code of the warning
format: int32
message:
type: string
description: Message describing the warning