Creating custom object types for use in Pega
I am attempting to use the Rest Client in Pega Robotics 19.1.115 to call an API and retrieve data from it. However the data returned can be a list of contact details with each contact detail containing 7 properties. I would like to use the Json utils to de-serialize the response into an object I can use in Robot Studio but I don't know how to create the object and consume it in Pega.
I have attempted to create the objects in a script component but while the script reports valid, I get errors at runtime.
I have tried creating partial classes in a related DLL but I can't figure out how to access them in Pega. Does anyone have a guide or example I can reference so I can make this work?
Thanks