Question

1
Replies
29
Views
Close popover
krishna mohan Pokala (krishnamohanP8156)
TechM

TechM
IN
krishnamohanP8156 Member since 2016 16 posts
TechM
Posted: January 7, 2021
Last activity: January 12, 2021

[Service-Rest] Need to create Service Rest which accept both attachments and other values

Need to create Service Rest that accepts both attachments and other values

So how to configure the Service REST rule to accept multipart/form-data messages? As my Service should accept both attachments and other values, I am expecting it to be multipart/form-data

1. I created Service REST rule as per attachment (Service REST_multipart.jpg) .In this case i could parse only attachment data in pyRequestAttachment page.

2. I created Service REST rule with application/json as per attachment (Service REST_json.jpg) .In this case mapping is failing

Please Help.

 

 

 

 

 

 

Pega Platform 8.3 Data Integration Java and Activities Financial Services Senior System Architect