Rest Interface Guide

Request/Response parameter formats

Some response and request parameters require an XML body. The format for such parameters is described in the following table.

The same request parameters can also be sent in JSON format.

In order to pass request parameters in JSON format, either a request parameter or a request header with the name qpp-content-type can be passed in the request.

Following is the fallback sequence used for resolving the qpp-content-type:

  1. Request Header qpp-content-type.

  2. Request Parameter qpp-content-type.

  3. Auto detection by Tika.

If none of the above resolves to the correct content type, the default value used is XML.

Response in JSON format already exists by specifying extra request parameter view=jsonView in the REST request.

Object Name

Schema Definition

Example

assetRelationInfo

 
<xs:element name="assetRelationInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="attributeValueList"/>
        </xs:sequence>
        <xs:attribute name="id" type="xs:long" use="optional"/>
        <xs:attribute name="parentAssetId" type="xs:long" use="optional" default="0"/>
        <xs:attribute name="parentAssetName" type="xs:string" use="optional"/>
        <xs:attribute name="childAssetId" type="xs:long" use="optional"/>
        <xs:attribute name="childAssetName" type="xs:string" use="optional"/>
        <xs:attribute name="childAssetMajorVersion" type="xs:long" use="optional" default="0"/>
        <xs:attribute name="childAssetMinorVersion" type="xs:long" use="optional" default="0"/>
        <xs:attribute name="relationType" type="xs:string" use="optional" default=""/>
        <xs:attribute name="relationTypeId" type="xs:long" use="optional" default="0"/>
        <xs:attribute name="relationState" type="xs:string" use="optional"/>
        <xs:attribute name="relationStateId" type="xs:int" use="optional"/>
        <xs:attribute name="lockedToChildVersion" type="xs:boolean" use="optional" default="false"/>
    </xs:complexType>
</xs:element>
 

XML based relations: XML Component Reference

<assetRelationInfoList>
    <assetRelationInfo relationType="XML Component Reference" childAssetId="227" parentAssetId="225">
        <attributeValueList>
            <attributeValue id="417"> xpathValue </attributeValue>
        </attributeValueList>
    </assetRelationInfo>
</assetRelationInfoList>

Primary Attachment:

 

<attributeValueList>
    <attributeValue id="401"> 1 </attributeValue>
    <attributeValue id="402"> 5 </attributeValue>
    <attributeValue id="403"> 1 </attributeValue>
    <attributeValue id="404"> 1 </attributeValue>
    <attributeValue id="412"> 1 </attributeValue>
</attributeValueList>

 

assetRelationInfoList

<xs:element name="assetRelationInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element maxOccurs="unbounded" ref="assetRelationInfo"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

XML based relations: XML Component Reference

<assetRelationInfoList>
    <assetRelationInfo relationType="XML Component Reference" childAssetId="227" parentAssetId="225">
        <attributeValueList>
            <attributeValue id="417"> xpathValue </attributeValue>
        </attributeValueList>
    </assetRelationInfo>
</assetRelationInfoList>

Primary Attachment:

<attributeValueList>
    <attributeValue id="401"> 1 </attributeValue>
    <attributeValue id="402"> 5 </attributeValue>
    <attributeValue id="403"> 1 </attributeValue>
    <attributeValue id="404"> 1 </attributeValue>
    <attributeValue id="412"> 1 </attributeValue>
</attributeValueList>

attributeValue

<xs:element name="attributeValue">
<xs:complexType>
<xs:simpleContent>
 <xs:extension base="xs:string">
 <xs:attribute name="id" type="xs:long" use="optional" default="0"/>
  <xs:attribute name="name" type="xs:string" use="optional" default=""/>
   <xs:attribute name="type" type="xs:string" use="optional" default=""/>
   </xs:extension>
   </xs:simpleContent>
    </xs:complexType>
    </xs:element>
   <xs:element name="attributeValueList">
   <xs:complexType>
   <xs:sequence>
   <xs:element maxOccurs="unbounded" ref="attributeValue"
   </xs:sequence>
    </xs:complexType>
    </xs:element>
<attributeValue id="2"> Hydra.jpg </attributeValue>
<attributeValue name="workflow"> publish </attributeValue>
 <attributeValue id="55"> 1 </attributeValue>

attributeValueList

<xs:element name="attributeValueList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="attributeValue" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<attributeValueList>
    <attributeValue valueId="0" type="numeric" name="Id" id="1"> 222 </attributeValue>
    <attributeValue valueId="0" type="text" name="Name" id="2"> 1511623dd8c_Duplicate.qxp </attributeValue>
    <attributeValue valueId="0" type="dateTime" name="Created" id="3"> 2013-10-16T06:19:38Z </attributeValue>
    <attributeValue valueId="0" type="dateTime" name="Last modified" id="4"> 2013-10-16T06:19:38Z </attributeValue>
    <attributeValue valueId="1" type="popup" name="Creator" id="5"> Admin </attributeValue> ........ </attributeValueList>

