Script to integrate XML API to php
You need to develop a script that is on schedule/on demand:
Listens to the FTP server, receives the XML file.
Forms POST request XML API.
Based on the API response, forms an XML response file and saves on FTP.
A detailed description of the task in the attached file.