We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Executing a report from REST API executes custom script in the report?

Accepted answer
38
Views
4
Comments
edited Mar 8, 2017 1:37PM in Integrations and APIs 4 comments

Content

Hi All,

I am running a report using REST API for Oracle Service Cloud. This report has a custom script to calculate the value in 'Dummy flag' column.While executing from the SOAP UI the calculation result is not appearing in this column. From some research I found that from CWS in C# it is not possible to execute the logic of custom script inside report but is it possible through REST ? Please suggest if there is any other way to get the proper result.

~Nishi

Version

Nov 16

Code Snippet

             Request:
{
"id": 100099,
"filters": [{
    "name": "Lattitude",
    "values": "37.3352"
},{
	"name": "Longitude",
    "values":"121.8811"
    }]
}
Response:
{
  "count": 132,
  "name": "Latest Custom Script Report",
  "columnNames": [
    "Incident ID",
    "Subject",
    "Latitude",
    "Longitude",
    "Dummy Flag",
    "Location"
  ],
  "rows": [
    [
      "463",
      "Submitted from Web - 02/26/2017 09:19 AM",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!