domainValue

<xs:element name="domainValue">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="valueHierarchy" type="xs:string"/>
            <xs:element ref="domainValueList"/>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="valueHierarchy" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<domainValue id="1">
    <name>Desktop</name>
    <valueHierarchy> Desktop </valueHierarchy>
    <domainValueList>
        <domainValue id="2">
            <name>Research</name>
            <valueHierarchy> Desktop;Research </valueHierarchy>
        </domainValue>
        <domainValue id="3">
            <name>Development</name>
            <valueHierarchy> Desktop;Development </valueHierarchy>
        </domainValue>
    </domainValueList>
</domainValue>

groupInfo

<xs:element name="groupInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="emailAddress" type="xs:string"/>
            <xs:element name="nativeTrustee" type="xs:boolean"/>
            <xs:element name="defaultUserClassId" type="xs:int"/>
            <xs:element name="defaultUserClass" type="xs:string"/>
            <xs:element name="ldapProfileId" type="xs:int"/>
            <xs:element name="ldapProfile" type="xs:string"/>
            <xs:element name="ldapDistinguishedName" type="xs:string"/>
            <xs:element ref="memberList">
                <xs:element name="nameId" 
                </xs:memberList>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
<groupInfo id="61">
    <name>Editors</name>
    <emailAddress> Editors@quark.com </emailAddress>
    <nativeTrustee> false </nativeTrustee>
    <defaultUserClassId> 2 </defaultUserClassId>
    <defaultUserClass> NoPrivileges </defaultUserClass>
    <ldapProfileId> 10 </ldapProfileId>
    <ldapProfile> Profile </ldapProfile>
    <ldapDistinguishedName> DN </ldapDistinguishedName>
    <memberList>
        <nameId id="62">
            <name>John</name>
        </nameId>
    </memberList>
</groupInfo>

groupInfoList

<xs:element name="groupInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="groupInfo" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

 

memberList

<xs:element name="memberList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="nameId" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

 

ldapProfileInfo

<xs:element name="lapProfileInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="realm" type="xs:string"/>
            <xs:element name="userName" type="xs:boolean"/>
            <xs:element name="authenticationType" type="xs:int"/>
            <xs:element ref="ldapServerInfoList">
                <xs:element ref="ldapServerInfo">
                    <xs:element name="scheme" type="xs:string"/>
                    <xs:element name="serverName" type="xs:string"/>
                    <xs:element name="port" type="xs:int"/>
                </xs:ldapServerInfo>
            </xs:ldapServerInfoList>
            <xs:element ref= "ldapObjectsIdentificationCriteria">
                <xs:element ref= "userIdentificationCriteria"/>
                <xs:element ref= "groupIdentificationCriteria"/>
                <xs:element name="groupMemberAttrName" type="xs:string"/>
                <xs:element name="membershipIdentifyingAttrName" type="xs:string"/>
                <xs:element name="baseDn" type="xs:string"/>
                <xs:element ref="filterToGetAllUsersOfGroup"/>
                <xs:element ref="filterToGetAllSubGroupsOfGroup"/>
                <xs:element ref="filterToGetAllGroupsOfUser"/>
            </xs:ldapObjectsIdentificationCriteria>
            <xs:element ref="ldapAttributeInfoList">
                <xs:element ref="ldapAttrubuteInfo">
                    <xs:element name="name" type="xs:string"/>
                    <xs:element name="value" type="xs:string"/>
                </xs:ldapAttributeInfo>
            </xs:ldapAttributeInfoList>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<ldapProfileInfo id="10">
    <name>Quark</name>
    <realm> Editors@quark.com </realm>
    <userName> realm.com </userName>
    <authenticationType> 2 </authenticationType>
    <ldapServerInfoList>
        <ldapServerInfo>
            <scheme>LDAP</scheme>
            <serverName> SERVER1 </serverName>
            <port>389</port>
        </ldapServerInfo>
    </ldapServerInfoList>
    <ldapObjectsIdentificationCriteria>
        <userIdentificationCriteria> ... </userIdentificationCriteria>
        <groupIdentificationCriteria> ... </groupIdentificationCriteria>
        <groupMemberAttrName> Member </groupMemberAttrName>
        <membershipIdentifyingAttrName> memberof </membershipIdentifyingAttrName>
        <baseDn> BDN </baseDn>
        <filterToGetAllUsersOfGroup> ... </filterToGetAllUsersOfGroup>
        <filterToGetAllSubGroupsOfGroup> ... </filterToGetAllSubGroupsOfGroup>
        <filterToGetAllGroupsOfUser> ... </filterToGetAllGroupsOfUser>
    </ldapObjectsIdentificationCriteria>
    <ldapAttributeInfoList>
        <ldapAttributeInfo id="5">
            <name>USER_EMAIL</name>
            <value>mail</value>
        </ldapAttributeInfo>
    </ldapAttributeInfoList>
