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. Mass Ingestion Files REST API
  7. RunAJob utility
  8. REST API codes
  9. REST API resource quick references

REST API Reference

REST API Reference

Stop a file listener

Stop 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."}


Updated May 03, 2021