Get subscription list by customer ID
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 15, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

The API caller must have the VSR or CustomerAdministrator role to run the API.

Table 1. API details
Method
Resource address
Operation header
GET
resource/subscription?_namedQuery=

			getSubscriptionByCustomer&

			customerId=<cust-id>
None
 

URL parameters


Provide the following parameter.

Table 2. Parameters

Parameter
Required
Description
cust-id
Yes
The ID of the customer who owns the subscription.
 

For a list of common HTTP status codes that are returned for API calls, see HTTP status codes.

Parent topic: Subscription management services

Input
Method URI Description
GET /api/bss/resource/subscription The API caller must have the VSR role to run the API.
Name Type Optional Description
_namedQuery
string No Value should always be getSubscriptionByCustomer
customerId
string No The ID of the customer who owns the subscription.
_pageNumber
int Yes _pageNumber={pageNumber} is the selector location for scanning through a list
_pageSize
int Yes _pageSize={pageSize} enables the person to select a maximum value for the pageSize. the maximum value is 100
Output
Content Type: application/json