Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to use Gc for Http payload

I'm currently using an HTTP payload to copy the RM stream (source) to a target folder, which is working correctly. Similarly, I need to implement the same for global configuration, which requires copying the GC to my target folder. I have some doubts about how we can implement this for GC. Please assist me in resolving this.


String payload = "{\"sourceContext\":{\"sourceItems\":[{\"type\":\"http://www.ibm.com/xmlns/rm/public/1.0/Folder\"," + "\"uri\":\""+sourceRoot+"\"}]," + "\"configuration\":\""+ requestManager.webSite + "/rm/cm/"+requestManager.locationContext+"/"+sourceStreamID+"\"," + "\"component\":\""+sourceComponent+"\"}," + "\"targetContext\":{\"configuration\":\"" + requestManager.webSite + "/rm/cm/"+requestManager.locationContext+"/"+requestManager.streamID+"\"," + "\"type\":\"http://com.ibm.rdm/navigation#Folder\"," + "\"uri\":\"" +requestManager.webSite + "/rm/folders/"+targetFolderID+"\"," + "\"component\":\""+targetComponent+"\"}," + "\"isReportVerbose\":false,\"useRefactorMode\":false,\"includeLinks\":true}";
This code snipped works only for RM not for GC

0 votes



One answer

Permanent link

If you talk about accessing the GC application, it has a different context root and API. Here are the APIs available: https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,059
× 7,589
× 1,419

Question asked: Jun 25, 5:44 a.m.

Question was seen: 797 times

Last updated: Jun 25, 7:57 a.m.

Confirmation Cancel Confirm