</ldapProfileInfo>

ldapSearchCriteria

<xs:element name="ldapSearchCriteria">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="ldapProfile" 
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="id" type="xs:long"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="searchilter" type="xs:string"/>
            <xs:element name="baseString" type="xs:string"/>
            <xs:element name="searchType">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="id" type="xs:int"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<ldapSearchCriteria>
    <ldapProfile id="10"> QPP LDAP Profile </ldapProfile>
    <searchFilter> cn=qpp server </searchFilter>
    <baseString> dc=india, dc=quark, dc=com </baseString>
    <searchType id="2"> GROUPS_SEARCH </searchType>
</ldapSearchCriteria>

ldapSearchInfo

<xs:element name="ldapSearchInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element ref="ldapSearchCriteria"/>
        </xs:sequence>
        <xs:attribute name="id" type="xs:long"/>
    </xs:complexType>
</xs:element>
<ldapSearchInfo id="11">
    <name>LDAP Group Search</name>
    <ldapSearchCriteria>
        <ldapProfile id="10"> QPP LDAP Profile </ldapProfile>
        <searchFilter> cn=qpp server </searchFilter>
        <baseString> dc=india, dc=quark, dc=com </baseString>
        <searchType id="2"> GROUPS_SEARCH </searchType>
    </ldapSearchCriteria>
</ldapSearchInfo>

ldapSearchInfoList

<xs:element name="ldapSearchInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="ldapSearchInfo" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>

 

preferenceInfo

<xs:element name="preferenceInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="category">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="id" type="xs:int"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="possibleValuesExist" type="xs:boolean"/>
            <xs:element name="defaultValue">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="id" type="xs:long"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element ref="preferenceValueList"/>
            <xs:element name="systemDefined" type="xs:boolean"/>
        </xs:sequence>
        <xs:attribute name="id" type="xs:long"/>
    </xs:complexType>
</xs:element>
<preferenceInfo id="1007">
    <name> Display all Redline Deletions in One Color </name>
    <category id="0"> SYSTEM </category>
    <possibleValuesExist> false </possibleValuesExist>
    <defaultValue> No </defaultValue>
    <systemDefined> true </systemDefined>
</preferenceInfo>

preferenceInfoList

<xs:element name="preferenceInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="preferenceInfo" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<preferenceInfoList>
    <preferenceInfo id="1007">
        <name> Display all Redline Deletions in One Color </name>
        <category id="0"> SYSTEM </category>
        <possibleValuesExist> false </possibleValuesExist>
        <defaultValue> No </defaultValue>
        <systemDefined> true </systemDefined>
    </preferenceInfo>
</preferenceInfoList>

privilegeDefinition

<xs:element name="privilegeDefinition">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="group">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="id" type="xs:long"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="statusBased" type="xs:boolean"/>
            <xs:element name="systemDefined" type="xs:boolean"/>
            <xs:element name="contentPrivilege" type="xs:boolean"/>
            <xs:element ref="contentTypeInfoList"/>
        </xs:sequence>
        <xs:attribute name="id" type="xs:long"/>
        <xs:attribute name="name" type="xs:string"/>
    </xs:complexType>
</xs:element>
<privilegeDefinition name="Check In New" id="1000001">
    <group id="100000"> General </group>
    <statusBased> false </statusBased>
    <systemDefined> true </systemDefined>
    <contentPrivilege> true </contentPrivilege>
    <contentTypeInfoList>
        <contentTypeInfo id="1100">
            <name>Asset</name>
        </contentTypeInfo>
    </contentTypeInfoList>
</privilegeDefinition>

privilegeDefinitionList

<xs:element name="privilegeDefinitionList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="privilegeDefinition" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<privilegeDefinitionList>
    <privilegeDefinition name="Check In New" id="1000001">
        <group id="100000"> General </group>
        <statusBased> false </statusBased>
        <systemDefined> true </systemDefined>
        <contentPrivilege> true </contentPrivilege>
        <contentTypeInfoList>
            <contentTypeInfo id="1100">
                <name>Asset</name>
            </contentTypeInfo>
        </contentTypeInfoList>
    </privilegeDefinition>
</privilegeDefinitionList>

privilegeGroupDefinition

<xs:element name="privilegeGroupDefinition">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="privilegeDefinitionList"/>
            <xs:element ref="privilegeGroupDefinitionList"/>
            <xs:element name="systemDefined" type="xs:boolean"/>
            <xs:element name="parentGroup">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="id" type="xs:long"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:long"> </xs:attribute>
        <xs:attribute name="name" type="xs:string"> </xs:attribute>
    </xs:complexType>
