Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Companies Web Service >

Example of Getting a Company's Information


This example shows you how to use the companies Web service to get information about a company.

Operation

Use the following operation to get a company's information:

GET /companies/{company_id}

Sample URL

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

http://myhost.example.com:7017/rs/api/v2/companies/Dutch Home Insurance

XML Response

The following is an example of the XML response:

<companyInfo>
<companyId>Dutch Home Insurance</companyId>
<companyName>Dutch Home Insurance Corporation</companyName>
<taxId>...</taxId>
<address1>...</address1>
<city>...</city>
<state>...</state>
<country>...</country>
<postalCode>...</postalCode>
</companyInfo>

Web Services Reference for Oracle Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.