POST api/Installations/Modules

Renvoi tous les modules d'une 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

ViewModules
NonDescriptionTypeInformation complémentaire
Modules

Dictionary of string [key] and ViewModule [value]

Aucune.

Format de la Réponse

application/json, text/json

Exemple :
{
  "Modules": {
    "sample string 1": {
      "IDSol": "sample string 1",
      "type": "sample string 2",
      "sample_time": "sample string 3"
    },
    "sample string 2": {
      "IDSol": "sample string 1",
      "type": "sample string 2",
      "sample_time": "sample string 3"
    }
  }
}

application/xml, text/xml

Exemple :
<InstallationsModel.ViewModules xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/test.Models">
  <Modules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringInstallationsModel.ViewModuleFxCgVUbq>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>
        <IDSol>sample string 1</IDSol>
        <sample_time>sample string 3</sample_time>
        <type>sample string 2</type>
      </d2p1:Value>
    </d2p1:KeyValueOfstringInstallationsModel.ViewModuleFxCgVUbq>
    <d2p1:KeyValueOfstringInstallationsModel.ViewModuleFxCgVUbq>
      <d2p1:Key>sample string 2</d2p1:Key>
      <d2p1:Value>
        <IDSol>sample string 1</IDSol>
        <sample_time>sample string 3</sample_time>
        <type>sample string 2</type>
      </d2p1:Value>
    </d2p1:KeyValueOfstringInstallationsModel.ViewModuleFxCgVUbq>
  </Modules>
</InstallationsModel.ViewModules>