Access and authentication for the REST API
Authentication scheme
The BMC Helix Telco Extensions REST API leverages the authentication mechanism of BMC Helix Innovation Suite.
BMC Helix Innovation Suitefollows the OAuth 2.0 specification with API tokens provided by BMC Helix Single Sign-On. An authentication token is an opaque string. A token is associated with BMC Helix Telco Extensions user, which could be either a local user or an LDAP user.
For more information about the authentication mechanism and how you can use BMC Helix Single Sign-On for authentication, see Using authorization REST APIs to consume BMC Helix Single Sign-On
Authentication and authorization
This article provides you step-by-step procedure to generate an OAuth2.0 Access Token. This token acts as your key to authorization and authentication for exploring BMC Helix Telco Extensions' vast API landscape.
To generate an access token
- Generate API authentication token using below authorization API: POST /api/rx/authentication/loginrequest
- Provide your login ID and password in this authorization API.
- Copy the access token from the response and use it to authorize while accessing any API endpoints.
Parameters
Name | Required/Optional | Description | Type | Example | Notes |
---|---|---|---|---|---|
id | Required | Remedy Server user login account. | String | hannah_admin | Locate this parameter in the request body. This parameter is not specified by default. |
password | Required | Password. | String | <your_password> | Locate this parameter in the request body. This parameter is not specified by default. |
Example request body
"userName": "<your_user>",
"password": "<your_password>"
}
Response
Response | Value | Notes |
---|---|---|
HTTP code | 200 | Application returns an authentication token that is valid for about half an hour. |
HTTP code | 400 | User not found |
Permissions
During authentication, a permission check decides whether the user is allowed to perform the requested action. The user must have the required permission in BMC Helix Telco Extensions to perform the operation.