Introduction to the new API in IBM SmartCloud Enterprise V2.2

Source: Internet
Author: User
Tags curl documentation new features php code php code examples representational state transfer

IBM SmartCloud Enterprise V2.2 describes some of the new features that users can use through the graphical user interface (GUI) and application programming interfaces (APIs) of the solution portal. In this article, we focus on the use of the API, enumerate several sample use cases, introduce several functions, and provide code examples for the following features:

User Management

Guest Message Delivery

Service Product Management

Service Instance Management

Storage Unit Configuration

The user accesses the SmartCloud Enterprise API using a representational state Transfer, REST, which can be sent directly using an HTTP call, a command-line interface, or a client library. (The Support tab on the SmartCloud Enterprise portal site provides command-line interface references and Java client library documentation.) This article provides a rest request to access the SmartCloud Enterprise 2.2 API and also provides code snippets for other language versions.

For all features, we use the popular CURL command-line utility to provide code samples that allow you to transfer data using HTTP commands, and we also display the rest invocation parameters in each CURL call. Throughout this article, we will also provide command-line interface commands and Java and PHP code examples to invoke API functions.

The REST API accesses SmartCloud Enterprise resources through HTTP requests made to the central SmartCloud Enterprise API endpoint URL. This central URL is described in the entire article as <base-URL>. (For a detailed description of the rest API syntax and parameters, see the Rest API reference documentation provided in the SmartCloud Enterprise Asset directory.) )

It is noteworthy that, although the SmartCloud Enterprise GUI portal implements its functionality using API calls, the GUI portal does not provide all the available functionality; some SmartCloud Enterprise features can only be obtained through API calls that are emitted programmatically 。

User Management

SmartCloud Enterprise users who have administrative rights can add or remove portal users (not administrators) from their accounts. All SmartCloud nterprise user records are valid for all SmartCloud Enterprise SmartCloud data Center locations. User management functions can be obtained through APIs and GUIs.

Possible use cases for user management APIs:

IBM Business can provide its own custom front-end for user management features.

Account administrators can enable user account scripting and automation for their smartcloud Enterprise projects.

Add and remove SmartCloud Enterprise portal users

Let's take a look at Portal user additions and deletions:

Using REST Requests

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/extra/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.