SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello everyone
Currently I have established a SOAP REST Provider through SmartConnect
Also in the Swagger UI website http://localhost//swagger/docs/v1.1 I successfully see the value read
But if I use other methods to read, it currently fails.
For example I used Node Red and tried to read http://localhost/Root
The result is 405
Can anyone share with me other methods of successfully reading data?
Thanks in advance
Link copied. Please paste this link to share this article on your social media post.
Hi ToneLu, first you need to get a bearer token using the /GetToken method. The Swagger interface has a token generator on the page, but to integrate your application, you need to get a token and include it in the header of your requests.
To get a token, you need to POST http://<EndpointAddress>:<rPort>/GetToken
In the request header add:
Add the following keys to the message body / payload:
The response will include the token.
Link copied. Please paste this link to share this article on your social media post.
Hi ToneLu, first you need to get a bearer token using the /GetToken method. The Swagger interface has a token generator on the page, but to integrate your application, you need to get a token and include it in the header of your requests.
To get a token, you need to POST http://<EndpointAddress>:<rPort>/GetToken
In the request header add:
Add the following keys to the message body / payload:
The response will include the token.
Link copied. Please paste this link to share this article on your social media post.
Thanks Reply
I did successfully get the Token
I also successfully read the value
Thanks
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.