POST api/Installations/Alarmes
Renvoi toutes l'état de toutes les alarmes "Sirène" d'une installation
Informations sur la Requête
Paramètres dans l'URL
Aucune.
Paramètres dans le Body
BindingInstallationInfoNon | Description | Type | Information complémentaire |
---|---|---|---|
GuID | string |
Aucune. |
|
HomeServerID | string |
Aucune. |
Format de la requête
application/json, text/json
Exemple :
{ "GuID": "sample string 1", "HomeServerID": "sample string 2" }
application/xml, text/xml
Exemple :
<InstallationsModel.BindingInstallationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/test.Models"> <GuID>sample string 1</GuID> <HomeServerID>sample string 2</HomeServerID> </InstallationsModel.BindingInstallationInfo>
Informations sur la Réponse
Descriptions des ressources
ViewAlarmesNon | Description | Type | Information complémentaire |
---|---|---|---|
Alarmes | Dictionary of string [key] and ViewAlarme [value] |
Aucune. |
Format de la Réponse
application/json, text/json
Exemple :
{ "Alarmes": { "sample string 1": { "Module": "sample string 1", "Nom": "sample string 2", "Mode": "sample string 3", "Statut": "sample string 4" }, "sample string 2": { "Module": "sample string 1", "Nom": "sample string 2", "Mode": "sample string 3", "Statut": "sample string 4" } } }
application/xml, text/xml
Exemple :
<InstallationsModel.ViewAlarmes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/test.Models"> <Alarmes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringInstallationsModel.ViewAlarmeFxCgVUbq> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value> <Mode>sample string 3</Mode> <Module>sample string 1</Module> <Nom>sample string 2</Nom> <Statut>sample string 4</Statut> </d2p1:Value> </d2p1:KeyValueOfstringInstallationsModel.ViewAlarmeFxCgVUbq> <d2p1:KeyValueOfstringInstallationsModel.ViewAlarmeFxCgVUbq> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Value> <Mode>sample string 3</Mode> <Module>sample string 1</Module> <Nom>sample string 2</Nom> <Statut>sample string 4</Statut> </d2p1:Value> </d2p1:KeyValueOfstringInstallationsModel.ViewAlarmeFxCgVUbq> </Alarmes> </InstallationsModel.ViewAlarmes>