Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Social Business Development wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Social Business API Reference IBM Social Business Toolkit documentation Custom Search Scope...
Search
Product Documentation > IBM SmartCloud SaaS Business Support System > Create subscription
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorIBM
Contribution Summary:
  • Articles authored: 1632
  • Articles edited: 14
  • Comments Posted: 0

Recent articles by this author

Configuring

If you are using the Connections QuickStart Image and the Tomcat that comes with the SDK, no additional configuration should be needed. However, when you use your own container or when you use the SDK with your own Connections instance, or if you use the SDK with your SmartCloud for Social ...

Connecting to other systems

The samples in the SDK connect to endpoints that are defined in managedbeans.xml. By default, the endpoints as defined in managedbeans.xml point to the Connections QuickStart Image. You can add endpoints or modify existing endpoints to point to your own services.

Creating your first Domino application

This topic shows you how to create your first Domino® application leveraging the Social Business Toolkit SDK from either Java™ or JavaScript

Creating your first J2EE application

This topic explains how to started consuming the Social Business Toolkit SDK in a web application.

Developer Guide

Tutorials SDK1.0Tutorials Parent topic: SDK Documentation SDK1.0SDK Documentation

Community articleCreate subscription

Added by IBM contributor IBM | Edited by IBM contributor Jeff Schering on March 28, 2013 | Version 12
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
Create one or more subscriptions for a given customer.
Tags: IBM SmartCloud SaaS Business Support System, API reference, BSS, create subscription, subscription management services, IBM SmartCloud SaaS Business Support System API Reference
The API caller must have the VSR role to run the API.

Table 1. API details
MethodResource addressInput representation
POST/resource/subscriptionA JavaScript™ Object Notation (JSON) entry that represents a subscription order.


URL parameters

None.

Input attributes

The input attribute must be a well formatted JSON object with the following information.

Table 2. Input attributes
AttributeRequired Description
DurationUnitsYesThe unit of duration. Valid values are YEARS, MONTHS, and DAYS.
DurationLengthYesThe duration of the subscription. Any positive numeric value is valid.
PartNumberYesThe part number of the service offering. Check your service contract for a list of values.
PartQuantityYesThe quantity of the service offering.
CustomerIdYesThe ID of the customer for whom the subscription is being created.
BillingFrequencyNoThe frequency for billing. Valid values include MRC, QRC, and ARC.
ServiceCodeNoThe value for the service code. This value typically does not need to be specified.
OrderNumberNoThe order number for the purchase order. The default value is RESELLER-ORDER. This value typically does not need to be specified.
OrderItemAttributeSetNoAn optional set of attributes for the purchase order. These attributes are only needed when performing add-on operations. This value typically does not need to be specified.



Sample payload

{
   "Order": {
       "OrderItemSet":  [
           {
               "DurationUnits": "YEARS",
               "DurationLength": 2,
               "PartNumber": "D08SWLL",
               "PartQuantity": 5
           },
           {
               "DurationUnits": "YEARS",
               "DurationLength": 1,
               "PartNumber": "D08S1LL",
               "PartQuantity": 95
           }
       ],
       "CustomerId": 30097263
   }
} 


Output

When the API call is successful, a list of subscription IDs and part numbers are returned, for example:

{"List": [{"SubscriptionId":16697,"PartNumber":"D08SWLL"},
{"SubscriptionId":16698,"PartNumber":"D08S1LL"}]}


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

Parent topic: Subscription management services

  • Edit
  • More Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (14)
collapsed Versions (14)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (12)Mar 28, 2013 1:56:12 PMJeff Schering  IBM contributor
11Nov 14, 2012 12:31:18 PMPam Gilday  IBM contributor
10Nov 14, 2012 12:21:27 PMPam Gilday  IBM contributor
10Nov 14, 2012 12:25:39 PMPam Gilday  IBM contributor
9Jun 8, 2012 2:46:39 PMAnna G O'Neal  IBM contributor
9Jun 8, 2012 2:46:39 PMAnna G O'Neal  IBM contributor
8Jun 8, 2012 2:16:45 PMAnna G O'Neal  IBM contributor
7May 24, 2012 4:56:28 PMAnna G O'Neal  IBM contributor
6Apr 19, 2012 8:39:01 AMAnna G O'Neal  IBM contributor
5Feb 14, 2012 3:34:53 PMAnna G O'Neal  IBM contributor
4Feb 12, 2012 2:05:04 PMAnna G O'Neal  IBM contributor
3Feb 12, 2012 12:47:18 PMAnna G O'Neal  IBM contributor
2Feb 8, 2012 5:16:44 PMAnna G O'Neal  IBM contributor
1Feb 8, 2012 4:28:38 PMIBM  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use