MobileApp

Get Template Pages

Changed on

Function: get_template_pages Type: API Endpoint (GET)

Purpose: Retrieves the template pages for a given template code, ordered by report_seq and page_seq.

Headers:

  • Customer_Key (str, required): Encoded customer key for authorization.

Parameters:

  • template_code (str, required): The code of the template to retrieve pages for.

Response:

  • Returns a list of template pages associated with the provided template code, ordered by report_seq and page_seq.
  • Returns a JSON object with an error message if the customer key is invalid or if any internal error occurs.

Exceptions:

  • Raises a 400 error if the customer key is invalid.
  • Raises a 500 error in case of any internal server error.
get/api/MobileApp/templates/get_template_pages

Request

Query parameters

template_codestring required

Headers

Customer-Keystring required

Response

Successful Response

unknown required

Changes