Gibt eine Gruppe aller Unternehmen zurück.
Syntax
IpsAdmin
Eingabe (getAllCompaniesParam)
Name | Typ | Erforderlich | Beschreibung |
---|---|---|---|
includeExpired | xsd:boolean |
Ja | Auf true gesetzt, um abgelaufene und nicht abgelaufene Unternehmen zurückzugeben. |
Ausgabe (getAllCompaniesReturn)
Name | Typ | Erforderlich | Beschreibung |
---|---|---|---|
companyArray | types:CompanyArray |
Ja | Die Unternehmensvielfalt. |
Dieses Codebeispiel gibt alle Unternehmen in IPS in einem Array zurück. Beachten Sie, dass die Beispielantwort aus Gründen der Kürze abgeschnitten wird.
Anforderung
<ns1:getAllCompaniesParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
<ns1:includeExpired>false</ns1:includeExpired>
</ns1:getAllCompaniesParam>
Antwort
<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>