API (SOAP) – Update Job Orientation

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 issues further along the pre-production path.

 

As with other Production Integration API calls, you must reference the following Parameters

  • System
  • EventType
  • JobRef
  • FileRefs

 

Production Integration supported Systems

The following table lists the Systems and their Value

 

System

Value

Enfocus SWITCH

EnfocusSwitchScript

Kodak Prinergy Connect

prinergy

Esko Automation Engine

esko

 

 

UPDATE_JOB_FINISH_SIZE EventType

The EventType is ‘UPDATE_JOB_FINISH_SIZE’. The SystemData value will reconfigure (update) the artwork width and height in millimeters. Format the SystemData value as per below:

 

{ Width: x, Depth: y }

 

The following code will flip (update) a business card to landscape orientation:

 

function sendSoap {

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

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

                                    System: “EnfocusSwitchScript”,

                                    EventType: “UPDATE_JOB_FINISH_SIZE”,

                                    SystemData: { Width: 90, Depth: 55 },

                                    JobRef: “J012345”,

                                    FileRefs: “J012345_Artwork file_1.pdf”,

                                    EventText: ““

                        }

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

            var resu = resp[“http://iq.co.nz/:RunEventResponse”][“RunEventResult”];

                        if (resu !== “Success”) {

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

                        }   

                        return resu;

 

      }

 

As with other Production Integration API calls, reference the applicable Job Number (JobRef) and File Name (FileRefs).

 

 

    • Related Articles

    • 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) – Job XML highlights

      Introduction The printIQ Job XML contains many elements, attributes and values to allow automated processing by supported production integration systems. As your third party system receives the Job XML from printIQ, use the below tags as guides to ...
    • 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 ...
    • 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) – 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 ...