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

Example of Getting Information for a Service Agreement


This example shows you how to use the service_agreements Web service to get information about a service agreement.

Operation

Use the following operation to get information for a service agreement:

GET /service_agreements/accounts/{account_id}/{sa_number}

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/service_agreements/accounts/{account_id}/{sa_number}

Roles

The following roles are valid for this Web service example:

  • B2B Admin
  • B2B Manager
  • B2B Subscriber
  • B2C User
XML Response

The following is an example of the XML response:

<serviceAgreementInfo>

<serviceAgreementId>BS1|7836380B2B1|878-457-B2B1</serviceAgreementId>

<billerId>BS1</billerId>

<accountNumber>7836380B2B1</accountNumber>

<saNumber>878-457-B2B1</saNumber>

</serviceAgreementInfo>

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