Save XML data into the database
Typically an API caller would retrieve data from a get function such as AssetXML, then load the xml string into an XML document object, then edit the data, and finally save the data using this method
sHash : The hash returned from the logon function
sUserName : The username of the logged on user
sDatabase : The database name of your instance
sIP : Your IP address. This must match your web facing IP address
The XML to be saved
bIgnoreWarnings : Normally this is set to false. If true, warning triggers will be ignored and the data will either save or raise an error
sDNS : The DNS path of your instance
lPort : The port of your instance (normally 443)
sScheme : This is always "https"
sNonce : This must be the nonce passed to you by the logon function
datNonce : This must be the nonce date passed to you by the logon function
Returns an empty string if the save was successful. Otherwise it returns an error message
There is no restful call for this SOAP Interface operation - use a SOAP method instead
Return w.WebSaveXML(sHash, sUserName, sDatabase, sIP, sXML, bIgnoreWarnings, sDNS, lPort, sScheme, sNonce, datNonce)
AMSX is an internal language and does not need to access web services to execute
XCS access the server through a web browser. API calls can be executed directly from API Commands using Server.API, Server.Save and Server.SaveSpecial
Download the Visual Studio API Samples Project
Return to the API Index Page