</xs:element>
<privilegeGroupDefinition name="Attributes" id="300000">
    <privilegeDefinitionList>
        <privilegeDefinition name="View" id="3000007">
            <group id="300000"> Attributes </group>
            <statusBased> false </statusBased>
            <systemDefined> true </systemDefined>
            <contentPrivilege> false </contentPrivilege>
        </privilegeDefinition>
        <privilegeDefinition name="Create/Modify" id="3000008">
            <group id="300000"> Attributes </group>
            <statusBased> false </statusBased>
            <systemDefined> true </systemDefined>
            <contentPrivilege> false </contentPrivilege>
        </privilegeDefinition>
        <privilegeDefinition name="Delete" id="3000009">
            <group id="300000"> Attributes </group>
            <statusBased> false </statusBased>
            <systemDefined> true </systemDefined>
            <contentPrivilege> false </contentPrivilege>
        </privilegeDefinition>
    </privilegeDefinitionList>
    <privilegeGroupDefinitionList>
        <systemDefined> true </systemDefined>
        <parentGroup id="99998"> Administration </parentGroup>
    </privilegeDefinitionList>
</privilegeGroupDefinition>

privilegeGroupDefinitionList

<xs:element name="privilegeGroupDefinitionList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="privilegeGroupDefinition" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<privilegeGroupDefinitionList>
    <privilegeGroupDefinition name="Administration" id="99998">
        <privilegeDefinitionList/>
        <privilegeGroupDefinitionList>
            <privilegeGroupDefinition name="Attributes" id="300000">
                <privilegeDefinitionList>
                    <privilegeDefinition name="View" id="3000007">
                        <group id="300000"> Attributes </group>
                        <statusBased> false </statusBased>
                        <systemDefined> true </systemDefined>
                        <contentPrivilege> false </contentPrivilege>
                    </privilegeDefinition>
                    <privilegeDefinition name="Create/Modify" id="3000008">
                        <group id="300000"> Attributes </group>
                        <statusBased> false </statusBased>
                        <systemDefined> true </systemDefined>
                        <contentPrivilege> false </contentPrivilege>
                    </privilegeDefinition>
                    <privilegeDefinition name="Delete" id="3000009">
                        <group id="300000"> Attributes </group>
                        <statusBased> false </statusBased>
                        <systemDefined> true </systemDefined>
                        <contentPrivilege> false </contentPrivilege>
                    </privilegeDefinition>
                </privilegeDefinitionList>
                <privilegeGroupDefinition>
                    <systemDefined> true </systemDefined>
                    <parentGroup id="99998"> Administration </parentGroup>
                </privilegeGroupDefinition>
            </privilegeGroupDefinitionList>

revisionControlInfo

<xs:element name="revisionControlInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="minorVersioningAllowed" type="xs:boolean"/>
            <xs:element name="allRevisions" type="xs:boolean"/>
            <xs:element name="initialRevisionsCount" type="xs:int"/>
            <xs:element name="recentRevisionsByPeriod" type="xs:boolean"/>
            <xs:element name="recentRevisionsCount" type="xs:int"/>
            <xs:element name="recentRevisionsDuration" type="xs:int"/>
        </xs:sequence>
        <xs:attribute name="contentTypeId" type="xs:long"/>
        <xs:attribute name="contentType" type="xs:string"/>
    </xs:complexType>
</xs:element>
<revisionControlInfo contentTypeId="110211">
    <minorVersioningAllowed> true </minorVersioningAllowed>
    <allRevisions> false </allRevisions>
    <initialRevisionsCount> 0 </initialRevisionsCount>
    <recentRevisionsByPeriod> false </recentRevisionsByPeriod>
    <recentRevisionsCount> 0 </recentRevisionsCount>
    <recentRevisionsDuration> 0 </recentRevisionsDuration>
</revisionControlInfo>

revisionControlInfoList

<xs:element name="revisionControlInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="revisionControlInfo" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<revisionControlInfoList>
<revisionControlInfo contentTypeId="110211">
<minorVersioningAllowed> true </minorVersioningAllowed>
<allRevisions> false </allRevisions>
<initialRevisionsCount> 0 </initialRevisionsCount>
<recentRevisionsByPeriod> false </recentRevisionsByPeriod>
<recentRevisionsCount> 0 </recentRevisionsCount>
<recentRevisionsDuration> 0 </recentRevisionsDuration>
</revisionControlInfo>
</revisionControlInfoList>

redLineInfo

<xs:element name="redlineInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="color">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="red" type="xs:int"/>
<xs:attribute name="green" type="xs:int"/>
<xs:attribute name="blue" type="xs:int"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="user">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:long"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<redlineInfo>
<color blue="0" green="0" red="0"/>
<user id="1">Admin</user>
</redlineInfo>

