POST api/Capteurs/Info
Renvoi la liste complete des capteurs d'un Module
Informations sur la Requête
Paramètres dans l'URL
Aucune.
Paramètres dans le Body
BindingModuleInfoNon | Description | Type | Information complémentaire |
---|---|---|---|
GuID | string |
Aucune. |
|
IDModule | string |
Aucune. |
Format de la requête
application/json, text/json
Exemple :
{ "GuID": "sample string 1", "IDModule": "sample string 2" }
application/xml, text/xml
Exemple :
<CapteursModel.BindingModuleInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/test.Models"> <GuID>sample string 1</GuID> <IDModule>sample string 2</IDModule> </CapteursModel.BindingModuleInfo>
Informations sur la Réponse
Descriptions des ressources
ViewCapteursNon | Description | Type | Information complémentaire |
---|---|---|---|
Capteurs | Dictionary of string [key] and ViewCapteur [value] |
Aucune. |
Format de la Réponse
application/json, text/json
Exemple :
{ "Capteurs": { "sample string 1": { "IDCapteur": "sample string 1", "IDModule": "sample string 2", "Nom": "sample string 3", "CapteurType": "sample string 4", "Statut": "sample string 5", "AlerteStatut": "sample string 6", "AlerteSeuils": 7, "AlerteSeuil1Min": 8.1, "AlerteSeuil1Max": 9.1, "AlerteSeuil2Min": 10.1, "AlerteSeuil2Max": 11.1, "Unite": "sample string 12", "Params": "sample string 13" }, "sample string 2": { "IDCapteur": "sample string 1", "IDModule": "sample string 2", "Nom": "sample string 3", "CapteurType": "sample string 4", "Statut": "sample string 5", "AlerteStatut": "sample string 6", "AlerteSeuils": 7, "AlerteSeuil1Min": 8.1, "AlerteSeuil1Max": 9.1, "AlerteSeuil2Min": 10.1, "AlerteSeuil2Max": 11.1, "Unite": "sample string 12", "Params": "sample string 13" } } }
application/xml, text/xml
Exemple :
<CapteursModel.ViewCapteurs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/test.Models"> <Capteurs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringCapteursModel.ViewCapteurFxCgVUbq> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value> <AlerteSeuil1Max>9.1</AlerteSeuil1Max> <AlerteSeuil1Min>8.1</AlerteSeuil1Min> <AlerteSeuil2Max>11.1</AlerteSeuil2Max> <AlerteSeuil2Min>10.1</AlerteSeuil2Min> <AlerteSeuils>7</AlerteSeuils> <AlerteStatut>sample string 6</AlerteStatut> <CapteurType>sample string 4</CapteurType> <IDCapteur>sample string 1</IDCapteur> <IDModule>sample string 2</IDModule> <Nom>sample string 3</Nom> <Params>sample string 13</Params> <Statut>sample string 5</Statut> <Unite>sample string 12</Unite> </d2p1:Value> </d2p1:KeyValueOfstringCapteursModel.ViewCapteurFxCgVUbq> <d2p1:KeyValueOfstringCapteursModel.ViewCapteurFxCgVUbq> <d2p1:Key>sample string 2</d2p1:Key> <d2p1:Value> <AlerteSeuil1Max>9.1</AlerteSeuil1Max> <AlerteSeuil1Min>8.1</AlerteSeuil1Min> <AlerteSeuil2Max>11.1</AlerteSeuil2Max> <AlerteSeuil2Min>10.1</AlerteSeuil2Min> <AlerteSeuils>7</AlerteSeuils> <AlerteStatut>sample string 6</AlerteStatut> <CapteurType>sample string 4</CapteurType> <IDCapteur>sample string 1</IDCapteur> <IDModule>sample string 2</IDModule> <Nom>sample string 3</Nom> <Params>sample string 13</Params> <Statut>sample string 5</Statut> <Unite>sample string 12</Unite> </d2p1:Value> </d2p1:KeyValueOfstringCapteursModel.ViewCapteurFxCgVUbq> </Capteurs> </CapteursModel.ViewCapteurs>