getImagesForDocumentVersion Function for SOAP Web Services
Given the fully-qualified name of an object managed with Documents permissions Documents permissions are used in Access Control to manage label templates, applications, business rules, forms, images, layer objects, layouts, reusable objects, or workflow templates., including the version number if the object is version-controlled, this function returns an image and a thumbnail image of the specified version of the object. Information about the object is also returned.
The image is the same as is used by the Loftware DaVinci web application when you compare objects. For more information, see Using Loftware DaVinci to Compare Label Templates.
The thumbnail is the same as is displayed in the Details pane of the Open dialog box when that object is selected. For more information, see Open and Save As Dialog Boxes.
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.
About 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 |
---|---|---|
arg0 |
string |
The fully-qualified name (FQN) of a label template or other object, including a colon followed by the version number if the object is version controlled |
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.
The response includes two additionalData elements containing an image and a thumbnail image of the object as base-64 binary data, and one result element containing information about the object.
<pub:getImagesForDocumentVersionResponse xmlns:pub="http://published.webservices.loftware.com/">
<return success="[true|false]">
<additionalData xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:base64Binary">...</additionalData>
<additionalData xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:base64Binary">...</additionalData>
<result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="pub:lwDocumentDto">
<id>...</id>
<name>...</name>
<fullyQualifiedName>...</fullyQualifiedName>
<areas>...</areas>
<backgroundFillColor>...</backgroundFillColor>
<currentState>...</currentState>
<currentWorkingVersionNumber>...</currentWorkingVersionNumber>
<docType>...</docType>
<documentDpi>...</documentDpi>
<fieldNames>...</fieldNames>
<fieldNames>...</fieldNames>
...
<fontClassifier>...</fontClassifier>
<height>...</height>
<lastPublishedVersionNumber>...</lastPublishedVersionNumber>
<majorVersion>...</majorVersion>
<minorVersion>...</minorVersion>
<printBackgroundFill>...</printBackgroundFill>
<printRotation>...</printRotation>
<shape>...</shape>
<width>...</width>
</result>
</return>
</pub:getImagesForDocumentVersionResponse>
Syntax Tips
Additional information is available about the following items.