With IIQ REST Plugin, How do you read from a json body

Which IIQ version are you inquiring about?

Version 8.4

Share all details related to your problem, including any error messages you may have received.

With regards to the IIQ plugin framework, I get how to read in the arguments from a Path such as “@Path(“search/{searchObject},{searchString}”)”.
How would you read in the Body of the REST call?

Is there a method I can call?

Hi Steven
Welcome to the community.

Wen you are developing a rest API that will be consumed by you plugin GUI, at some point you will create a method annotated similar to what you wrote above.
For example

@POST
@Consumes(MediaType.TEXT_PLAIN)
public Response processData(String body) { ...}

In this example I will receive the body in the string format

Regards
Alek

It’s pure java. It has nothing to do with Sailpoint and it’s documented (for example: JAX-WS Release Documentation)

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.