For the complete documentation index, see llms.txt. This page is also available as Markdown.

Jobs

Endpoints for listing, retrieving, downloading, and replaying partner jobs.

Return a list of jobs

get

Returns a list of jobs scheduled by the account.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

Query parameters
CreatedAfterstring · dateOptional

Return jobs scheduled after this date (yyyy-MM-dd).

CreatedBeforestring · dateOptional

Return jobs scheduled before this date (yyyy-MM-dd).

Responses
200

OK

application/json
get/Mediapartners/{AccountSID}/Jobs
curl
200

OK

Return a job

get

Returns an object describing the status of the queried job.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

JobIdstringRequired

The unique job identifier.

Responses
200

OK

application/json
IdstringOptional

The unique identifier for this job.

Example: d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f
Typestring · enumOptional

The type of job.

Example: ClickExportPossible values:
ProgramIdstringOptional

The impact.com Program ID (CampaignId) this job was scheduled for.

Example: 3629
CreatedBystringOptional

The Account SID of the account that scheduled this job.

Example: <AccountSID>
CreatedDatestring · date-timeOptional

The date and time the job was initially scheduled.

Example: 2022-06-07T04:33:50-05:00
StartedDatestring · date-timeOptional

The date and time the job last started running.

Example: 2022-06-07T04:33:50-05:00
CompletedDatestring · date-timeOptional

The date and time the job was last successfully completed.

Example: 2022-06-07T04:33:50-05:00
AbandonedDatestring · date-timeOptional

Set when an attempt is made to start a job that is already running.

Example: 2022-06-07T04:33:50-05:00
CancelledDatestring · date-timeOptional

The date and time the job was last canceled.

Example: 2022-06-07T04:33:50-05:00
FailedDatestring · date-timeOptional

The date and time processing of this job last raised an error.

Example: 2022-06-07T04:33:50-05:00
LastProgressUpdateDatestring · date-timeOptional

The date and time progress on job processing was last updated.

Example: 2022-06-07T04:33:50-05:00
Statusstring · enumOptional

The current processing status of the job.

Example: COMPLETEDPossible values:
StatusMessagestringOptional

A human-readable message describing the current job status.

Example: Job processing completed successfully.
RecordsProcessedintegerOptional

The number of records processed up to the last progress update.

Example: 250
PercentageCompleteintegerOptional

The percentage of job processing that has been completed.

Example: 100
ReplayablebooleanOptional

Indicates whether this job type supports replay.

Example: true
ResultUristringOptional

API resource path to download the result file once the job is complete.

Example: /Mediapartners/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download
get/Mediapartners/{AccountSID}/Jobs/{JobId}
curl
200

OK

Download a Job Result

get

Download the job result file if completed successfully. If the job is not finished, the current status is returned (202). A job result is available for 90 days.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

JobIdstringRequired

The unique job identifier.

Query parameters
Modestring · enumOptional

If set to Stream, the file is streamed directly instead of using a redirect.

Possible values:
Responses
200

Returns the result file.

application/octet-stream
string · binaryOptional
get/Mediapartners/{AccountSID}/Jobs/{JobId}/Download
curl

Replay a Job

put

Replay a completed job. Useful for jobs that COMPLETED, FAILED, or CANCELLED, or when additional results are expected for the export window.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

JobIdstringRequired

The unique job identifier.

Responses
200

OK - Returns the status of the replayed job.

application/json
IdstringOptional

The unique identifier for this job.

Example: d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f
Typestring · enumOptional

The type of job.

Example: ClickExportPossible values:
ProgramIdstringOptional

The impact.com Program ID (CampaignId) this job was scheduled for.

Example: 3629
CreatedBystringOptional

The Account SID of the account that scheduled this job.

Example: <AccountSID>
CreatedDatestring · date-timeOptional

The date and time the job was initially scheduled.

Example: 2022-06-07T04:33:50-05:00
StartedDatestring · date-timeOptional

The date and time the job last started running.

Example: 2022-06-07T04:33:50-05:00
CompletedDatestring · date-timeOptional

The date and time the job was last successfully completed.

Example: 2022-06-07T04:33:50-05:00
AbandonedDatestring · date-timeOptional

Set when an attempt is made to start a job that is already running.

Example: 2022-06-07T04:33:50-05:00
CancelledDatestring · date-timeOptional

The date and time the job was last canceled.

Example: 2022-06-07T04:33:50-05:00
FailedDatestring · date-timeOptional

The date and time processing of this job last raised an error.

Example: 2022-06-07T04:33:50-05:00
LastProgressUpdateDatestring · date-timeOptional

The date and time progress on job processing was last updated.

Example: 2022-06-07T04:33:50-05:00
Statusstring · enumOptional

The current processing status of the job.

Example: COMPLETEDPossible values:
StatusMessagestringOptional

A human-readable message describing the current job status.

Example: Job processing completed successfully.
RecordsProcessedintegerOptional

The number of records processed up to the last progress update.

Example: 250
PercentageCompleteintegerOptional

The percentage of job processing that has been completed.

Example: 100
ReplayablebooleanOptional

Indicates whether this job type supports replay.

Example: true
ResultUristringOptional

API resource path to download the result file once the job is complete.

Example: /Mediapartners/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download
put/Mediapartners/{AccountSID}/Jobs/{JobId}/Replay
curl

Last updated