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.
Hi,
I am trying to create a value (analog or digital) using the Swagger interface.
Can someone provide an example for this API?
{
"Name": "CurrentValue",
"Description": "my description",
"Type": "DateTime",
"Writeable": "ReadOnly",
"Forceable": "NotForceable",
"State": "Good",
"Unit": "Amper",
"Value": "1",
"ParentId": "/Server 1/Values",
"Id": "string"
}
No matter what values I try, I get this response:
{ "Message": "Create for Value is not allowed" }
Thanks.
Mike
Link copied. Please paste this link to share this article on your social media post.
Hi Michael,
You are getting this error because you are not able to create objects with the SoapEwsRestProvider. The Soap EWS Rest Provider uses standard EWS calls behind the scenes to interact with any EWS system, however in EWS there is no support for creating/ deleting actualy objects in the system.
If you use the SBO Ews Rest Provider, you will be able to create basic object types in the system. What is the requirement you are trying to meet.
Best Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Michael,
You are getting this error because you are not able to create objects with the SoapEwsRestProvider. The Soap EWS Rest Provider uses standard EWS calls behind the scenes to interact with any EWS system, however in EWS there is no support for creating/ deleting actualy objects in the system.
If you use the SBO Ews Rest Provider, you will be able to create basic object types in the system. What is the requirement you are trying to meet.
Best Regards,
-Jeff
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.