Pushing Data to Manufactruing App with Non-Kepware Client
Hello Everyone;

We have an eWON Flexy 201 device which connected PLC through ethernet. This device can read live data from PLC and with its Wifi/Ethernet modules, can push data to local/remote server using BASIC script language.
We can send live data to our remote Thingworx Platform using <host-ip-adress>/Thingworx/Things/<thing-name>/Properties/*
ONCHANGE "DB2x20", "@UpdateThingWorxProperty('xxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxx','DB2x20')"
FUNCTION UpdateThingWorxProperty($appKey$,$Tagname$)
$url$ = "http://<host-ip-adress>/Thingworx/Things/<thing-name>/Properties/*"
$method$ = "PUT"
$Tagvalue = GETIO $Tagname$
$Tagvalue_String$ = STR$ $Tagvalue
$DataToSend$ = '{"' + $Tagname$ + '":' + $Tagvalue_String$ + '}'
$header$ = "Content-Type=application/json&Accept=application/json&appKey=" + $appKey$
REQUESTHTTPX $url$, $method$, $header$, $DataToSend$
PRINT "Value of " + $Tagname$ + " is sent to ThingWorx"
ENDFN
End
But we cant send live data to Thingworx Manufacturing App, because i thing TMA using different path for its Api. Thingworx/WS
I have tried to send data to this url(s). But we had no luck so far.
http://<host-ip-adress>/Thingworx/WS/<thing-name>/Properties/*
http://<host-ip-adress>/Thingworx/WS/<thing-name>
How can i push data to Thingworx Manufacturing App with Non-Kepware Client ?
Any help will be appreciated.
Thank you.
Murat Can
mberber@brandit.tech