redLineInfoList

<xs:element name="redlineInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="redlineInfo" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<redlineInfoList>
<redlineInfo>
<color blue="0" green="0" red="0"/>
<user id="1">Admin</user>
</redlineInfo>
</redlineInfoList>

roleInfo

<xs:element name="roleInfo">
<xs:complexType>
<xs:sequence>
<xs:element ref="roleInfo" macOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<roleInfo name="Administrator" id="1">
<applicationPrivList>
<privilege id="190000017">
<name> Remove Link with Collection Template </name>
</privilege>
<privilege id="190000016">
<name> Status Based Routings </name>
</privilege> ....... </applicationPrivList>
<contentTypePrivList>
<contentTypePriv contentType="Asset" contentTypeId="1100">
<privilege id="10000015">
<name> Get Original Assets </name>
</privilege>
<privilege id="10000013">
<name> Enable Asset Archiving </name>
</privilege>
<privilege id="1000001">
<name> Check In New </name>
</privilege> ...... </contentTypePriv>
</contentTypePrivList>
</roleInfo>

routingInfo

<xs:element name="routingInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="trusteeId" type="xs:long"/>
<xs:element name="trustee" type="xs:string"/>
<xs:element name="routingTypeId" type="xs:int"/>
<xs:element name="routingType" type="xs:string"/>
</xs:sequence>
<xs:attribute name="statusId" type="xs:long"/>
<xs:attribute name="status" type="xs:string"/>
</xs:complexType>
</xs:element>
<routingInfo status="New Status 001" statusId="10">
<trusteeId>1</trusteeId>
<routingTypeId> 1 </routingTypeId>
</routingInfo>

routingInfoList

<xs:element name="routingInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="routingInfo" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<routingInfoList>
<routingInfo status="New Status 001" statusId="10">
<trusteeId>1</trusteeId>
<routingTypeId> 1 </routingTypeId>
</routingInfo>
</routingInfoList>

savedSearchList

<xs:element name="savedSearchList">
<xs:complexType>
<xs:sequence>
<xs:element ref="savedSearch" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<savedSearchList>
<savedSearch id="100">
<searchName> Default </searchName>
<ownerId>1</ownerId>
<ownerName> Admin </ownerName>
</savedSearch>
</savedSearchList>

scriptInfo

<xs:element name="scriptInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="language" type="xs:string"/>
<xs:element name="content" type="xs:string"/>
<xs:element name="createdDate" type="xs:string"/>
<xs:element name="lastModified" type="xs:string"/>
<xs:element name="lastExecutionTime" type="xs:string"/>
<xs:element name="lastExecutionLog" type="xs:string"/>
<xs:element name="creator">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:long"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="lastModifiedBy">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:long"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element ref="scriptExecutionInfo" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:long"/>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8"?>
<scriptInfo id="11">
<name>NewScript.js</name>
<language> javascript </language>
<createdDate> 2015-02-02T09:28:32Z </createdDate>
<lastModified> 2015-02-02T09:40:44Z </lastModified>
<lastExecutionTime> 2015-02-03T05:55:09Z </lastExecutionTime>
<lastExecutionLog> PASSED </lastExecutionLog>
<creator id="1"> Admin </creator>
<scriptExecutionInfo triggerType="SCHEDULED">
<scheduleInfo scheduleGroup="SCRIPT_MANAGER_GROUP" id="11">
<cronExpressionList>
<cronExpression> 0/30 * * * * ? </cronExpression>
</cronExpressionList>
</scheduleInfo>
</scriptExecutionInfo>
</scriptInfo>

scriptInfoList

<xs:element name="scriptInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="scriptInfo" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8"?>
<scriptInfoList>
<scriptInfo id="11">
<name>NewScript.js</name>
<language> javascript </language>
<createdDate> 2015-02-02T09:28:32Z </createdDate>
<lastModified> 2015-02-02T09:40:44Z </lastModified>
<lastExecutionTime> 2015-02-03T05:55:09Z </lastExecutionTime>
<lastExecutionLog> PASSED </lastExecutionLog>
<creator id="1"> Admin </creator>
<scriptExecutionInfo triggerType="SCHEDULED">
<scheduleInfo scheduleGroup="SCRIPT_MANAGER_GROUP" id="11">
<cronExpressionList>
<cronExpression> 0/30 * * * * ? </cronExpression>
</cronExpressionList>
</scheduleInfo>
</scriptExecutionInfo>
</scriptInfo>
</scriptInfoList>

scriptExecutionInfo

