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": "e1aae270-adf4-472c-b334-1d4693c8189b", "Name": "sample string 2", "UseDocXMerge": true }, { "Id": "e1aae270-adf4-472c-b334-1d4693c8189b", "Name": "sample string 2", "UseDocXMerge": true } ]
text/html
Sample:
[{"Id":"e1aae270-adf4-472c-b334-1d4693c8189b","Name":"sample string 2","UseDocXMerge":true},{"Id":"e1aae270-adf4-472c-b334-1d4693c8189b","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>e1aae270-adf4-472c-b334-1d4693c8189b</Id> <Name>sample string 2</Name> <UseDocXMerge>true</UseDocXMerge> </DocumentTemplate> <DocumentTemplate> <Id>e1aae270-adf4-472c-b334-1d4693c8189b</Id> <Name>sample string 2</Name> <UseDocXMerge>true</UseDocXMerge> </DocumentTemplate> </ArrayOfDocumentTemplate>