Template Page Count

Back to overview

Endpoint

GET https://api.reporting.cloud/v1/templates/pagecount

Returns the number of pages of a template in the template storage

Request Parameters

Query parameter Value Type Value
templateName String The filename of the template in the template storage to retrieve the number of pages for.

Response Format

On success, the HTTP status code in the response header is OK (200). The response body contains an integer value representing the number of pages.

A Forbidden (403) is returned, if the user is not authorized.

A Bad Request (400) is returned, if the template doesn't exist in the template storage.

Examples

Note: The code examples available for this method do not represent all supported programming languages.

Try this in the Web API Sandbox

Open Sandbox