Jobs
Returns a list of jobs, which can be filtered by their creation date.
Use your AccountSID as the username and AuthToken as the password.
Return jobs scheduled after this date (ISO 8601).
Return jobs scheduled before this date (ISO 8601).
A list of job objects.
curl -L \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Jobs' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'A list of job objects.
{
"Jobs": [
{
"Id": "d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f",
"Type": "ClickExport",
"ProgramId": "3629",
"CreatedBy": "<AccountSID>",
"CreatedDate": "2022-06-07T04:33:50-05:00",
"StartedDate": "2022-06-07T04:33:50-05:00",
"CompletedDate": "2022-06-07T04:33:50-05:00",
"AbandonedDate": "2022-06-07T04:33:50-05:00",
"CancelledDate": "2022-06-07T04:33:50-05:00",
"FailedDate": "2022-06-07T04:33:50-05:00",
"LastProgressUpdateDate": "2022-06-07T04:33:50-05:00",
"Status": "COMPLETED",
"StatusMessage": "Job processing completed successfully.",
"RecordsProcessed": 250,
"PercentageComplete": 100,
"Replayable": true,
"ResultUri": "/Advertisers/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download"
}
]
}Returns an object describing the status of the queried job.
Use your AccountSID as the username and AuthToken as the password.
The unique identifier for the job.
A single job object representing the status of the job.
The unique job identifier.
d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915fThe type of job.
ClickExportPossible values: The Program ID (CampaignId) this job was scheduled for.
3629The Account SID of the account that scheduled this job.
<AccountSID>The date and time the job was created.
2022-06-07T04:33:50-05:00The date and time the job started processing.
2022-06-07T04:33:50-05:00The date and time the job completed successfully.
2022-06-07T04:33:50-05:00The date and time the job was abandoned, if applicable.
2022-06-07T04:33:50-05:00The date and time the job was cancelled, if applicable.
2022-06-07T04:33:50-05:00The date and time the job failed, if applicable.
2022-06-07T04:33:50-05:00The date and time of the most recent progress update.
2022-06-07T04:33:50-05:00The current status of job processing.
COMPLETEDPossible values: A message describing the current job status.
Job processing completed successfully.The number of records processed.
250The percentage of work completed.
100Indicates if this job type can be replayed.
trueA URI pointing to the result file of a successfully completed job.
/Advertisers/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Downloadcurl -L \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Jobs/{JobId}' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'A single job object representing the status of the job.
{
"Id": "d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f",
"Type": "ClickExport",
"ProgramId": "3629",
"CreatedBy": "<AccountSID>",
"CreatedDate": "2022-06-07T04:33:50-05:00",
"StartedDate": "2022-06-07T04:33:50-05:00",
"CompletedDate": "2022-06-07T04:33:50-05:00",
"AbandonedDate": "2022-06-07T04:33:50-05:00",
"CancelledDate": "2022-06-07T04:33:50-05:00",
"FailedDate": "2022-06-07T04:33:50-05:00",
"LastProgressUpdateDate": "2022-06-07T04:33:50-05:00",
"Status": "COMPLETED",
"StatusMessage": "Job processing completed successfully.",
"RecordsProcessed": 250,
"PercentageComplete": 100,
"Replayable": true,
"ResultUri": "/Advertisers/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download"
}Downloads the result file for a successfully completed job.
Returns 200 with the file if completed.
Returns 202 with the job status if still processing.
Returns 302 to redirect to a temporary signed URL for download (if
Modeis not 'Stream').
Use your AccountSID as the username and AuthToken as the password.
The unique identifier for the job.
Set to 'Stream' to get the file directly in the response instead of a redirect.
The job result file.
The job is not yet complete. The response body contains the current job status object.
Redirect to a temporary signed URL for result file download.
curl -L \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Jobs/{JobId}/Download' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'binaryRe-queues a completed, failed, or cancelled job for processing. This is useful if you expect additional results to be present for your original export window.
Use your AccountSID as the username and AuthToken as the password.
The unique identifier for the job to be replayed.
The job was successfully re-queued. The response body contains the new status of the replayed job.
The unique job identifier.
d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915fThe type of job.
ClickExportPossible values: The Program ID (CampaignId) this job was scheduled for.
3629The Account SID of the account that scheduled this job.
<AccountSID>The date and time the job was created.
2022-06-07T04:33:50-05:00The date and time the job started processing.
2022-06-07T04:33:50-05:00The date and time the job completed successfully.
2022-06-07T04:33:50-05:00The date and time the job was abandoned, if applicable.
2022-06-07T04:33:50-05:00The date and time the job was cancelled, if applicable.
2022-06-07T04:33:50-05:00The date and time the job failed, if applicable.
2022-06-07T04:33:50-05:00The date and time of the most recent progress update.
2022-06-07T04:33:50-05:00The current status of job processing.
COMPLETEDPossible values: A message describing the current job status.
Job processing completed successfully.The number of records processed.
250The percentage of work completed.
100Indicates if this job type can be replayed.
trueA URI pointing to the result file of a successfully completed job.
/Advertisers/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/DownloadForbidden. The job is not in a replayable state (e.g., it is still running) or is not a replayable type.
curl -L \
--request PUT \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Jobs/{JobId}/Replay' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'{
"Id": "d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f",
"Type": "ClickExport",
"ProgramId": "3629",
"CreatedBy": "<AccountSID>",
"CreatedDate": "2022-06-07T04:33:50-05:00",
"StartedDate": "2022-06-07T04:33:50-05:00",
"CompletedDate": "2022-06-07T04:33:50-05:00",
"AbandonedDate": "2022-06-07T04:33:50-05:00",
"CancelledDate": "2022-06-07T04:33:50-05:00",
"FailedDate": "2022-06-07T04:33:50-05:00",
"LastProgressUpdateDate": "2022-06-07T04:33:50-05:00",
"Status": "COMPLETED",
"StatusMessage": "Job processing completed successfully.",
"RecordsProcessed": 250,
"PercentageComplete": 100,
"Replayable": true,
"ResultUri": "/Advertisers/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download"
}Last updated
