Substitute Template Variables With Custom Tags
Parse the source string, and replace any template variable tags with their values, based on the ID’s given in the other parameters.
This method also takes a pair of arrays specifying custom tags and their values; these tags will be available during substitution in addition to all the existing tags. Custom values will override values otherwise set. NsApiSlow threshold: 2000 ms.Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
Source, GeneratorEncoding, CustomTags, CustomValues, ContactId, PersonId, AppointmentId, DocumentId, SaleId, SelectionId, ProjectId, CultureName
SubstituteTemplateVariablesWithCustomTags: Parse the source string, and replace any template variable tags with their values, based on the ID's given in the other parameters.
This method also takes a pair of arrays specifying custom tags and their values; these tags will be available during substitution in addition to all the existing tags. Custom values will override values otherwise set.
Text, Html, Xml, MsWord, MsExcel, MsPowerpoint, MsOffice2007, MsOffice2007Xml, Url, UrlUnicode, Pdf, Mime, OpenDocument, OpenDocumentXml, MsWord2007 Response
OK
The response is of type string.
Related topics
SuperOffice.WebApi.Data.Document SubstituteTemplateVariablesWithCustomTagsRequestNSDocumentAgentSuperOffice.WebApi.Agents.DocumentAgentSuperOffice.WebApi.Agents.IDocumentAgentSubstitute Template Variables With Custom Tags2Substitute Merge Document Template Variables