Need help to upload extisting host data into forman using ansible playbook or hammer-cli

**Problem:Need help to upload host related data stored in csv or plain test format into foreman using ansible playbook or hammer-cli
columns in file which need to upload:
MAC_address host_name eth0_ip eth0_mask eth1_ip eth1_mask eth4_ip gateway route frr httpd tomcat soffice mcached oracle named backup bkpcol syslog ntp billing sched cron nfs mysql postgres mongo jpp obiee elastic kibana newrelic samba dhcp nagios ganglia metrics fbeat firewall mail2
Test test01 192.X.X.X/24 - 10.X.X.X/24 - - 192.X.X.X INR - - - - - - C - - 6 S N - R - N - - - - - - - N - - A -

**Expected outcome:All data should be available in foreman, so that it can be fetched again using ansible playbook as facts

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:
Need to know what all parameters are available in foreman to map the data.

I have uploaded data to foreman using hammer-cli with --parameters option (added around 70 parameters).
How to fetch these parameters to remote host and store it as ansible facts.
I can fetch data by calling API, but need help in storing these as custom facts.