Repository.XFRACAS.ImportXFRACASXML: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




<onlyinclude>Imports data from an XML file into a desired XFRACAS entity. Returns an '''Integer''' that represents the system ID.</onlyinclude>
<onlyinclude>Imports an import byte stream into a desired XFRACAS entity. Returns an '''Integer''' that represents the system ID of the byte array.</onlyinclude>


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]].
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]].

Revision as of 18:44, 19 August 2015

APIWiki.png


Member of: SynthesisAPI10.Repository


Imports an import byte stream into a desired XFRACAS entity. Returns an Integer that represents the system ID of the byte array.

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)