How to create Service of an existing Thing using REST api ?
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

