Api rest for view all project area and project area creation
Hi everyone, I would like some clarifications.
<? xml version = "1.0" encoding = "UTF-8"?><jp06: project-area xmlns: jp06 = "http://jazz.net/xmlns/prod/jazz/process/0.6/" jp06: templateId = "com.ibm.team.process.test" jp06: templateLocale = " en_US ">
<jp06: name> testProjectAreaCreation </ jp06: name>
<jp06: summary> The summary </ jp06: summary>
<jp06: description> The description </ jp06: description>
<jp06: visibility jp06: access = "PUBLIC" />
</ jp06: project-area>
Oh one last thing, for get or post calls, I have to login first right? And how do I know when the login call I have made expires?
Accepted answer
https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi#Service_Entry_Points_start_here
Project Areas collectionURL: the value of the rdf:resource attribute from the projectAreas element in the server's rootservices document.
Comments
6 other answers
As far as I can tell, the API https://hostname:port/ccm/rpt/ is part of the reportable REST API. It is a read-only API.
Comments
Thanks Ralph, for the answer, but the link you gave me, which by the way is the one I found but that does not present the endpoints, or at least I can't see them, there are the "creation" posts also the body that I posted in question is taken from there but "parameterized" for my needs. The problem is that I can't find the call endpoints.
Thank you very much what you posted is very useful, this afternoon I will study it well. But I have to ask you two more questions, I try to post them here, otherwise I will open a new post.
@David Can you explain to me what you are referring to for OSCL is a completely new topic for me and I apologize for that. Thank you.
Comments
If users try these APIs, I have to assume some basic knowledge of RTC and its administration.
Comments
Here I am again, re-reading the answer, I realized that maybe I have explained myself badly, I try to do it better.
https://hostname:port/ccm/process/project-areas
Note, In order to be able to POST successfully, add a header X-Jazz-CSRF-Prevent and in the value paste the value of the JSESSIONID Cookie from your session (e.g. you get it during the login or GET operations).