getAllCompanies getallcompanies

すべての会社の配列を返します。

構文

認証済みユーザータイプ section-773db3753b4842e5a4623ad810176508

  • IpsAdmin

パラメータ section-efd74992e6904ebabe7383b577af4fdb

入力 (getAllCompaniesParam)

名前
種類
必須
説明
includeExpired
xsd:boolean
はい
期限切れの会社と期限切れでない会社を返すには、true に設定します。

出力 (getAllCompaniesReturn)

名前
種類
必須
説明
companyArray
types:CompanyArray
はい
会社の配列。

section-3eecf4e6900b41fb92a0e3214791c6b9

このコード例では、IPS 内のすべての会社を配列で返します。 なお、サンプル応答は簡潔にするために切り捨てられます。

リクエスト

<ns1:getAllCompaniesParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:includeExpired>false</ns1:includeExpired>
</ns1:getAllCompaniesParam>

応答

<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>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681