Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. File Ingestion and Replication REST API
  7. Streaming Ingestion and Replication REST API
  8. RunAJob utility
  9. ParamSetCli utility
  10. REST API codes
  11. REST API resource quick references

REST API Reference

REST API Reference

Getting the status of a file listener

Getting the status of a file listener

Use a GET request to request the status of a file listener job.

GET request

To view the status of a file listener, use the following URI:
GET <server URL>/mftsaas/api/v1/filelisteners/job/<Job ID>/status
Include the following field in the request:
Field
Type
Description
Job ID
String
ID number associated with the file listener job.

GET request example

To view the status of a file listener job, you might use the following request:
GET <server URL>/mftsaas/api/v1/filelisteners/job/<Job ID>/status Content-Type: application/json Accept: application/json icSessionId: <SessionId>

GET response example

If the request to view the status of a file listener job is successful, you might receive a response similar to the following example:
{ "status": "STOPPED", "jobId": 1038 }
If the request to view the status of a file listener job is unsuccessful, you might receive a response similar to the following example:
{ "responseCode": "NOT_FOUND", "message": "File listener not found for TaskId: 1079" }

0 COMMENTS

We’d like to hear from you!