Question

3
Replies
312
Views
SergioV7 Member since 2016 7 posts
EY
Posted: 1 year ago
Last activity: 1 year 2 months ago
Closed
Solved

Issue with REST connector and JSON-LD mapping

I have a requirement to send files through a REST API to an external storage. The external storages uses internal schemas for metadata stored with the file and those schemas are mapped in the rest request to prefixes (from JSON-LD specification) for the properties in the JSON body, as below:

{
     "fileContent":"xaiox7x3tr08ahxad3rasDSAGUEW...", //64bit encoded string
     "md:filename":"filename.txt",
     "md:author":"Name Surname",
     "md:dateOfCreation":"2018-11-27"
}

Where md is the schema prefix.

In Pega 7.3.1, I have been unable to make Pega map this correctly (and I'm not looking into doing this in Java).

Is this supported by this version of Pega? If not, does a newer version support this? If yes, how should I proceed in doing this?

Data Integration
Moderation Team has archived post
Share this page LinkedIn