
| Related Topics: | ||
If you have some basic programming knowledge, you can use the XFRACAS web service in your own custom application to insert XML files into the import queue or insert time/usage reports for serialized systems.
You can download a sample application that demonstrates the basic process for using the web service.
XfracasImportExample.zip (*.zip)
On the web server, IIS must be configured with HTTP Activation enabled for the .NET Framework. (See XFRACAS Implementation Guide (*.pdf).
The following functions are available. For parameters and code examples, see XFRACAS XML Import Business Logic (*.pdf) and the sample application.
ImportXML - Inserts an XML file into the XFRACAS import queue. This is equivalent to clicking Add via the website. Note that:
The web service can insert any of the XML file types that can be uploaded manually via the Data Import page in the XFRACAS website, such as Incident (xml) or Master BOM (xml), etc.
The web service cannot be used to insert XLSX files into the import queue.
ProcessImports - Immediately begins processing of all files in the import queue for all entities. This is equivalent to clicking Process via the website. To view the processing status of the files, check the Processed and Error logs on the website.
Note: In Version 11, the ProcessImports function does not have a parameter for entity ID. If your implementation has more than one entities, it will process the queue for the entity that is currently set as the default for the user that the application is running as. You can change the user's default entity at any time via the XFRACAS website. Alternatively, you can process the import queue by manually clicking the Process command in the website or by configuring the XFRACAS DIU to process the queue for each entity on a scheduled basis.
© 2006-2018. HBM Prenscia Inc. ALL RIGHTS RESERVED.