Replay a job

Replay a completed job. Replays are intended for jobs that have a COMPLETED, FAILED, or CANCELLED status, or if you expect additional results to be present for your chosen export window since you first scheduled the job.

Note: Read the best practices for exporting reports to learn more.

Parameters


No parameters.

Example request


curl 'https://api.impact.com/Agencies/<AccountSID>/Jobs/<JobId>/Replay' \
  -X PUT \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json'
  -H 'Content-length: 0'

Example response


Response codeResult
🟢 200Returns an object describing the status of the replayed job.
🔴 403The job is not in a replayable state or is not of a replayable type.
{
  "Id": "37b0dfb-ba0c-404d-a78b-ff4b9b182c8b",
  "Type": "ApiReport",
  "ProgramId": "3629",
  "CreatedBy": "{<AccountSID>",
  "CreatedDate": "2025-06-07T04:33:50-05:00",
  "StartedDate": "2025-06-07T04:33:50-05:00",
  "AbandonedDate": "2025-06-07T04:33:50-05:00",
  "CompletedDate": "2025-06-07T04:33:50-05:00",
  "CancelledDate": "2025-06-07T04:33:50-05:00",
  "FailedDate": "2025-06-07T04:33:50-05:00",
  "LastProgressUpdateDate": "2025-06-07T04:33:50-05:00",
  "Status": "COMPLETED",
  "StatusMessage": "Job processing completed successfully.",
  "RecordsProcessed": "250",
  "PercentageComplete": "100",
  "Replayable": "true",
  "ResultUri": "/Agencies/<AccountSID>/Jobs/37b0dfb-ba0c-404d-a78b-ff4b9b182c8b/Download"
}