Skip to main content
Answer

Rest API Create Protection Domains

  • September 25, 2014
  • 1 reply
  • 1139 views

koen
Forum|alt.badge.img+5
I am trying to create a Protection Domain, but can't figure out how to supply the name of the Protection Domain.

I have to use a string and a JSON object as body parameter, but it keeps throwing errors.

JSON objects I have tried:

{"name":"MyTestName"}
{"body":"MyTestName"}
{"input":"MyTestName"}

Best answer by koen

I used Chrome Developer Tools to monitor the post request from the Prism GUI and the correct JSON object field name is "value" --> {"value":"MyTestName"}
This topic has been closed for replies.

1 reply

koen
Forum|alt.badge.img+5
  • Author
  • Voyager
  • Answer
  • September 25, 2014
I used Chrome Developer Tools to monitor the post request from the Prism GUI and the correct JSON object field name is "value" --> {"value":"MyTestName"}