Hi Naman
Yes the patch works and the documentation is not up to date and we will be working to update the same.
Also if you need to see what method is supported you can use our describe API i.e
http://clarity/ppm/rest/v1/describe/resources explains what HTTP methods are supported.
"isRuleEnabled": false,
"objectCode": "resource",
"capabilities": [
"CAPABILITY_ASSOCIATION"
],
"isFavoriteEnabled": false,
"resourceBaseUrls": [
"http://clarity/ppm/rest/v1/resources"
],
"httpMethods": [
"PATCH",
"GET",
"HEAD",
"PUT"
],
"_type": "OBJECT",
"description": "The Resource Object",
"resourceName": "resources",
"objectProperties": {
"idAttribute": "uniqueName",
"contextAttribute": "fullName"
}
------------------------------
Thanks & Regards
Suman Pramanik
Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
Broadcom
------------------------------
Original Message:
Sent: 09-21-2021 10:50 AM
From: Naman Patel
Subject: REST API - For resources
Thank you for sharing the document, I was looking for such a list. Is there any plan to support the post method for the resources object?
BTW, the patch method on resources is working/supported but the document doesn't reflect that.
Original Message:
Sent: 09-21-2021 10:30 AM
From: Suman Pramanik
Subject: REST API - For resources
Yes only get is supported and we have it documented https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-project-and-portfolio-management-ppm-on-premise/15-9-3/reference/Clarity-REST-APIs/rest-api-documentation-for-authorized-developers.html
------------------------------
Thanks & Regards
Suman Pramanik
Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
Broadcom
Original Message:
Sent: 09-21-2021 10:27 AM
From: Naman Patel
Subject: REST API - For resources
Hi,
I am trying to use REST API to create resources, I get an error that POST is not a supported method for resources.
API-1034 : The method POST is not allowed for resource resources.
Does anyone know if it is possible to create resources using REST API?
I can use XOG but my other code is based on REST so trying to stick to one standard if possible.