Infor LN REST API Administration Guide (Cloud)

Back

Forward

  • Copy URL
  • PDF
  • Print this page

Topic URL copied to clipboard

About this guide
Overview
Advanced features
Procedure summary
Viewing documentation for LN REST APIs
Requesting approval for access and consumption of the LN REST APIs
Performing post-approval steps
Activating REST services
Activating a service by adding and activating companies
Activating services for companies in a company set
Adding a company set
Activating a single service for the companies in a company set
Activating a set of services for the companies in a company set
Testing LN REST API services using the Try It Out feature
Registering an authorized app for LN
Authentication and identification overview
Registering an authorized app in API Gateway
Testing LN REST API services using Postman
Procedure summary
Installing Postman
Downloading API documentation
Importing the downloaded .json file in Postman
Specifying the variables for the Postman collection
Specifying the authorization settings for the Postman collection
Retrieving an access token
Sending requests
Developing an API client
API authorizations
API roles and API authorizations
Route authorizations
Route data authorizations
Data authorization for POST methods
API identities
API identities using multiple API roles
API authorizations and authorizations for LN database access
Defining API authorizations
Adding API identities
Adding API roles
Manually adding an API role
Generating general roles for /lnapi and /plmapi
Specifying route authorizations for an API role
Linking API roles to API identities
Enabling API authorizations
Enabling API data authorizations
Specifying route data authorizations for an API role
Testing API authorizations
Identity switching
Different users sharing the same account
X-Infor-LnIdentity header and API identities
Authorization after identity switching
Authorization to switch identity and whitelist
Example scenario with identity switching
LN configuration for the machines
LN configuration for the service account user
Configuration settings in the machines
Result
Enabling identity switching
Prerequisites
Procedure
Testing identity switching using Postman
REST API tracing
REST API trace folders and files
Error status codes returned by Infor LN REST services
Error response for OData requests
Error response for non-OData requests
Miscellaneous topics
Deactivating a service
Relation between AMS authorization and API authorization
Tutorial – route authorizations
Sample business scenario
Procedure
Procedure summary
Procedure details
Result
Tutorial - identity switching
Sample business scenario
Procedure
Creating LN users for the machines
Creating production user profiles for the machines in the relevant companies
Creating API identities for the machines
Adding three API roles for the machines
Defining route authorizations for the first machine role
Defining route authorizations for the second machine role
Defining route authorizations for the third machine role
Assigning the first machine role to the relevant API identities
Assigning the second machine role to the relevant API identities
Assigning the third machine role to the relevant API identities
Creating an API identity for the service user svc_ln
Adding an API role for the service user
Defining the whitelist for the service user role
Defining route authorizations for the service user role
Assigning the service user role to the API identity of the service user
Enabling the API authorizations
Result
Other (non-LN) steps
Downloading the credentials of svc_ln
Programming the machines
Result
  • Links
  • Feedback
  • Support
  • © Copyright 2025. Infor. All rights reserved.
  • Open link in new tab
  • Open link in new window
  • Copy link to clipboard