Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Is there a way to add a local service with its JS code for a Thing using TWX REST APIs?
Hi @ravi2.
Can you provide more detail around your use case? We're not clear on what is needed.
Regards.
--Sharon
Hi Sharon,
I'm creating a local service definition for a Thing Template using the AddServiceDefinition API. But it does not have the ability to add or update the JavaScript code of the Service. So, I was wondering if it is possible do so via any API?
Regards,
Ravi
Hi @ravi2.
Sorry for the delay in responding.
Can you provide more information around your use case? What within the service are you trying to update? If you can provide more explanation, we may be able to provide an alternate solution to the one you are pursuing.
Regards.
--Sharon
Hello Ravi,
Did you solve your problem about create a local service with JS via Rest API? I am interesting on know how post a local service in Thingworx via Rest API.
Thank you,