cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Creating a local service with JS code via REST

ravi2
13-Aquamarine

Creating a local service with JS code via REST

Is there a way to add a local service with its JS code for a Thing using TWX REST APIs?

4 REPLIES 4
slangley
23-Emerald II
(To:ravi2)

Hi @ravi2.

 

Can you provide more detail around your use case?  We're not clear on what is needed.

 

Regards.

 

--Sharon

ravi2
13-Aquamarine
(To:slangley)

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

slangley
23-Emerald II
(To:ravi2)

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

ljam
10-Marble
(To:ravi2)

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,

Announcements


Top Tags