8012139

How to Import multiple XML records into Other Asset using Curl?

Discussion created by 8012139 on Jan 27, 2016
Latest reply on Jan 28, 2016 by Chris Walls
I have asset data from our old system that I am converting into XML so I can import them into Samanage Assets with custom fields.  I have been able to get a single record working using an XML file and curl.

However,  I have over 900 records to move over.   Does anyone have an idea on how I can accomplish this.   I didn't realize that curl only takes in a single XML record at a time.  So somehow I need to have a script read in each record at a time and run the curl command to insert the data.

Any suggestions?

Outcomes