ContributionsMost RecentMost LikesSolutionsRe: Using the API, I need to add test cases to a test plan in a release hahaha .... I came in to the forum, to ask another question, say this one, and started to write an answer - since it's a problem I solved, then saw who asked it ... it was. ME :-) Using the API, I need to add test cases to a test plan in a release So, I'm working purely within the API, and I need to create a release, import test cases to the release, create test plans (by cycle/phase) and then add executions Right now I'm stuck in adding test cases to a cycle/phase. I'm tring to use AssignmentTree/Create freeForm testcase/Create freeForm testcase from the API But I only get 404s or 500 errors. Using /flex/services/rest/latest/assignmenttree/:cyclePhaseId/assign/bytree/ with a ciclePhaseId equal to the id of the phase in the test plan (so the folder where I want the test cases to be put) , and a body of [ { "treeid": 544127, -> this is the id of the release test folder where the test cases are "tctIds": [10376435], -> this is a testcaseid from that folder "isExclusion": false } ] ! get a 404 error. I've being tryiing various different id's etc since yesterday. I need a little help :-) Re: Are the Zephyr apairy api docs broken or out of date? My base url is defined as: https://<company>.yourzephyr.com/flex/services/rest/latest so the query I'm running is : GET: https://<company>.yourzephyr.com/flex/services/rest/latest/testcase/nodes?treeids=139397 And the response is a 415 error which means The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. I have no body in the request (it's a GET request anyway) and I also tried with Content-Type application/json with the same result Are the Zephyr apairy api docs broken or out of date? I'm using https://zephyrenterprisev3.docs.apiary.io/#reference/testcase/get-testcases-by-tree-ids/get-testcases-by-tree-idshttps://zephyrenterprisev3.docs.apiary.io/#reference/search/search-via-filters/search-via-filters when I try to GET : {{Zephyr_Base_URL}}/testcase/nodes?treeids=139397 (the base url is my server url up the /latest slug ) I get a 415 unsupported media type. I know the treeid is correct, both from clicking into the folder in the browser and seeing <snip>/flex/html5/tcr/25870;treeId=139397;testcaseId=2<snip> and from using the Get Project Repository Testcase Tree by projectid endpoint <snip>/testcasetree/projectrepository/<projectid> and seeing the id in the list What I'm trying to do is to get a list of all test cases by phase, in multiple projects in their Project Test repository's