<xs:element name="scriptExecutionInfo">
<xs:complexType>
<xs:sequence>
<xs:element ref="eventInfo"/>
<xs:element ref="scheduleInfo"/>
</xs:sequence>
<xs:attribute name="triggerType" type="xs:string"/>
</xs:complexType>
</xs:element>
<scriptExecutionInfo triggerType="SCHEDULED">
<scheduleInfo scheduleGroup="SCRIPT_MANAGER_GROUP" id="11">
<cronExpressionList>
<cronExpression> 0/30 * * * * ? </cronExpression>
</cronExpressionList>
</scheduleInfo>
</scriptExecutionInfo>

searchInfo

<xs:element name="searchInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="searchName" type="xs:string"/>
<xs:element name="owner">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:long"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element ref="queryContext"/>
<xs:element ref="queryConditionList"/>
<xs:element ref="queryDisplay"/>
<xs:element ref="trusteeInfoList"/>
</xs:sequence>
<xs:attribute name="id" type="xs:long"/>
<xs:attribute name="parameterized" type="xs:boolean"/>
</xs:complexType>
</xs:element>
<searchInfoList>
<searchInfo parameterized="false" id="100">
<searchName> Default </searchName>
<owner id="1">Admin</owner>
<queryContext context="ASSET"/>
<queryDisplay exploreMode="PLAIN" displayMode="PLAIN">
<displayColumnList>
<displayColumn attributeColumn="true" width="0" columnId="2"> Name </displayColumn>
<displayColumn attributeColumn="true" width="0" columnId="55"> Collection </displayColumn>
<displayColumn attributeColumn="true" width="0" columnId="54"> Workflow </displayColumn>
<displayColumn attributeColumn="true" width="0" columnId="24"> Status </displayColumn>
</displayColumnList>
<sortInfoList>
<sortInfo attributeColumn="true" order="descending" columnId="2"> Name </sortInfo>
</sortInfoList>
</queryDisplay>
<trusteeInfoList>
<trusteeInfo id="11">
<user>true</user>
<deleted>false</deleted>
<name>DKumar</name>
</trusteeInfo>
</trusteeInfoList>
</searchInfo>
</searchInfoList>

searchInfoList

<xs:element name="searchInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="searchInfo" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>

 

sessionInfo

<xs:element name="sessionInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="sessionId" type="xs:string"/>
<xs:element name="userId" type="xs:long"/>
<xs:element name="userName" type="xs:string"/>
<xs:element name="timeCreated" type="xs:string"/>
<xs:element name="lastAccessedTime" type="xs:string"/>
<xs:element name="machineName" type="xs:string"/>
<xs:element name="applicationName" type="xs:string"/>
<xs:element name="timeZoneOffset" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sessionInfo>
<sessionId> 8d9676d9-1300-433c-b305-509cb2fa2bf9 </sessionId>
<userId>1</userId>
<userName>Admin</userName>
<timeCreated> 2013-10-16T07:25:52Z </timeCreated>
<lastAccessedTime> 2013-10-16T07:25:52Z </lastAccessedTime>
<machineName> localhost </machineName>
<applicationName> Rest Client </applicationName>
<timeZoneOffset> +05:30 </timeZoneOffset>
</sessionInfo>

sessionInfoList

<xs:element name="sessionInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="sessionInfo" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sessionInfoList>
<sessionInfo>
<sessionId> c191521e-20c2-495f-91ad-bace1681d466 </sessionId>
<userId>1</userId>
<userName>Admin</userName>
<timeCreated> 2013-10-16T05:47:23Z </timeCreated>
<lastAccessedTime> 2013-10-16T12:58:07+05:30 </lastAccessedTime>
<machineName> 0:0:0:0:0:0:0:1 </machineName>
<applicationName> Quark Publishing Platform Admin </applicationName>
<timeZoneOffset> +05:30 </timeZoneOffset>
</sessionInfo>
<sessionInfo>
<sessionId> 1f8e5d68-e915-47eb-a504-ef51333c24e4 </sessionId> ...... </sessionInfo>
<sessionInfo>
<sessionId> de4323a6-d4a6-4f15-9dfd-5c8d69f3b7d9 </sessionId> ...... </sessionInfo>
</sessionInfoList>

trusteeInfo

<xs:element name="trusteeInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="user" type="xs:boolean"/>
<xs:element name="deleted" type="xs:boolean"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="emailAddress" type="xs:string"/>
<xs:element name="nativeTrustee" type="xs:boolean"/>
<xs:element name="defaultUserClassId" type="xs:int"/>
<xs:element name="ldapProfileId" type="xs:int"/>
<xs:element name="ldapDistinguishedName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="trusteeInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="user" type="xs:boolean"/>
<xs:element name="deleted" type="xs:boolean"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="emailAddress" type="xs:string"/>
<xs:element name="nativeTrustee" type="xs:boolean"/>
<xs:element name="defaultUserClassId" type="xs:int"/>
<xs:element name="ldapProfileId" type="xs:int"/>
<xs:element name="ldapDistinguishedName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

