OMS uses API's to pull data from the IHQ database and load the information into the application. The OMS API's can be used run in Postman to access the desired JSON data. There are many options in Postman so the following outlines what a user needs to do in order to get results when calling an OMS API.
Note |
---|
This is not a comprehensive guide to Postman, for For more information on using Postman refer to their website: Postman Support. |
...
Overview
Section |
---|
Users should refer to the reference article for each OMS API as the parameters for each will vary. It is important to format the URL correctly to ensure the request can be returned. The following links will offer additional information regarding each API URL and the available parameters.
Panel |
---|
Filter by label (Content by label) |
---|
showLabels | false |
---|
showSpace | false |
---|
cql | label = "api-info" and space = "OSD" and type = "page" |
---|
|
|
Postman calls will need to be checked via the LDAP permissions before any data is returned. So a valid user must be used before making the call. The password will be the Lotus Notes Internet password for the user. - Select the "Authorization" tab
- Set the type to "Basic Auth"
- Enter your email and password
Section |
---|
|
|
Info |
---|
200 OK | Results were found that match the request and are included in the response body | 401 Unauthorized | The current account in the request header does not have access to the API | 403 Forbidden | The current account in the request header does not have access to the territory requested in the request URL | 404 Not Found | Returned if NO results were found that match the specified criteria | 500 Internal Server Error | One or more request string parameters are invalid or an error was encountered by the server while processing the request |
|
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@132e0 |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "api" and type = "page" and space = "OSD" |
---|
labels | api moves-api |
---|
|
...