Web Services Reference for Oracle Self-Service E-Billing > 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/ebillingrs/rs/companies/{company_id}

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • CSR
  • B2B Admin
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 Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.