Web Services Reference for Oracle Self-Service E-Billing > Examples of Web Services > Examples of the Companies Web Service >

Example of Getting a List of Companies


This example shows you how to use the companies Web service to get a list of all companies.

Operation

Use the following operation to get a list of companies:

GET /companies

Sample URL

The following is a sample URL for this Web service example:

http://myhost.example.com:7017/ebillingrs/rs/companies

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • CSR
XML Response

The following is an example of the XML response:

<companyList>

<count>1</count>

<company>

<companyId>Dutch Home Insurance</companyId>

<companyName>Dutch Home Insurance Corporation</companyName>

<taxId>003</taxId>

<address1>UNIV BLVD</address1>

<city>DALLAS</city>

<state>TEXAS</state>

<country>USA</country>

<postalCode>78042</postalCode>

</company>

</companyList>

Web Services Reference for Oracle Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.