This topic explains how to use the Supplier Data API with Pagination to retrieve the list of modular questionnaire templates for a process type. The request body contains the matrix fields categoryId, regionId, departmentId, and templateId. All the active modular questionnaire templates, including mandatory templates, for this combination are returned.
Procedure
- The client application retrieves the list of processes using the processes endpoint. For example, to return a list of processes in your site:
GET {{runtime_URL}}/supplierdatapagination/v4/prod/processes
- The client application retrieves the modular questionnaire templates for the specified matrix combination using the processes/modularQuestionnairesRequests endpoint. For example:
POST {{runtime_URL}}/supplierdatapagination/v4/prod/processes/modularQuestionnairesRequests
Results
The modular questionnaire templates for the specified matrix combination and process type are displayed in the response.