Job

When you use the REST API to send AS2 files, use the REST API version 1 job resource to get the status of the file transfer.

Do not use the platform REST API version 2 job resource to get the status of an AS2 file transfer job.

Get Request

When you send the request for status of an AS2 file transfer job, include the run ID returned in the sendfiles POST response. Use the following URI:

mftsaas/api/v1/job/<runID>/status

Get Response

If successful, Data Integration returns the job status.
If unsuccessful, the response includes a reason for the failure.

Get Response Example

If the request is successful, you might receive a response similar to the following example:

{
    "jobStatus": "SUCCESS"
}