Data ServicesgetJobStatusDetails Function for SOAP Web Services

Given a print job ID (such as 10000004), this function returns detailed status information about the print job.

Tip: The submitJobRequest function returns a long value representing a print job ID, which you can reuse in the getJobStatusDetails function.

When you create a SOAP Web Service data service for which the WSDL URL is the Loftware Enterprise SP Services Web Services Description Language (WSDL), an operation envelope template containing this function is one of those available. For more information about using SOAP Web Services in Loftware Enterprise SP, see SOAP API for Web Services Integration.

Important! Content in a SOAP Web Service data service or a Web Service integration is case sensitive. This includes names, attributes, and values.

ClosedAbout the syntax documentation

SOAP Operation Envelope (Request)

When you create a SOAP Web Service data service, the XML of the operation envelope template that you select is displayed as the Envelope parameter. Most operation envelope templates include some elements for which you must replace the value with a value appropriate to your environment. If this operation envelope template has such elements, they are described here.

Name

Type

Description

jobId

long

The print job ID for a print job for which you want to obtain the status

SOAP Response Function

The following is the structure of the Response Function expected as part of a SOAP Response received in response to the preceding type of SOAP Operation Envelope (Request). Any ellipses indicate expected data. For more information, see SOAP API for Web Services Integration.

<pub:getJobStatusDetailsResponse xmlns:pub="http://published.webservices.loftware.com/">

<return success="true">

<result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="pub:lwJobDto">

<jobData>

<entryList>

<value><!-- LOFTWARE USERNAME --></value>

<name>!CLIENT_USERNAME!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE USER FIRSTNAME --></value>

<name>!CLIENT_FIRSTNAME!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE USER LASTNAME --></value>

<name>!CLIENT_LASTNAME!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE USER EMAIL --></value>

<name>!CLIENT_EMAIL!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE CLIENT DOMAIN --></value>

<name>!CLIENT_DOMAIN!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE CLIENT DOMAIN OFFSET --></value>

<name>!CLIENT_TIME_ZONE_OFFSET!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE CLIENT LOCALE --></value>

<name>!CLIENT_LOCALE!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE QUANTITY --></value>

<name>!QUANTITY!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE DUPLICATES --></value>

<name>!DUPLICATES!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE JOB SUBMIT DATE TIME --></value>

<name>!CLIENT_JOB_SUBMIT_DATE_TIME!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE DOCUMENT URL --></value>

<name>!DOCUMENT_URL!</name>

</entryList>

<entryList>

<value><!-- LOFTWARE DEVICE URL --></value>

<name>!DESTINATION!</name>

</entryList>

</jobData>

<jobProcesses>

<data/>

<jobId><!-- LOFTWARE JOB ID --></jobId>

<processId><!-- LOFTWARE PROCESS ID --></processId>

<processIndex><!-- LOFTWARE PROCESS INDEX --></processIndex>

</jobProcesses>

</result>

</return>

</pub:getJobStatusDetailsResponse>