[closed] RTC - Creating Team Area using Rest API - HTTP Status 405
Rogério Moreira (7●3●8)
| asked Jul 24 '14, 10:09 a.m.
closed Jun 13 '23, 4:33 a.m. by David Honey (1.8k●1●7)
Hello!
I'm trying to create a Team Area using the REST API, according to DraftTeamProcessRestApi I should do a POST to "team-areas-url from a the Project Area Resource".
ex: https://jazzserver:9443/ccm/process/project-areas/_3fe54BJ5EeShucXs-2PcWw/team-areas
But I'm having a "HTTP 405 Method Not Allowed - The specified HTTP method is not allowed for the requested resource"
Maybe I misinterpreted or forgot something, but I really don't know why I'm having this error. I already tried multiple headers and values, but always same result. I even checked https://jazz.net/library/article/1086 (REST API creating a Project Area using perl) but I can't find the problem :(
Can someone help me with this? Thanks :)
Using: RTC 4.0.6, Firefox-RESTClient
Headers:
Content:
<?xml version="1.0" encoding="UTF-8"?> |
The question has been closed for the following reason: "Problem is not reproducible or outdated" by davidhoney Jun 13 '23, 4:33 a.m.
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Jun 13 '23, 4:43 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 13 '23, 5:02 a.m.
This works as advertized. The question is very old.
Please read https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi#POST_team_areas_collection and https://jazz.net/library/article/1086 very carefully.
To create a project area,
The issue with the question is to post to an existing project areas team areas service and not to the projectAreas service. Ralph Schoon selected this answer as the correct answer
|
Comments
Did you ever resolve this issue?
Chris, please do not post follow on questions as answers to someone else's question, especially one that was 9 years ago. If you want to reask the question, or a follow up question, please post your own question. Thanks.