Testing identity switching using Postman

To test identity switching, you can send requests through Postman:

See Testing LN REST API services using Postman.

On the Headers tab of the request, you must enable the X-Infor-LnIdentity header. In the Value field, you must specify the API identity to assume while executing the request. You must specify a target identity that is present in the whitelist of the API role of the invoker's API identity.

If the request fails, an error status code is displayed. In most situations, the response body contains information about the cause of the error.

For details, see Error status codes returned by Infor LN REST services.