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

REST Rules

Accepted answer
29
Views
6
Comments
edited Jul 4, 2021 10:13PM in Planning 6 comments

Summary

Rest

Content

Hello, 

I am trying to run a simple BR by calling it using REST.

It seems that RESTAPI code validates and runs but I don't see it running in the jobs or it doesn't provide the results that I am expecting from the BR.

Please note: I am a RESTAPI beginner

Note: I can BR directly and see the expected result 

HttpResponse<String> jsonResponse = operation.application.getConnection("Test").post("/HyperionPlanning/rest/v3/applications/xyz/jobs")
.body(json(
["jobType":"Rules",
    "jobName":"ABC"]
           )
     )
.asString();

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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