Question
Add Service Definition using rest api
Hi,
I am not able to add inputs while adding a new service using below rest calls. Can you please check what I am missing in below code :
URI - http://172.16.0.92:80/Thingworx/Things/mcfThing1/Services/AddServiceDefinition
Body -
{
"name":"myService1",
"input": {
"name":"input1",
"type":"STRING"
}
}
Regards,
Pradeep