userInfo

<xs:element name="userInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="domainId" type="xs:int"/>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="phoneNumber" type="xs:string"/>
<xs:element name="emailAddress" type="xs:string"/>
<xs:element name="nativeTrustee" type="xs:boolean"/>
<xs:element name="enabled" type="xs:boolean"/>
<xs:element name="defaultUserClassId" type="xs:long"/>
<xs:element name="defaultUserClass" type="xs:string"/>
<xs:element name="ldapProfileId" type="xs:long"/>
<xs:element name="nameForAuthentication" type="xs:string"/>
<xs:element name="user" type="xs:boolean"/>
<xs:element name="deleted" type="xs:boolean"/>
<xs:element name="overriddenUserClassId" type="xs:long"/>
<xs:element name="ldapDistinguishedName" type="xs:long"/>
</xs:sequence>
<xs:attribute name="id" type="xs:long"/>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<userInfo id="1">
<name>Admin</name>
<domainId>0</domainId>
<firstName> Administrator </firstName>
<emailAddress> admin@quark.com </emailAddress>
<nativeTrustee> false </nativeTrustee>
<enabled>true</enabled>
<defaultUserClassId> 1 </defaultUserClassId>
<defaultUserClass> Administrator </defaultUserClass>
<ldapProfileId> 0 </ldapProfileId>
<user>true</user>
<deleted>false</deleted>
<ldapDistinguishedName> DN </ldapDistinguishedName>
<overriddenUserClassId> 0 </overriddenUserClassId>
</userInfo>

userInfoList

<xs:element name="userInfoList">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="userInfo"/>
</xs:sequence>
</xs:complexType>
</xs:element>

 

workflowInfo

<xs:element name="workflowInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="domainId" type="xs:int"/>
<xs:element name="created" type="xs:string"/>
<xs:element name="createdBy" type="xs:long"/>
<xs:element name="creatorName" type="xs:string"/>
<xs:element name="lastModifiedBy" type="xs:long"/>
<xs:element name="lastModifierName" type="xs:string"/>
<xs:element name="lastModified" type="xs:string"/>
<xs:element name="constrainedStatusTransition" type="xs:boolean" minOccurs="0"/>
<xs:element name="roleBasedRouting" type="xs:boolean" minOccurs="0"/>
<xs:element ref="statusInfoList"/>
<xs:element ref="contentTypeInfoList"/>
<xs:element ref="statusTransitionInfoList"/>
<xs:element ref="roleBasedStatusTransitionInfoList"/>
<xs:element ref="statusRoutingRolesInfoList"/>
</xs:sequence>
<xs:attribute name="id" type="xs:long"/>
</xs:complexType>
</xs:element>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workflowInfoList>
<workflowInfo id="10">
<name>Workflow1</name>
<domainId>18</domainId>
<created> 2014-12-24T06:12:37Z </created>
<createdBy>1</createdBy>
<creatorName> Admin </creatorName>
<lastModifiedBy> 1 </lastModifiedBy>
<lastModifierName> Admin </lastModifierName>
<lastModified> 2015-01-22T07:16:16Z </lastModified>
<constrainedStatusTransition> true </constrainedStatusTransition>
<roleBasedRouting> true </roleBasedRouting>
<statusInfoList>
<statusInfo id="10">
<name>Status1</name>
<domainId>6</domainId>
<colorRed>50</colorRed>
<colorGreen> 150 </colorGreen>
<colorBlue>10</colorBlue>
<position>1</position>
<redlineTracking> false </redlineTracking>
<checkInLayoutEvaluation> false </checkInLayoutEvaluation>
<outputLayoutEvaluation> false </outputLayoutEvaluation>
<privilegeInfoList>
<privilegeInfo>
<roleName> Administrator </roleName>
<roleId>1</roleId>
<overridden> false </overridden>
<contentTypePrivList/>
</privilegeInfo>
<privilegeInfo>
<roleName> Editor </roleName>
<roleId>20</roleId>
<overridden> false </overridden>
<contentTypePrivList/>
</privilegeInfo>
<privilegeInfo>
<roleName> Publisher </roleName>
<roleId>21</roleId>
<overridden> false </overridden>
<contentTypePrivList/>
</privilegeInfo>
</privilegeInfoList>
</statusInfo>
</statusInfoList>
<contentTypeInfoList>
<contentTypeInfo id="1102">
<name>Project</name>
<contentTypeHierarchy> System;Asset;Project; </contentTypeHierarchy>
<systemDefined> true </systemDefined>
<childrenAvailable> true </childrenAvailable>
<extensible> true </extensible>
</contentTypeInfo>
</contentTypeInfoList>
<statusTransitionInfoList>
<statusTransitionInfo id="10">
<name>Status1</name>
<workflowInitiatingStatus> true </workflowInitiatingStatus>
</statusTransitionInfo>
</statusTransitionInfoList>
<roleBasedStatusTransitionInfoList>
<roleBasedStatusTransitionInfo id="20">
<name>Editor</name>
<statusTransitionInfoList>
<statusTransitionInfo id="10">
<name>Status1</name>
<workflowInitiatingStatus> true </workflowInitiatingStatus>
</statusTransitionInfo>
</statusTransitionInfoList>
</roleBasedStatusTransitionInfo>
</roleBasedStatusTransitionInfoList>
<statusRoutingRolesInfoList>
<statusRoutingRolesInfo id="10">
<name>Status1</name>
<routingRolesInfoList>
<routingRoleInfo id="1">
<name> Administrator </name>
</routingRoleInfo>
<routingRoleInfo id="20">
<name>Editor</name>
</routingRoleInfo>
</routingRolesInfoList>
</statusRoutingRolesInfo>
</statusRoutingRolesInfoList>
</workflowInfo>
</workflowInfoList>

