About ION API Methods
The ION API Methods provides the core integration layer between the Mongoose runtime and the Infor ION API. These methods are used for SSO-based calls, token-based calls, token retrieval, and endpoint metadata.
| Method name | Description | Method type |
|---|---|---|
CollectOutputFields |
This method processes the output fields from an ION API response and returns them in a structured format for IDO consumption. This method is used by Invoke methods to shape the returned data. | Extension class standard method |
GetBearerToken |
This method retrieves a bearer token using SSO and exchanges the Ming.le session for an OAuth token. This method includes retry logic when the token retrieval fails. | Extension class standard method |
GetBearerToken2 |
This method is similar to the GetBearerToken method, and this method is supports updated response shapes or the newer OAuth behavior. |
Extension class standard method |
GetIONAPIInfo |
This method retrieves the base ION API URL and the tenant ID required to build API calls. | Extension class standard method |
InvokeIONAPIMethod |
This method calls an ION API endpoint using an SSO based authentication. | Extension class standard method |
InvokeIONAPIMethod2 |
This is the updated version of the InvokeIONAPIMethod with the expanded parameters and improved response handling. |
Extension class standard method |
InvokeIONAPIMethodWithToken |
This method calls an ION API endpoint using a provided bearer token instead of an SSO. This method includes a recursive retry when the HTTP response codes are not successful. | Extension class standard method |
InvokeIONAPIWithToken2 |
This is the update version of the InvokeIONAPIWithToken that supports binary responses and decompression logic. This method includes an expanded output indexes and a binaryResponse flag. |
Extension class standard method |