Restituisce un array di tutte le aziende.
Sintassi
IpsAdmin
Input (getAllCompaniesParam)
Nome | Tipo | Obbligatorio | Descrizione |
---|---|---|---|
includeExpired | xsd:boolean |
Sì | Imposta su true per restituire le società scadute e non scadute. |
Output (getAllCompaniesReturn)
Nome | Tipo | Obbligatorio | Descrizione |
---|---|---|---|
companyArray | types:CompanyArray |
Sì | La gamma di aziende. |
Questo esempio di codice restituisce tutte le società in IPS in un array. La risposta di esempio viene troncata per brevità.
Request Contents (Richiesta contenuto)
<ns1:getAllCompaniesParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
<ns1:includeExpired>false</ns1:includeExpired>
</ns1:getAllCompaniesParam>
Risposta
<ns1:getAllCompaniesReturnxmlns:ns1="http://www.scene7.com/IpsApi/xsd">
<ns1:companyArray>
<ns1:items>
<ns1:companyHandle>18</ns1:companyHandle>
<ns1:name>00webload</ns1:name>
<ns1:rootPath>00webload/</ns1:rootPath>
<ns1:expires>2101-02-01T07:00:00.667Z</ns1:expires>
</ns1:items>
<ns1:items>
<ns1:companyHandle>19</ns1:companyHandle>
<ns1:name>01webload</ns1:name>
<ns1:rootPath>01webload/</ns1:rootPath>
<ns1:expires>2101-02-01T07:00:00.414Z</ns1:expires>
</ns1:items>
. . .
</ns1:companyArray>
</ns1:getAllCompaniesReturn>