Question & Answer
Question
How to invoke a REST services when servlet.authstyle is set to STANDARD in IBM Sterling Order Management?
Cause
You are unable to authenticate REST APIs.
Answer
- Invoke the login API through REST using the following URL:
http://<ip-address>:<port>//smcfs/restapi/invoke/login
Method: POST
Media Type: application/json
- Input to the API will be
{
"LoginID" : "admin",
"Password" : "password"
}
The following result will be obtained:
"UserGroupID": "ItemAdministratorGroup",
"UserToken":
"mXffVPKgo9HUoftxg0HsyX3uQQP6o4LmAG3HHnfiVTrtQvx3dyYUX8n6793wggmU15", "UserName": "Administrator",
- Use the UserToken generated in the login call in subsequent calls.
For example
To invoke the server (GET) API, the URL should be:
http://localhost:8084/smcfs/restapi/server?_loginid=admin&_token=mXffVPKgo9HUoftxg0HsyX3uQQP6o4LmAG3HHnfiVTrtQvx3dyYUX8n6793wggmU15
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management System Software"},"ARM Category":[{"code":"a8m0z000000cy06AAA","label":"Services and MQ"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.0;9.0.0;9.1.0;9.2.0;9.2.1;9.3.0;9.4.0;9.5.0"}]
Was this topic helpful?
Document Information
Modified date:
25 October 2025
UID
swg22004012