Skip to main content
Substitute Merge Document Template Variables Ex

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

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

MergeDocumentId, ContactId, PersonId, ProjectId, SelectionId, AppointmentId, DocumentId, SaleId, CustomTags, CustomValues

SubstituteMergeDocumentTemplateVariablesEx: Parse the source document, and replace any template variable tags with their values, based on the provided identifiers.

The source document should be of type MergeDraft. 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.

MergeDocumentId
integer<int32>
ContactId
integer<int32>
PersonId
integer<int32>
ProjectId
integer<int32>
SelectionId
integer<int32>
AppointmentId
integer<int32>
DocumentId
integer<int32>
SaleId
integer<int32>
CustomTags
string[]
CustomValues
string[]

Response

OK

The response is of type string<byte>.