Import policy web services

To import policies from XML data from an external system, use the PolicyChangeAPI web service.

There is one method called quoteSubmission, which you can call to quote a submission in PolicyCenter.

The quoteSubmission method accepts the following arguments.

  • An account number
  • The product code, such as PersonalAuto or WorkersComp
  • A producer code public ID
  • A policy period data object, which is XML data
  • Parse options to pass to XML parser

Within PolicyCenter, the format of the XML must conform to the structure defined by the GX model in the following file.

gw.webservice.pc.pcVERSION.gxmodel.policyperiodmodel

The method returns an object of type QuoteResponse, which is a Gosu class that contains the following properties.

  • JobNumber – Job number of the new job
  • Errors – Any errors as an array of String objects