API Maker

The backend engine for the AI era

Case study 07 · Legacy modernization

A 15-year-old ERP opened to mobile apps, without a rewrite

Ironvale Industries makes pumps and valves and sells them through 1,400 dealers. Its orders, stock and invoices live in an ERP built in 2010 on SQL Server and Oracle. Every attempt to give the dealers an app had stopped at the same place: nobody wanted to touch the ERP. API Maker put secure APIs on top of the databases, as they are.

  • 10 weeksto a dealer app on the ERPtwo earlier attempts stopped
  • 0changes to the ERP tables1,100+ tables untouched
  • 4 hoursfrom order to dispatch planwas 2 days by phone and email
  • 88%of dealer orders placed in the appone year after launch

The challenge

Where Ironvale was stuck

Ironvale's ERP was built in 2010 by a vendor that no longer exists. It works. It runs production planning, stock, dealer orders and invoices for three plants on SQL Server, with finance on Oracle. Ten people in IT know its 1,100 tables, and they are the reason it still runs.

Dealers ordered by phone, email and WhatsApp. A sales coordinator typed each order into the ERP, and dealers called back to ask about stock, prices and dispatch. In 2023 an agency quoted a year for a dealer app with a new backend kept in sync with the ERP. In 2024 a second attempt wrote APIs straight on the ERP database, and stopped when a test query locked the stock table during production planning.

  • Two databases nobody could changeSQL Server for the ERP, Oracle for finance. Changing a table meant calling a vendor that no longer exists.
  • Orders by phone and emailEach order was typed by hand, and dealers called to ask about stock, prices and status.
  • Fear of breaking productionOne bad query on the ERP could stop production planning in three plants.

The solution

What they built with API Maker

API Maker reads the schema of a database you already have and makes APIs from it, without changing a table. The IT team tried it on a copy of the ERP on a Friday. By Monday they had read-only APIs for stock and prices, and the confidence to go further.

  1. APIs on the databases as they are

    API Maker connected to SQL Server and Oracle and made APIs for the 140 tables the app needed. No table, column or trigger of the ERP was changed.

    Auto Generated APIs
  2. One query across two databases

    The order list of a sales manager filters orders in SQL Server on the credit status of the dealer in Oracle. Find and join does it in one call.

    Find and Join
  3. New data in a new database

    What the ERP never had, like dealer photos, chats and app settings, lives in MongoDB: next to the ERP, never inside it.

  4. Orders written the ERP way

    A custom API saves a new order with the same stored procedure the ERP screen uses, so every ERP rule still applies.

    Custom APIs
  5. Safe for production planning

    Index Maker found the stock queries that read whole tables and indexed them online, in scripts the IT team reviews. The cache keeps the price lists off the ERP.

    Index Maker

The numbers

Before and after

Time taken by a dealer order (hours)

  • Phone and email
  • Dealer app
Check stock and priceCheck stock and price, Phone and email: 3 h3 hCheck stock and price, Dealer app: 0.1 h0.1 hPlace the orderPlace the order, Phone and email: 5 h5 hPlace the order, Dealer app: 0.2 h0.2 hOrder typed into the ERPOrder typed into the ERP, Phone and email: 8 h8 h0 hDispatch plan confirmedDispatch plan confirmed, Phone and email: 32 h32 hDispatch plan confirmed, Dealer app: 3.7 h3.7 h
Check stock and priceCheck stock and price, Phone and email: 3 h3 hCheck stock and price, Dealer app: 0.1 h0.1 hPlace the orderPlace the order, Phone and email: 5 h5 hPlace the order, Dealer app: 0.2 h0.2 hOrder typed into the ERPOrder typed into the ERP, Phone and email: 8 h8 h0 hDispatch plan confirmedDispatch plan confirmed, Phone and email: 32 h32 hDispatch plan confirmed, Dealer app: 3.7 h3.7 h

2 days before, 4 hours now, measured over 600 orders.

Share of dealer orders placed in the app (%)

020406080100JulAugSepOctNovDecJanFebMarAprMayJunJul, Orders in the app: 6%Aug, Orders in the app: 18%Sep, Orders in the app: 31%Oct, Orders in the app: 44%Nov, Orders in the app: 52%Dec, Orders in the app: 61%Jan, Orders in the app: 68%Feb, Orders in the app: 74%Mar, Orders in the app: 79%Apr, Orders in the app: 83%May, Orders in the app: 86%Jun, Orders in the app: 88%6%88%
020406080100JulSepNovJanMarJunJul, Orders in the app: 6%Aug, Orders in the app: 18%Sep, Orders in the app: 31%Oct, Orders in the app: 44%Nov, Orders in the app: 52%Dec, Orders in the app: 61%Jan, Orders in the app: 68%Feb, Orders in the app: 74%Mar, Orders in the app: 79%Apr, Orders in the app: 83%May, Orders in the app: 86%Jun, Orders in the app: 88%6%88%

No dealer was forced: phone orders are still taken.

The results

What changed for Ironvale

  • 88% of orders in the appA year after launch, 88% of dealer orders come through the app. Sales coordinators handle exceptions, not typing.
  • Dispatch planned in hoursFrom order to dispatch plan takes 4 hours instead of 2 days, and calls to the sales office fell by 70%.
  • The ERP untouchedNot one ERP table was changed, and production planning has not had a single slowdown caused by the app.
  • Each dealer sees its own dataA dealer reads only its own orders, invoices and credit, by rules set in API Maker, not in the ERP.
Everyone told us the dealer app needed a new ERP first. We kept the ERP and gave it a front door. Our dealers do not care how old the database is: they care that the stock number is right.
Head of ITIronvale Industries

What comes next. Ironvale is using the same APIs for a service app: field engineers will log repairs and spare parts against the machines sold, straight from the customer's site.

Have a problem like Ironvale?

Try API Maker on your own computer for free, or tell us about your project.