Custom Qualys-Jira Integration

Hi, I have this code to make a custom Qualys - Jira integration.

curl -u "username:password" -H "X-Requested-With: curl" "https://qualysapi.qualys.com/api/2.0/fo/asset/host/vm/detection/?action=list&show_results=1&output_format=XML&truncation_limit=500&detection_updated_since=2019-10-20&vm_processed_after=2019-10-20&status=New,Active,Re-Opened&include_search_list_titles=JIRA+Integration+Dynamic+Ticket+Criteria"

Where should I put the Jira rest API to pull those data from the Qualys portal and create Jira tickets?

Thanks