Repository.XFRACAS.ImportXFRACASXML

From ReliaWiki
Revision as of 18:31, 19 August 2015 by Kate Racaza (talk | contribs)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI10.Repository


Imports data from an XML file into a desired XFRACAS entity. Returns an Integer that represents the system ID.

All XML files must first be in the XFRACAS format before they can be successfully imported. To view the XFRACAS formats, refer to the XFRACAS XML Import Documentation.

Syntax

.XFRACAS.ImportXFRACASXML(entityID, importType, byteData, fileTitle, fileDescription)

Parameters

entityID

Integer. The ID number of the XFRACAS entity to import the data into. (Required)

importType

The type of XFRACAS element (e.g., incident, problem, etc.) to import. Can be any XFRACASImportType constant. (Required)

byteData

Byte. The byte array of the XML to import. (Required)

fileTitle

String. The file title of the XML file byte array to import. (Required)

fileDescription

String. A description of the XML to import. (Required)