I created this url, it showed invalid. What Iam missing here.
https://servername/Thingworx/Things/DTName/Services/GetDataTableEntries
Solved! Go to Solution.
Hello @AP_10343008 ,
Did you get what you need?
For a post operation in POSTMAN, the URL looks like:
<protocol>://<ServerName/IP Address>:<portNumber>/Thingworx/Things/<thingName>/Services/<serviceName>
Then in the header I passed an appKey. accept, content-type,
The Body has a JSON object with the parameter and value.
Hope this helps.
Regards,
Pehowe
Are you invoking that endpoint using a POST or GET method?
A service must be invoked using POST? (It is possible to override that behavior using the "Allow Request Method Switch" option)
Hello @AP_10343008,
It looks like you have a response from a PTC Support engineer. If it helped you solve your question please mark the reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Vivek N.
Community Moderation Team.
Hello @AP_10343008 ,
Have you used POSTMAN tool to test your URL? The tool provides great feedback and error reporting.
REgards,
pehowe
Hello @AP_10343008 ,
Did you get what you need?
For a post operation in POSTMAN, the URL looks like:
<protocol>://<ServerName/IP Address>:<portNumber>/Thingworx/Things/<thingName>/Services/<serviceName>
Then in the header I passed an appKey. accept, content-type,
The Body has a JSON object with the parameter and value.
Hope this helps.
Regards,
Pehowe