URI
<webPrinting_uri>/layouts[.<format>]
Supported Methods
Parent Resource
Introduction
The layoutTemplates resource provides the list of layout template information for the Web printing service. By sending a GET request, you can retrieve all available template information.
Supported Methods:
- GET: Retrieve all available template information for the Web printing service.
- HEAD: Check whether the layoutTemplates resource exists, or whether the permission can access the layoutTemplates resource.
Supported output formats: RJSON, JSON, XML.
Resource hierarchy

HTTP Request Method
Perform an HTTP request on the following URI. The json output format is used as an example, where supermapiportal is the server name.
http://supermapiportal:8190/web/webprinting/layouts.json
GET Request
Retrieve all available template list information for the Web printing service.
Response Structure
Perform a GET request on the layoutTemplates resource. The response body is a set of layout template information descriptions. For detailed response structure, please refer to the iServer help documentation: layoutTemplates.
Response Example
Perform a GET request on the layoutTemplates resource: http://supermapiportal:8190/web/webprinting/layouts.json. For the response example, please refer to the iServer help documentation: layoutTemplates.
HEAD Request
Returns the same HTTP response headers as a GET request, but without a response entity. You can obtain the metadata information contained in the response message headers without transferring the entire response content. The metadata information includes media type, character encoding, compression encoding, entity content length, etc.
A HEAD request can be used to determine whether the layoutTemplates resource exists, or whether the client has permission to access the layoutTemplates resource. By performing a HEAD request on a URI with .<format> appended, you can also quickly determine whether the layoutTemplates resource supports the <format> representation.
See