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
9.0

If it is required that the resulting JSON object be wrapped in a JavaScript method callback (often called "JSONP" format), an additional URL parameter of "_jsonp" can be specified with the name of the callback function required 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"

}

]

} );