Newer Version Available

This content describes an older version of this product. View Latest

Document Template Request

Input representation of a document template resource.
JSON example
1{
2  "name": "TemplateName",
3  "type": "MicrosoftWord/MicrosoftPowerpoint/Microsoft365Word",
4  "tokenMappingMethodType": "OmniDataTransform",
5  "tokenMappingType": "JSON",
6  "extractOmniDataTransformName": "ExtractName",
7  "mapperOmniDataTransformName": "MapperName",
8  "contentDocumentId": "069xx0000004CyeAAE",
9  "documentGenerationMechanism": "ServerSide",
10  "usageType": "Contract_Lifecycle_Management",
11  "tokenList": "token1,token2,token3"
12}
JSON example with Context Service as TokenMappingMethodType
1{
2  "name": "TemplateName",
3  "type": "MicrosoftWord/MicrosoftPowerpoint/Microsoft365Word",
4  "tokenMappingMethodType": "ContextService",
5  "contextDefinitionName": "QuoteProposal",
6  "contextMappingName": "QuoteToContextMapping",
7  "tokenMappingType": "JSON",
8  "extractOmniDataTransformName": "ExtractName",
9  "mapperOmniDataTransformName": "MapperName",
10  "contentDocumentId": "069xx0000004CyeAAE",
11  "documentGenerationMechanism": "ClientSide",
12  "usageType": "Contract_Lifecycle_Management",
13  "tokenList": "token1,token2,token3"
14}
Properties
Name Type Description Required or Optional Available Version
content​DocumentId String ID of the Document associated with a document template. Optional 60.0
contextDefinition​Name String Name of the context definition that contains the mapping details used for extraction in the Context Service token mapping type. Required if the tokenMappingMethodTypeproperty is set to ContextService. 64.0
contextMapping​Name String Name of the context mapping used for extraction in the Context Service token mapping type. Required if the tokenMappingMethodTypeproperty is set to ContextService. 64.0
document​Generation​Mechanism String Specifies the method for generating the document. Possible values are:
  • Client-side
  • Server-side
The default value is Client-side.
Optional 60.0
extractOmniDataTransformName String Name of the OmniDataTransform bundle of the extract type. Optional 60.0
mapper​OmniData​Transform​Name String Name of the OmniDataTransform bundle of the mapper type. Optional 60.0
name String Name of the document template. Required 60.0
tokenList String List of tokens present in the document template. Optional 60.0
token​Mapping​MethodType String Processing method for the data that can originate from same source object. Possible values are:
  • ContextService
  • OmniDataTransform
The default value is ContextService.
Required 60.0
token​Mapping​Type String Mapping type for tokens of the document template. Required 60.0
type String Type of document template. Required 60.0
usageType String Usage type of the document template. Optional 60.0