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.
I do experience some issues accessing the resources I'd expect to use.
Am I doing/expecting something wrong here?
It seems it's not fully implemented although swagger shows the requests?
**** works ****
AlarmEvents seems to respond, although empty while SBO is currently empty
This is where I'd probably will need an EventID (int) to search for?
http://127.0.0.1:8085/AlarmEvents
[]
Probably need to setup SBO for more types
http://127.0.0.1:8085/AlarmEventTypes
[
{
"Name": "System alarm",
"Description": null,
"Id": "System alarm"
}
]
{
"Name": "Server 1",
"Description": "",
"Type": 1,
"ParentId": "",
"Id": "00/Server 1"
}
**** doesn't work ****
http://127.0.0.1:8085/SystemEvents?priorityFrom=1&priorityTo=999
{
"Message": "Operation not supported"
}
http://127.0.0.1:8085/SystemEventTypes
{
"Message": "Operation not supported"
}
http://127.0.0.1:8085/Containers?type=Structure
{
"Message": "Bulk Retrieve for Container is not allowed"
}
{
"Message": "Bulk Retrieve for Alarm is not allowed"
}
Link copied. Please paste this link to share this article on your social media post.
Hi Henrik,
What you are seeing is correct, especially the "Operation not supported" or "xyz is not allowed"
Have you checked the documentation for the Rest API - there is a manual in the documentation section of the downloads. In there you can find information about which methods are supported and which aren't. Many of the exposed methods are not supported by EWS, these are to be used when using the Sbo or Mongoose providers for the API. The Soap provider will only expose functions which are supported by EWS.
You need to use the relevant calls of the API which are supported at the server you connect to.
When referring to the manual, or in particular the descriptions of the methods supported look out for the text “SoapEwsRestProvider does not support this action” under the table this is an indicator that the interface will not allow this behaviour when connected to EBO/PME via EWS.
Adam.
Link copied. Please paste this link to share this article on your social media post.
Hi Henrik,
What you are seeing is correct, especially the "Operation not supported" or "xyz is not allowed"
Have you checked the documentation for the Rest API - there is a manual in the documentation section of the downloads. In there you can find information about which methods are supported and which aren't. Many of the exposed methods are not supported by EWS, these are to be used when using the Sbo or Mongoose providers for the API. The Soap provider will only expose functions which are supported by EWS.
You need to use the relevant calls of the API which are supported at the server you connect to.
When referring to the manual, or in particular the descriptions of the methods supported look out for the text “SoapEwsRestProvider does not support this action” under the table this is an indicator that the interface will not allow this behaviour when connected to EBO/PME via EWS.
Adam.
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.