This topic explains how to use the Supplier Data API with Pagination to create a process for a supplier.
Procedure
- The client application retrieves the supplier ID and supplier contact information using the endpoint vendorDataRequest. In general, it returns the data specified in request body filters for all suppliers, with or without IDs for their associated questionnaires
POST {{runtime_URL}} /supplierdatapagination/v4/prod/vendorDataRequests
- The client application retrieves the list of processes using the processes/processTypes endpoint. For example, to return a list of processes in your site:
GET {{runtime_URL}}/supplierdatapagination/v4/prod/processes/processTypes
- The client application retrieves the intake form for the process type using the processes/{processType}/templates endpoint. For example, to retrieve the intake form:
GET {{runtime_URL}}/supplierdatapagination/v4/prod/processes/{processType}/templates
- The client application retrieves the modular questionnaire templates for the specified matrix combination and process type using the processes/modularQuestionnairesRequests endpoint. For example:
POST {{runtime_URL}}/supplierdatapagination/v4/prod/processes/modularQuestionnairesRequests
- The client application creates the process for the supplier specified using the /processes/{processType}/processCreateRequests endpoint. For example:
POST {{runtime_URL}}/supplierdatapagination/v4/prod/processes/{processType}/processCreateRequests
Results
The process is created for the specified supplier.