Requesting a JSONP Wrapper - EcoSys - Customization & Programming - Hexagon PPM

EcoSys Web Service API Usage Documentation

Language
English
Product
EcoSys
Search by Category
Customization & Programming
EcoSys Version
8.8

If you require that the resulting JSON object be wrapped in a JavaScript method callback (often called "JSONP" format), you can specify an additional URL parameter "_jsonp" with the name of the callback function you wish to be invoked on the front end.

Example URL:

http://.../?_jsonp=myCallback

The resulting JSON data will be wrapped thusly:

myCallback( {

"SampleProjectList": [

{

"Attribute1": "value",

"Attribute2": "value"

},

{

"Attribute1": "value",

"Attribute2": "value"

}

]

} );