Skip to content

SQL Server Integration & APIs

Copying figures from one system into another is work nobody would choose. Orders go from the database into the accounts package, delivery details come out of an email and into a form, and now and again a number lands in the wrong place. Then the two systems disagree, and the afternoon goes on working out which one is right.

Where it has been automated, it’s often a script or an overnight job that stops without telling anyone. The first sign is someone asking where their report went.

Joined up properly, a figure is entered once and turns up wherever it’s needed, and when something doesn’t match, the system says so in a log anyone can read. CDE Systems has been connecting SQL Server to other business software since 1999. We use an API where the other system has one and other routes where it doesn’t, and we build the link to keep running without someone watching it.

SQL Server integration and APIs connecting business systems
Call usSpeak to a developer0114 249 1036

If it has stopped altogether, don’t fill in a form. Ring.

What it looks like once it’s joined up

An order is raised once. The accounts package has it, the confirmation goes to the customer and is logged, and the stock figure on the website changes. When a customer exists in one system but not the other, the order doesn’t vanish. It lands in a list of exceptions with a reason next to it, and someone can put it right there and then.

The job of checking one system against another line by line goes away, and so does the job of re-typing.

What we connect SQL Server to

System What moves
Accounts Sage 50, Sage 200, Xero and QuickBooks. Orders and invoices post across without re-keying, and customers, suppliers and nominal codes stay in step both ways. Older Sage and Mamut installations still turn up, and we still work with them
Email and Microsoft 365 Quotes, confirmations, statements, job sheets, service reminders and chase letters, generated from live data, sent automatically and logged. Calendar and contact sync where it earns its keep
Files and documents Drawings, certificates, photos, signed paperwork and correspondence, held against the record but stored outside the database. Access control, version history, and an audit trail of who added and who opened what
Barcodes and scanning Stock, goods in, picking, dispatch, asset tracking and plant hire, with handheld or fixed scanners, label printing, and advice on the hardware. We’ve delivered barcode systems across logistics, retail and rental
Texts and WhatsApp Delivery notices, appointment reminders and engineer-on-the-way messages, through the main UK SMS gateways or the WhatsApp Business API. Replies come back into the system against the record
Your website WordPress and other content systems kept in step with products, prices, stock and branches. Web forms that land as records, not as emails someone has to re-type. Orders in, stock and prices out
Customer portals Order status, documents, previous jobs and invoices. See customer portals and self-service
Surveys and feedback SurveyMonkey and similar, triggered by the database. A job is completed, the survey goes out, and the response is logged against that job and that engineer

Where staff are out of the building, scanning usually belongs on a phone. See mobile apps for existing systems.

SQL Server data exchanged with accounts, email and barcode systems

How it gets connected

It depends on what the other system offers. Most of what we’re asked for now is API work.

  • REST APIs over SQL Server, so web and mobile applications go through a defined interface instead of straight to the tables
  • Other people’s APIs, from couriers, payment providers, e-commerce platforms, EPOS, CRM systems, suppliers and customer portals
  • Webhooks, for when something has to happen the moment it happens
  • SSIS packages for scheduled bulk movement, built so someone else can maintain them
  • Linked servers and pass-through queries, where two SQL Server estates need to talk
  • Change tracking and CDC, so other systems receive what changed and not a full copy every night
  • Queues and background processing, so a slow third-party API doesn’t hold up the person waiting on it
  • Files in CSV, XML or fixed-width format. A lot of business software still offers nothing else, and it works perfectly well

The part that decides whether people trust it

Making the connection is the easy half. What matters more is what happens when something doesn’t match. A customer exists in one system and not the other, a code has changed, or a posting fails.

We build the handling for that in from the start, with a log a non-technical person can read and a way to fix and resend whatever failed. Without it, people go back to checking the link by hand, and you’re paying for an integration and doing the job manually as well.

Built to keep running

  • Credentials kept in Key Vault or a managed identity, never in a config file or a stored procedure
  • Retries with back-off, so a supplier’s system being down for ten minutes isn’t an incident
  • Failures that alert someone, so nothing fails quietly until month end
  • Documentation, so the link doesn’t depend on one person understanding it

What will it cost to keep running?

Ask every supplier this, us included. We’ll give you a figure for running it as well as building it. An integration that needs looking after every Monday morning isn’t finished.

Once it’s built, it’s supported like the rest of the system. See SQL Server support and consultancy.

Keeping an office and a fleet of phones in step

At Aire Valley Catering, the office runs on an Access application over SQL Server, and the engineers use apps on their own phones, often in kitchens with no signal. Job data has to reach the office complete and in the right order, whatever the signal was doing at the time. The next stage is a defined API layer, so the apps, the web and the office system can each change at their own pace.

What’s being typed twice?

Tell us which two systems aren’t talking and what has to move between them. We’ll come back with whether they can be joined up, how we’d do it, and what it would cost to build and to run.

Prefer to talk?

Talk through what you need.

0114 249 1036