I am attempting to update the description of a folder object using RESTful API calls in JSON format and I am getting an Illegal Argument error. Has anyone encountered this before? Any suggestions? The account I am using with the RESTful call is an administrator account.
Headers for 'Content-Type' and 'Accept' are both set to 'application/json'.
| Request Meth: PUT
| Request URL: /v1/folders/775822
| Request Body: {"description":"Restful Folder updated by RESTfulAPITester"}
| Response Code: 400
{"error_code":"RWS 000019","message":"Illegal Argument: {\"description\":\"Restful Folder updated by RESTfulAPITester\"} (RWS 000019)"}
We are running BusinessObjects 4.2, SP7, Patch 02 on Apache Tomcat 9.0.20
Request clarification before answering.
Hi Michael,
it appears the minimum attributes you can pass must include the name of the folder and its parentid. a request body similar to below should work:
{ "name": "Test Folder",
"description": "Restful Folder updated by RESTfulAPITester",
"parentid": "23"
}
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.