POST api/Installations/Alertes/histo

Renvoi toutes l'historique complet des Alertes générées par l'installation

Informations sur la Requête

Paramètres dans l'URL

Aucune.

Paramètres dans le Body

BindingInstallationInfo
NonDescriptionTypeInformation 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

ViewAlertes
NonDescriptionTypeInformation complémentaire
Alertes

Dictionary of string [key] and ViewAlerte [value]

Aucune.

Format de la Réponse

application/json, text/json

Exemple :
{
  "Alertes": {
    "sample string 1": {
      "date": "2022-08-12T01:24:33.8352594+02:00",
      "message": "sample string 2",
      "seuil": "sample string 3"
    },
    "sample string 2": {
      "date": "2022-08-12T01:24:33.8352594+02:00",
      "message": "sample string 2",
      "seuil": "sample string 3"
    }
  }
}

application/xml, text/xml

Exemple :
<InstallationsModel.ViewAlertes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/test.Models">
  <Alertes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringInstallationsModel.ViewAlerteFxCgVUbq>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>
        <date>2022-08-12T01:24:33.8352594+02:00</date>
        <message>sample string 2</message>
        <seuil>sample string 3</seuil>
      </d2p1:Value>
    </d2p1:KeyValueOfstringInstallationsModel.ViewAlerteFxCgVUbq>
    <d2p1:KeyValueOfstringInstallationsModel.ViewAlerteFxCgVUbq>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Value>
        <date>2022-08-12T01:24:33.8352594+02:00</date>
        <message>sample string 2</message>
        <seuil>sample string 3</seuil>
      </d2p1:Value>
    </d2p1:KeyValueOfstringInstallationsModel.ViewAlerteFxCgVUbq>
  </Alertes>
</InstallationsModel.ViewAlertes>