Lifecycle Project Administration REST API CLM 5?
Is there a current LPA REST API for CLM 5?
Unfortunately I can not find the entry points for it (https://jazz.net/wiki/bin/view/Main/DraftLPARestAPI are only for 3 and 4 and did not work for version 5).
For the project service I tried the URL provided in the link and also with "jts" in it:
https://server:port/admin/projects and
https://server:port/jts/admin/projects
but I don't get a JSON back. Header are set to "Accept: application/json".
I would very much appreciate any help!
Thanks, Philipp.
2 answers
Comments
Hi Shubjt,
Thank you for your quick reply.
Your provided URL responses the status 200, it doesn't provide the lifecycle projects thought. The response is a html without useful information (same response as https://server:port/jts/admin/projects) :-(
Header and authorization is set.
Edit: I used the Firefox Plugin RESTClient and REST Easy to submit the GET.
Edit2: Same response in via java code (response.getEntity().getContent())
I tried loading the /jts/rootservices URL using the RESTClient on Firefox and found the following URL for LPA projects. Using this URL I can list the user projects:
https://server:port/jts/lifecycle-project/user-projects
Could you try the above URL?
Here is a screenshot:
https://server:port/jts/lifecycle-project/user-projects also works for me. Thanks for providing the link.
The API is still a "draft". Seeing that there are virtually no movements in the associated work item, my impression is that this API is not being actively developed. I don't really recommend using such API in your production environment.