getAllCompanies
Returns an array of all companies.
Syntax
Authorized User Types
IpsAdmin
Parameters
Input (getAllCompaniesParam)
Name
Type
Required
Description
includeExpired
xsd:boolean
Yes
Set to true to return expired and non-expired companies.
Output (getAllCompaniesReturn)
Name
Type
Required
Description
companyArray
types:CompanyArray
Yes
The array of companies.
Examples
This code sample returns all companies in IPS in an array. Note, the sample response is truncated for brevity.
Request
<ns1:getAllCompaniesParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
<ns1:includeExpired>false</ns1:includeExpired>
</ns1:getAllCompaniesParam>
Response
<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>
4e9b9d8c-5839-4215-aa35-01b652869681