ComposeDocumentPackV2
The ComposeDocumentPackV2 call creates a document pack from non-interactive Document Templates and Document Pack Templates. The document pack is returned in the response and can also be retrieved using ComposeDocumentPackGetV1 (see ComposeDocumentPackGetV1).
The request requires the following fields next to the standard fields.
Field | Type | Description |
project | repositoryobjectname | Name of the KCM Repository project. |
templatetype | name | Either documentpacktemplate or documenttemplate. |
templatename | repositoryobjectname | Name of the template object to compose the document pack from. |
databackbonexml | base64Binary | A base-64 encoded representation of the Data Backbone XML. |
status | name | Optional. The status of the template to use. The available statuses are Current, Accepted, or Published. If omitted, Published is used. |
importdocuments | base64Binary | Optional. A base-64 encoded XML structure binary representation of an import documents data structure. For more information on the format for this XML, see Format for the definitions. |
The response contains the following fields in addition to the standard fields.
Field | Type | Description |
ccmsessionid | sessionid | KCM Contract Manager session identifier. |
documentpack | base64Binary | A base-64 encoded binary representation of the resulting document pack data structure. |