API (SOAP) – Event Types

API (SOAP) – Event Types

Introduction
When sending SOAP calls from a third party system to printIQ, you need to specify a System, an Event Type, and Job Number with corresponding File Reference.


Production Integration supported Systems
The following table lists the Systems and their Values

System
Value
Enfocus SWITCH
EnfocusSwitchScript
Kodak Prinergy Connect
prinergy
Esko Automation Engine
esko

Supported EventTypes

Below is a table of currently available EventTypes

ARTWORK_TRANSFERRED
ARTWORK_TRANSFERRED_FAIL
FILE_SENT_TO_PRESS
IMPOSITION_COMPLETED
JOB_CREATED
PREFLIGHT_ARTWORK_SPLIT_COMPLETE
PREFLIGHT_FAILED
PREFLIGHT_PASSED
PREFLIGHT_PASSEDWARNINGS
PROOF_APPROVED
PROOF_FAILED
PROOF_READY_TO_SEND
PROOF_SENT
RIP_FAILED
RIP_PASSED
SEND_TO_PRESS_FAIL
SEND_TO_PRESS_SUCCESS
UPDATE_JOB_DUE_DATE_FROM_TAT*
UPDATE_JOB_FINISH_SIZE




The following sample code will pass the IMPOSITION_COMPLETED EventType:

function sendSoap {

            var resp = SOAP.request[“http://yourprintiq.com/WebService/ProductionIntegration.asmx”], {

                              “http://iq.co.nz/:RunEvent” : {

                                    System: “EnfocusSwitchScript”,

                                    EventType: “IMPOSITION_COMPLETED”,

                                    SystemData: “”,

                                    JobRef: “J012345”,

                                    FileRefs: “J012345_Artwork file_1.pdf”,

                                    EventText: ““

                        }

                        },”http://iq.co.nz/RunEvent”);

            var resu = resp[“http://iq.co.nz/:RunEventResponse%E2%80%9D][%E2%80%9CRunEventResult”];

                        if (resu !== “Success”) {

                              throw new Error(“Invalid response from web service: “ + resu);   

                        }  

                        return resu;



      }

* 'TAT' is an acronym for Turn Around Time
    • Related Articles

    • API (SOAP) – Add Note

      Introduction   You may use SOAP calls to add Notes to a Job Details screen. As with other Production Integration API calls, you must reference the following Parameters System EventType JobRef Production Integration supported Systems   The following ...
    • API (SOAP) – Update Job Orientation

      Introduction You may use SOAP to call a production event that completes the edit job process, whereby allowing the job finish size to be altered. By incorporating this production event before or during a preflight check, you may avoid validation ...
    • API (SOAP) – Send Email

      Introduction You may use SOAP calls to send emails from printIQ. Email templates are configured via Admin / Customise, then the link to Emails   All of the email templates available on your system may be referenced by the following table of ID’s:   ...
    • API (SOAP) – Status Update

      Introduction By referencing the Production Status ID’s, you may use SOAP calls to update a Job’s Production Status. Production Statuses are located under Admin / Configure Factory / Terminology (under General). Production Status ID's The following ...
    • API (SOAP) – Run Timing Event

      Introduction   Within the print IQ application there is a SOAP web service called ProductionIntegration This service exposes an entry point to allow external applications to add timing to an operation on a section or job. The method in the web ...