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

Creating a local service with JS code via REST

Highlighted
Regular Member

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?

Tags (2)
4 REPLIES 4

Re: Creating a local service with JS code via REST

Hi @ravi2.

 

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

 

Regards.

 

--Sharon

Re: Creating a local service with JS code via REST

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

Re: Creating a local service with JS code via REST

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

Re: Creating a local service with JS code via REST

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,