workflowInfoList

<xs:element name="workflowInfoList">
<xs:complexType>
<xs:sequence>
<xs:element ref="workflowInfo" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>

 

visioPageInfo

<xs:element name="visioPageInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="pageName" type="xs:string"/>
</xs:sequence>
<xs:attribute name="index" type="xs:int"/>
</xs:complexType>
</xs:element>
<visioPageInfo index="1"> <pageName>Overview</pageName> </visioPageInfo>
<visioPageInfo index="2"> <pageName>Final</pageName> </visioPageInfo>

mimeTypeInfo

<xs:element name="mimeTypeInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="pi" minOccurs="0" maxOccurs="1"/>
            <xs:element name="xpath" type="xs:string" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
        <xs:attribute name="type" type="xs:string" use="required"/>
        <xs:attribute name="parentMimeType" type="xs:string" use="required"/>
    </xs:complexType>
</xs:element>
<mimeTypeInfo type="application/xml; format=smarttable" parentMimeType="application/xml;">
    <xpath>/*[local-name()='table']/@type='smarttable'</xpath>
</mimeTypeInfo>

visioPageInfoList

<xs:element name="visioPageInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="visioPageInfo" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<visioPageInfoList>
    <visioPageInfo index="1">
        <pageName>Overview</pageName>
    </visioPageInfo>
    <visioPageInfo index="2">
        <pageName>Final</pageName>
    </visioPageInfo>
</visioPageInfoList>

mimeTypeInfoList

<xs:element name="mimeTypeInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="mimeTypeInfo" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<mimeTypeInfoList>
    <mimeTypeInfo type="application/xml; format=smarttable" parentMimeType="application/xml;">
        <xpath>/*[local-name()='table']/ @type='smarttable'</xpath>
    </mimeTypeInfo>
    <mimeTypeInfo type="application/xml; format=auxiliarydictionary" parentMimeType="format=hyphenationexceptions">
        <xpath>/*[local-name()='Dictionary']/ @Type='AuxiliaryDictionary'</xpath>
    </mimeTypeInfo>
</mimeTypeInfoList>

powerPointSlideInfo

<xs:element name="powerPointSlideInfo">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="slideId" type="xs:long"/>
        </xs:sequence>
        <xs:attribute name="index" type="xs:int"/>
    </xs:complexType>
</xs:element>
<powerPointSlideInfo index="1">
    <slideId>256</slideId>
</powerPointSlideInfo>
<powerPointSlideInfo index="2">
    <slideId>257</slideId>
</powerPointSlideInfo>
<powerPointSlideInfo index="3">
    <slideId>316</slideId>
</powerPointSlideInfo>
<powerPointSlideInfo index="4">
    <slideId>330</slideId>
</powerPointSlideInfo>
<powerPointSlideInfo index="5">
    <slideId>325</slideId>
</powerPointSlideInfo>

powerPointSlideInfoList

<xs:element name="powerPointSlideInfoList">
    <xs:complexType>
        <xs:sequence>
            <xs:element ref="powerPointSlideInfo" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
<powerPointSlideInfoList>
    <powerPointSlideInfo index="1">
        <slideId>256</slideId>
    </powerPointSlideInfo>
    <powerPointSlideInfo index="2">
        <slideId>257</slideId>
    </powerPointSlideInfo>
    <powerPointSlideInfo index="3">
        <slideId>316</slideId>
    </powerPointSlideInfo>
    <powerPointSlideInfo index="4">
        <slideId>330</slideId>
    </powerPointSlideInfo>
    <powerPointSlideInfo index="5">
        <slideId>325</slideId>
    </powerPointSlideInfo>
</powerPointSlideInfoList>