Jobs
Returns a list of jobs, with optional date filtering.
Use your AccountSID as the username and AuthToken as the password.
Your unique Account SID.
Return jobs scheduled after this date and time (ISO 8601).
Return jobs scheduled before this date and time (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 a specific job.
Use your AccountSID as the username and AuthToken as the password.
Your unique Account SID.
The unique identifier for the job.
A single job object representing the job's status.
The unique identifier for the job.
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 job's status.
{
"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 a
302 Foundto redirect to a temporary signed URL for download.If the job is not yet complete, returns a
202 Acceptedwith the current job status.If
Mode=Streamis used, returns a200 OKwith the file streamed directly.
Use your AccountSID as the username and AuthToken as the password.
Your unique Account SID.
The unique identifier for the job whose result you want to download.
Set to 'Stream' to get the file directly in the response instead of a redirect.
The job result file is streamed in the response body.
The job is not yet complete. The response body contains the current job status.
Found. The client is redirected 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.
Use your AccountSID as the username and AuthToken as the password.
Your unique Account SID.
The unique identifier for the job to replay.
The job was successfully re-queued. The response body contains the updated job status.
The unique identifier for the job.
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

