Con le Release 10 e 11 di Infor XA è arrivato il IDF REST API Designer: lo strumento con cui i dati e le funzioni di XA si pubblicano come servizi web standard. Nei progetti di integrazione è diventata la prima domanda: «possiamo collegare il portale, il CRM o l'e-commerce a XA con le IDF REST API?».
Spesso sì. Ma conviene sapere prima cosa sono e come sono fatte, perché è da lì che si capisce quanto lavoro c'è dall'altra parte.
Cosa sono, in pratica
L'IDF REST API Designer sta dentro Integrator, la parte di IDF dove vivono i Business Object di XA. Costruire un'API vuol dire fare tre scelte:
- quali Business Object esporre (clienti, articoli, ordini cliente, ordini d'acquisto…), fra quelli disponibili in Integrator, comprese le estensioni già configurate;
- quali attributi di ogni oggetto, e se in sola lettura o modificabili;
- quali azioni diventano chiamate: elenco, dettaglio, creazione, modifica, copia, cancellazione, oggetti correlati.
Il risultato è un servizio web documentato, con la sua specifica OpenAPI che si scarica e si consegna a chi deve sviluppare dall'altra parte. Per gli oggetti con testata e righe, come un ordine, una chiamata porta con sé la struttura completa.
Come si usano
- Si apre una sessione con una chiamata di login, che restituisce un token da passare in tutte le chiamate successive.
- Ogni sessione elabora una richiesta per volta. Per lavorare in parallelo si aprono più sessioni.
- Ci sono un'area di Test e una di Release, le API si esportano e importano da un ambiente all'altro, e un simulatore integrato permette di provare le chiamate prima di scrivere una riga di codice.
Le API si possono anche pubblicare sull'API Gateway di Infor OS, con autenticazione JWT: è la strada per esporle all'esterno in modo controllato. Se XA è in rete locale, serve l'Enterprise Connector.
Cosa serve per averle
- Net-Link: l'IDF REST API Designer non si apre da Power-Link.
- Una licenza IDF REST API attiva nell'ambiente IDF.
- L'IDF REST API Runtime Server, un server Java dedicato, uno per ambiente.
La licenza si dimensiona sul numero di richieste all'ora: oltre il tetto, il server chiede di riprovare più tardi. Prima di partire conviene quindi stimare quante chiamate farà l'applicazione collegata, nelle ore di punta e non in media.
Quando servono davvero
Con la specifica OpenAPI chi sviluppa si genera il client in pochi minuti, e i controlli restano quelli di XA: un dato sbagliato viene rifiutato, non scritto, e i valori di default obbligatori li completa XA. Quello che né la specifica né XA possono sapere è quali valori mettere: il codice cliente, il magazzino, il tipo ordine, il listino.
Per questo le IDF REST API danno il meglio quando dall'altra parte quei valori sono già chiari: Infor ION, una piattaforma di integrazione, l'IT del gruppo, un'applicazione che usa già i vostri codici. A loro danno un accesso standard, documentato e supportato da Infor, che resta valido anche dopo gli upgrade.
Casi tipici: un portale clienti che legge disponibilità e stato degli ordini, un CRM che tiene allineata l'anagrafica, un'applicazione del gruppo che deve leggere o scrivere su XA con regole chiare e un contratto tecnico preciso.
Le IDF REST API espongono l'oggetto, con le sue azioni standard. Tutto quello che sta intorno lo progetta chi le chiama.
Cosa resta da progettare
Tradurre i codici dell'altra applicazione in quelli di XA, decidere i valori che XA non può dedurre da solo, mettere in fila le chiamate quando un'operazione tocca più oggetti, gestire gli errori e i tentativi: è il lavoro di chi chiama. Non è un limite, è il modo in cui sono progettate. Ma è la parte che decide tempi e costi di un progetto, e va messa in conto dall'inizio, insieme a chi sviluppa dall'altra parte.
Da dove si comincia
Il primo passo costa poco. In un ambiente di test si crea un'API con un solo Business Object semplice, la si pubblica in Test e la si prova con il simulatore. In mezza giornata si vede com'è fatta davvero la risposta, e chi deve sviluppare ha in mano la specifica vera invece di una descrizione a voce.
Come Infor Gold Channel Partner vi seguiamo su tutto il percorso: dimensioniamo la licenza, scegliamo e configuriamo i Business Object, pubblichiamo le API e accompagniamo chi le deve usare.
Ne parliamo giovedì 18 febbraio 2027
Un webinar di 45 minuti sulle IDF REST API di Infor XA: cosa si può esporre, cosa serve per averle e come si imposta un progetto. Gratuito, online, con le domande in chat.
Vedi le date dei webinar →Infor XA Release 10 and 11 brought the IDF REST API Designer: the tool for publishing XA data and functions as standard web services. It has become the first question in every integration project: "can we connect the portal, the CRM or the e-commerce site to XA with the IDF REST APIs?"
Often, yes. But it pays to know first what they are and how they are built, because that is what tells you how much work is left on the other side.
What they are, in practice
The IDF REST API Designer lives inside Integrator, the part of IDF where XA's Business Objects live. Building an API means making three choices:
- which Business Objects to expose (customers, items, customer orders, purchase orders…), among those available in Integrator, including extensions already configured;
- which attributes of each object, and whether they are read-only or editable;
- which actions become calls: list, details, create, change, copy, delete, related objects.
The result is a documented web service, with its own OpenAPI specification that you download and hand to whoever develops on the other side. For objects with a header and lines, such as an order, one call carries the complete structure.
How they are used
- You open a session with a login call, which returns a token to pass in every following call.
- Each session handles one request at a time. To work in parallel you open more sessions.
- There is a Test area and a Release area, APIs can be exported and imported between environments, and a built-in simulator lets you try the calls before writing a line of code.
The APIs can also be published on the Infor OS API Gateway, with JWT authentication: that is the way to expose them externally in a controlled manner. If XA sits on a local network, the Enterprise Connector is needed.
What you need to have them
- Net-Link: the IDF REST API Designer does not open from Power-Link.
- An active IDF REST API licence in the IDF environment.
- The IDF REST API Runtime Server, a dedicated Java server, one per environment.
The licence is sized on the number of requests per hour: above the cap, the server asks the caller to retry later. Before you start, it is worth estimating how many calls the connected application will make at peak times, not on average.
When you actually need them
With the OpenAPI specification, developers generate the client in minutes, and the checks stay XA's own: wrong data is rejected, not written, and XA fills in the mandatory default values. What neither the specification nor XA can know is which values to send: the customer code, the warehouse, the order type, the price list.
That is why IDF REST APIs work best when those values are already clear on the other side: Infor ION, an integration platform, the group's IT department, an application that already uses your codes. They get standard, documented access, supported by Infor, which stays valid after upgrades.
Typical cases: a customer portal reading availability and order status, a CRM keeping master data aligned, a group application that has to read or write XA data with clear rules and a precise technical contract.
IDF REST APIs expose the object, with its standard actions. Everything around it is designed by whoever calls them.
What is left to design
Translating the other application's codes into XA's, deciding the values XA cannot work out on its own, sequencing the calls when an operation touches several objects, handling errors and retries: that is the caller's job. It is not a limitation, it is how they are designed. But it is the part that decides the time and cost of a project, and it should be planned from the start, together with whoever develops on the other side.
Where to start
The first step is cheap. In a test environment you create an API with a single, simple Business Object, publish it to Test and try it with the simulator. In half a day you see what the response really looks like, and the developers get the real specification instead of a verbal description.
As an Infor Gold Channel Partner we support you all the way: we size the licence, choose and configure the Business Objects, publish the APIs and support whoever has to use them.
Let's talk about it on Thursday 18 February 2027
A 45-minute webinar on IDF REST APIs for Infor XA: what you can expose, what you need to have them and how to set up a project. Free, online, with questions in the chat.
See the webinar dates →