Endpoint for batch publishing of associations
The Publish Associations in Batch endpoint helps you synchronize data between your remote application and Pega Process Fabric Hub in bulk. The associations data publication is done from remote application, and Pega Process Fabric Hub only accepts associations data.
POST /associations/batch
Each batch request can contain up to 50 request items.
The Publish Associations in Batch REST API is optional. Once data sync of all the resource types (which is tasks, work queues, and operator mappings), is complete, the registration automatically moves to the active state and the application that you register is ready for use in Pega Process Fabric.
The following table shows a sample request body for the batch endpoint for associations:
Element | Value |
Request URL | https://vlenghydcnt17263-processfabrichub.lab.pega.com/prweb/api/ppf/v1/associations/batch?preactivationDataLast=false |
Request headers | Authorization: Bearer access token |
Request body |
|
Response status | 202 |
Response body | Not applicable |
After you publish all the existing associations, invoke the Publish Associations in Batch REST API with the preactivationDataLast query string parameter set to true with no request body. Invoking this request informs Pega Process Fabric Hub that the associations sync is complete. For example, the following table shows information about the endpoint that you invoke to inform Pega Process Fabric Hub that the application has published all the associations data:
Element | Value |
Request Method | POST |
Request URL | https://vlenghydcnt17263-processfabrichub.lab.pega.com/prweb/api/ppf/v1/associations/batch?preactivationDataLast=true |
Request headers | Authorization: Bearer access token |
Request body | Not applicable |
Response status | 202 |
Response body | Not applicable |
For more information, see the Swagger documentation and Accessing and testing Pega DX API Version 1.
Previous topic Endpoint for real-time publishing of cases Next topic Endpoint for real-time publishing of associations