Posted: 15 Dec 2015 10:00 EST Last activity: 7 Jan 2016 0:02 EST
How to build REST service with JSON format (7.1.9 ver)
I am looking for detailed steps to build a REST service in PRPC7.1.9 using JSON format. Can some one point to relevant documentation, wizards? also i am looking for sample Request Response Structures for this kind of a service.
If you already have the data model created off XSDs and you now want to use JSON with Service REST, it should be pretty simple. Just choose JSON as the map from/to option and provide the page property corresponding to the root element from the XSD as the map from/to key option. Pega automatically builds out the outbound JSON based on the properties set in the hierarchy of this embedded page. For inbound JSON, data is automatically mapped to this page structure.