GET document/templates
Gets web available web templates.
Request Information
URI
https://ofd-api.blueprintcpq.net/document/templates
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The web templates.
Collection of DocumentTemplateName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
UseDocXMerge | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "d5ff49ce-ae14-497f-807b-deebb1311539", "Name": "sample string 2", "UseDocXMerge": true }, { "Id": "d5ff49ce-ae14-497f-807b-deebb1311539", "Name": "sample string 2", "UseDocXMerge": true } ]
text/html
Sample:
[{"Id":"d5ff49ce-ae14-497f-807b-deebb1311539","Name":"sample string 2","UseDocXMerge":true},{"Id":"d5ff49ce-ae14-497f-807b-deebb1311539","Name":"sample string 2","UseDocXMerge":true}]
application/xml, text/xml
Sample:
<ArrayOfDocumentTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <DocumentTemplate> <Id>d5ff49ce-ae14-497f-807b-deebb1311539</Id> <Name>sample string 2</Name> <UseDocXMerge>true</UseDocXMerge> </DocumentTemplate> <DocumentTemplate> <Id>d5ff49ce-ae14-497f-807b-deebb1311539</Id> <Name>sample string 2</Name> <UseDocXMerge>true</UseDocXMerge> </DocumentTemplate> </ArrayOfDocumentTemplate>