AS2 Connector > Monitoring AS2 file transfers > Monitoring AS2 Send file transfer jobs using the REST API
  

Monitoring AS2 Send file transfer jobs using the REST API

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. For more information about the Informatica Intelligent Cloud Services REST API, see REST API Reference.

Get Request

When you send the request for status of an AS2 Send 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"
}