IBM MQ Managed File Transfer (MFT) provides a number of RESTful APIs. Initiate and monitor file transfers, automate transfers using resource monitors to name a few. These APIs can be used to develop dashboards in a language of your choice that supports REST APIs.This blog demonstrates the usage of MFT REST APIs using Python. These scripts are designed to help users quickly initiate transfers, check their status, create and trigger monitors, and explore the REST interface in a modular, reusable manner.
This writeup assumes the following:
- MQ and MFT configuration has been completed
- MQ Web Server has been configured and started.
- Basic authentication has been configured in the MQ Web Server.
- Python 3.6 or above has been installed
For setup help, refer to the official IBM documentation MFT Configuration Guide and Basic configuration of the MQWeb Server
The Python scripts have been hosted on GitHub. Among others, the REST API based scripts demonstrates the following:
1) Programmatically initiate and monitor file transfers
2) Filter and summarise transfers
3) Automate transfers using resource monitors
For more details visit the page.