Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi guys,
I know how to create thing, thing shape, set properties of thing, thing template etc.
But my question is about creation or addition of a thing service using REST api.
Like we can add property to an existing thing by the following method, I want to add services to a thing dynamically.
1.POST:-
http://localhost:8080/Thingworx/Things/SauravIsNotAThing/Services/AddPropertyDefinition
2.Body:-
{
"name" : "SomeNumber",
"type" : "NUMBER"
}
3.Header:-
ContentType : application/json ; Header=> appKey:hkhkhkxxxxxxxx
Solved! Go to Solution.
This is not actually possible. You can create a Service Definition that is bound to a Service on an agent (remote service) but not an actual service.
Why do you need to be able to create services dynamically?
This is not actually possible. You can create a Service Definition that is bound to a Service on an agent (remote service) but not an actual service.
Why do you need to be able to create services dynamically?