GetContentTypeList and GetContentTypeDescription functions

These functions may be used by clients that need details (such as document classes, document fields) about the published batch classes.

The GetContentTypeList function is used to get a list of all available configurations, such as batch classes with Kofax Capture. It does not require any input parameters. The response lists the name of each configuration.


response to the web service call getcontenttypelist

The GetContentTypeDescription function is used to get the content of a specific configuration. It requires the configuration name returned by GetContentTypeList as input and returns the configuration as string. According to admin.dtd, this string contains a KC XML batch definition (located in Kofax Capture PubTypes folder).


getcontenttypedescription request

getcontenttypedescription response

Request

Response

<GetContentTypeList/>
<ContentTypeList>
	<ContentTypeName>Order Forms
 </ContentTypeName>
	<ContentTypeName>batch_class2
 </ContentTypeName>
</ContentTypeList>
<GetContentTypeDescription>
 <ContentTypeName>Order Forms
 </ContentTypeName>
</GetContentTypeDescription>
<ContentTypeDescription>
<Content>
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;!DOCTYPE AscentCaptureSetup SYSTEM "..\Admin.dtd"&gt;
 &lt;AscentCaptureSetup DatabaseVersion="29" ... &gt;
 ...
</Content>
</ContentTypeDescription>