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. Model Serve REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes
  12. REST API resource quick references

REST API Reference

REST API Reference

Stopping a file listener

Stopping a file listener

Use a POST request to stop a file listener job.

POST request

To stop a file listener, use the following URI:
POST <server URL>/mftsaas/api/v1/filelisteners/<file listener ID>/stop
Include the following field in the request:
Field
Type
Description
fileListenerID
String
ID number associated with the file listener.

POST response example

If the request to stop the file listener is successful, you might receive a response similar to the following example:
{ "status": "STOPPED", "jobId": 1038 }

POST response example

If the request to stop the file listener is unsuccessful, you might receive a response similar to the following example:
{ "responseCode": "NOT_FOUND", "message": "File listener not found for ListenerId: bQdKQmGlFUUgS85AevLkqisd" }

Response : Agent down (403 Forbidden)

{ "responseCode": "NOT_FOUND", "message": "Agent \"01000008000000000002\" in Agent Group \"01000025000000000002\" is not accessible."}

0 COMMENTS

We’d like to hear from you!