Question

3
Replies
322
Views
Sergio Viola (SergioV)
EY
Solution Architect
EY
BR
SergioV Member since 2016 7 posts
EY
Posted: November 28, 2018
Last activity: June 26, 2019
Posted: 28 Nov 2018 6:03 EST
Last activity: 26 Jun 2019 17:00 EDT
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.