The GetJob (JOB/ GET in REST) command retrieves the results of another command. This is used for checking jobs that are running for more than the default 5 seconds. This command is special in that its response structure depends on the job being retrieved.

The response looks like any other, including the job_id, msgs, status, and data fields, but the data field will be the type of whatever job was running.

GetJob (JOB/ GET in REST) will return a success if it manages to find the job in question, even if the requested job has returned a failure. This means that no faults will be generated for results retrieved this way. However, GetJob (JOB/ GET in REST) may still throw faults if it can’t find the job in question or other issues arise.

REST Syntax Associated API Topics
SOAP Syntax

REST Syntax

Click to view all REST Resources

JOB/ GET — Retrieves the result from a previous job. All other (not JOB/ GET) resources should return a job_id in the results.

HTTP Action — GET

URI — https://api.dynect.net/REST/Job/<job_id>/

Arguments:

No Arguments.

Response:

The response is dependent on the original request of the job_id.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

GetJob — Retrieves the result from a previous job. All other (not GetJob) resources should return a job_id in the results.

Arguments:

string tokenRequired. The session identifier.

string job_idRequired. Assigned to the original job as an identifier.
Must be included to ensure the correct job results are returned.

Response:

The response is dependent on the original request of the job_id.

Example Request — Click for More Info