Question
1
Replies
73
Views
Cognizant
Posted: April 11, 2017
Last activity: May 18, 2017
Closed
Solved
not able to create Jason request page due to reserved properties like "parent"
Hi ,
I am trying to consume one of BOX APIs to update the folder id of a file. API is expecting data in json format with attributes called parent and string id, but i am not able to create theses properties as parent is reserve word and id already exists but in capital letters (ID).
Is there anyway to create a request page with the format PageName.request.parent.id ?
***Updated by moderator: Lochan to add Categories***
Apparently pega handles this scenario. you need to create property with name as "pparent" instead of "parent" and pega by default change it to "parent" while generating the request parameters.