Question
Adqura
GB
Last activity: 28 Aug 2024 6:36 EDT
Need clarity on attachments block in the cases DX API
Hello,
I have a requirement where user submit invoice document in one pega application and system need to create a Pega case in the second pega application and attach this document to the case in second pega application.
In V1 cases api, I see below request payload for attachments but not sure under which field i need to pass the base64 string. Also, I didn't see the below data model(attachments) in Pega-API-CaseManagement-Case class, so do we need to create the below data model in the case class?
"attachments": [ { "type": "File", "attachmentFieldName": "myAttachmentField", "category": "myFile", "name": "myAttachment", "ID": "213e8449-102e-492d-b883-afdf64da0d78", "delete": "false" } ]
Can you please help me on this?
Please let me know if you need any further details regarding this.
Thanks,
Chandra Nelapati.