Software Content Management
I have some questions to the SCM.
Does the Software Content Management support a REST API? I can only find a JAVA API documented.
I have some questions to the SCM.
Does the Software Content Management support a REST API? I can only find a JAVA API documented.
To extend on the first sentence: Everything you click in the SCM mashups you can also do via REST API. Every click basically just makes a REST call. Hard part is just to figure out which services you need with which parameters.
To find out which services to call you can go to the browsers DEV tools (F12) Network tab and have a look what calls are made. E.g. if you want to create an instruction based package like just follow the steps in the mashup with dev tools open:

´When pressing Save I can see the following request in the Network console

Now you know to "Save" a package you need to call on which thing which service http://flow.local.rnd.ptc.com/Thingworx/Things/TW.RSM.SFW.MashupHelper.Package/Services/CreateInstructionPackage and also which parameters.
For each step you do in the SCM you need to find the corresponding REST call. There are many calls which do things in the mashup but you only need the 'final' one to complete the step. There is no offical documentation stating which services you need for which step.
SideNote: If you do not use the mashups your logic may fail when PTC changes SCM later (maybe a REST call changes).
Hope that helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.