Get Document Template
Gets a DocumentTemplate object.
NsApiSlow threshold: 5000 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
The identifier of the DocumentTemplate object
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.
Response
OK
The template a document is based on is stored in the SO_arc\template folder on the server. This will return the name as displayed in the GUI, and not the physical document name, of the template the document object is based on. Carrier object for DocumentTemplate. Services for the DocumentTemplate Carrier is available from the List Agent.
Primary key
The list item
Tooltip or other description
1 = save document records in DB; otherwise not.
Relative to TemplatePath
Processed via tag substitution to give document reference
1 = app, 2 = doc, 3 = email, 4 = fax, 5 = phone, 6 = todo - see EAppntRecordTypes
Unknown, Appointment, Document, Email, Fax, Phone, Todo, MergeDraft, MergeFinal, SavedReport 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists
1 = incoming, 2 = outgoing, see EAppntDirection
Unknown, Incoming, Outgoing, SaintAll Which document plugin is responsible for the documents generated from this template
What type of quote document is this.
None, MailBody, MainDocument, QuoteLines, ConfirmationMailBody, ConfirmationLines Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
Get Document TemplatesGet Document Template EntityNSDocumentTemplateGet Document Template PropertiesGet Document Template UrlGet Document Template Extension