Question
Delta Dental of California
US
Last activity: 30 Jul 2025 1:36 EDT
Include Case ID along with document content in an external repo
I have requirement to store the case id along the document in an external repository(Alfresco) while uploading the document. Uploading the document involves following 3 major steps as per link: https://docs.pega.com/bundle/dx-api/page/platform/dx-api/endpoint-post-attachments-upload.html
-
Upload a temporary attachment object: POST {URL}/attachments/upload
-
Link the uploaded temporary attachment to a specific case: POST {URL}/cases/CABLEC-CABLECON-WORK%20S-2004/attachments.
-
Acquire the list of all attachments attached to specific case: GET {URL}/cases/CABLEC-CABLECON-WORK%20S-2004/attachments.
I don't want to make another API call just to update the case ID in an external repo.
How do we capture the case ID in first place to pass along with upload call in step 1 in Pega constellation?