Back
Section
BA Revision Guide

APIs & System Integration

A practical BA revision guide for understanding how systems communicate, what data is exchanged, what validations apply, how failures are handled, and how integrations are documented and tested.

API BasicsSystem IntegrationTechnical BAData MappingREST APISwaggerPostmanInterview Prep
Start Learning

As a BA, you are not expected to code APIs, but you are expected to understand integration behavior well enough to document requirements, ask the right questions, identify failure scenarios, support data mapping, and help QA validate the end-to-end flow.

Section 01

What is an API?

Definition

An API, or Application Programming Interface, allows two software systems to communicate with each other.

BA-Friendly Definition

An API is a controlled way for one system to request, send, update, or receive data from another system.

System A
API
System B
Example
  • A mobile app uses an API to get account details from a banking system.
  • An application portal uses an API to send submitted application data to an external processing system.

Think of an API as a messenger between systems.

Section 02

What is System Integration?

Definition

System integration means connecting two or more systems so they can exchange data or perform a business process together.

BA-Friendly Definition

System integration is the process of connecting systems so data and business actions flow correctly between them.

System AIntegrationSystem B
Online Order SystemSends order detailsWarehouse System
HR SystemSends employee dataPayroll System
Application PortalSends application dataDocument Management System
CRM SystemSends customer dataReporting System
Section 03

API vs Integration

TopicMeaningExample
APIA technical method used by systems to communicateREST API endpoint sends customer data
IntegrationThe full business and technical process connecting systemsSend, validate, receive, handle errors, log, retry, and confirm success

API is one way to achieve integration. Integration is the bigger business process.

Section 04

Why BAs Need to Understand APIs

A BA does not usually write API code, but the BA must define and validate integration behavior.

Business Purpose

Why do these systems need to connect?

Source System

Which system sends the data?

Target System

Which system receives the data?

Trigger

What event starts the integration?

Data Mapping

What fields are sent and received?

Validation Rules

What data is required, accepted, rejected, or transformed?

Success Response

What should happen when the API succeeds?

Failure Response

What should happen when the API fails?

Error Handling

What messages, logs, retries, or notifications are needed?

Security

Who or what is allowed to access the API?

Audit Logging

What integration activity should be tracked?

Testing Support

What positive, negative, and failure scenarios should be validated?

Interview Answer

As a BA, I do not need to write API code, but I need to document the business purpose, source and target systems, field mapping, trigger, validation rules, success response, failure handling, retry behavior, audit needs, and test scenarios.

Section 05

Common Types of System Integration

Real-Time Integration

Definition

Data is sent immediately when an event happens.

Example

User submits a form and the system immediately sends data to another system.

Used When
  • Immediate response is needed.
  • User is waiting for confirmation.
  • Business action depends on external response.

Batch Integration

Definition

Data is sent in groups at scheduled times.

Example

Every night, approved transactions are sent to a finance system.

Used When
  • Real-time response is not needed.
  • Large volume of data is processed.
  • Scheduled reporting or reconciliation is needed.

File-Based Integration

Definition

Systems exchange files such as CSV, XML, Excel, or flat files.

Example

System A exports a CSV file and System B imports it daily.

Used When
  • Legacy systems are involved.
  • APIs are not available.
  • Large data transfer is needed.

API-Based Integration

Definition

Systems exchange data through API calls.

Example

System A sends a JSON request and receives a JSON response.

Used When
  • Real-time or near real-time communication is needed.
  • Systems support modern APIs.
  • Structured request and response are required.

Manual Integration

Definition

Users manually export or import data between systems.

Example

User downloads an Excel file from one system and uploads it into another.

Used When
  • Automation is not available yet.
  • A temporary process is needed.
  • Data volume is low.
Section 06

Basic API Terms

Endpoint

The specific URL or API location where a request is sent.

/api/customers or /api/orders/{orderId}
Request

The data sent to the API from the source system.

Response

The data returned by the API after processing the request.

Payload

The actual business data sent in the request or response.

JSON

A structured data format commonly used in APIs.

{
  "caseId": "C1001",
  "status": "Open",
  "priority": "High"
}
XML

Another data format used for system-to-system data exchange, especially in legacy or enterprise systems.

<case>
  <caseId>C1001</caseId>
  <status>Open</status>
</case>
Section 07

REST API Basics

Most modern APIs follow REST API patterns. A BA should understand the common HTTP methods.

MethodMeaningBA Example
GETRetrieve dataGet customer details
POSTCreate new dataCreate a new request
PUTReplace or update full dataUpdate a full profile
PATCHPartially update dataUpdate only status
DELETEDelete dataDelete a document

Read = GET, Create = POST, Update = PUT/PATCH, Delete = DELETE.

Interview Answer

In REST APIs, GET retrieves data, POST creates data, PUT or PATCH updates data, and DELETE removes data.

Section 08

HTTP Status Codes

StatusMeaningBA Interpretation
200OKRequest successful
201CreatedNew record created
400Bad RequestRequest data is invalid
401UnauthorizedUser or system is not authenticated
403ForbiddenUser or system does not have permission
404Not FoundRequested record or API is not found
409ConflictDuplicate or conflicting data
500Server ErrorTarget system failed
503Service UnavailableExternal system temporarily unavailable

Status codes help BAs and QA define success, validation, access, duplicate, unavailable, and server failure scenarios.

Section 09

API Authentication and Authorization

Authentication

Verifies who the user or system is.

  • Login credentials
  • API key
  • Token
  • OAuth

Authorization

Verifies what the user or system is allowed to do.

  • Can view data
  • Can create records
  • Can update records
  • Can access only assigned records
API Key

A unique key used to identify the calling application.

Token

A temporary credential used to access the API.

OAuth

A secure authorization framework commonly used for token-based access.

Interview Answer

Authentication verifies identity, while authorization verifies permission. For integration requirements, a BA should clarify which systems are allowed to call the API, what data they can access, and what actions they can perform.

Section 10

API Request and Response Example

Scenario: A system needs to create a customer in another system.

API Request
{
  "firstName": "John",
  "lastName": "Smith",
  "email": "john.smith@email.com",
  "phone": "5551234567"
}
Success Response
{
  "status": "success",
  "customerId": "CUST1001",
  "message": "Customer created successfully"
}
Error Response
{
  "status": "error",
  "errorCode": "EMAIL_DUPLICATE",
  "message": "Email already exists"
}
AreaBA Requirement
Mandatory FieldsFirst name, last name, email
ValidationEmail must be unique
Success BehaviorStore returned customer ID
Error BehaviorShow duplicate email message
AuditLog request timestamp and response status
RetryDo not retry duplicate email error
TestingTest success, missing email, invalid email, duplicate email, API unavailable
Section 11

Swagger / OpenAPI

What it is

Swagger, also called OpenAPI, is API documentation that describes API behavior.

Swagger Usually Shows
  • API endpoints
  • Request fields
  • Response fields
  • Required fields
  • Data types
  • Error codes
  • Authentication method
  • Example request and response
BA Usage

A BA can review Swagger to understand what fields are required, what response is expected, what errors need to be handled, and what scenarios QA should test.

Interview Answer

I have used Swagger or API documentation to understand endpoints, request and response structures, required fields, data types, and error responses, then worked with technical teams to document integration requirements and test scenarios.

Section 12

Postman

What it is

Postman is a tool used to test APIs.

Postman Can Be Used To
  • Send API requests
  • View API responses
  • Validate status codes
  • Test request payloads
  • Check success and error scenarios
BA-Friendly Explanation

A BA does not need to be a Postman expert, but understanding request, response, status code, and error behavior is useful during API validation and testing discussions.

Interview Answer

I understand the basics of Postman for API validation. I can review request and response payloads, status codes, and error messages to support requirement validation and testing discussions.

Section 13

Data Mapping in Integration

Data mapping defines how fields from one system map to another system.

Source System FieldTarget System FieldTransformation
first_nameFirstNameDirect mapping
last_nameLastNameDirect mapping
dob_textDateOfBirthConvert to MM/DD/YYYY
status_codeStatusA = Active, I = Inactive
phonePhoneNumberRemove special characters

BA Responsibility: document source field, target field, data type, mandatory or optional status, transformation rule, validation rule, default value, and business notes.

Section 14

API Integration Requirement Template

AreaQuestions to Answer
Business PurposeWhy is this integration needed?
Source SystemWhich system sends the data?
Target SystemWhich system receives the data?
TriggerWhat starts the API call?
DirectionIs the data flow one-way or two-way?
FrequencyIs it real-time, batch, scheduled, or manual?
Data FieldsWhat fields are exchanged?
Data MappingHow do source fields map to target fields?
ValidationsWhat data is required or rejected?
Success ResponseWhat happens when API succeeds?
Failure ResponseWhat happens when API fails?
Error HandlingWhat message, log, retry, or notification should occur?
SecurityWhat authentication and authorization rules apply?
Audit LoggingWhat should be logged?
Retry LogicShould failed calls be retried?
NotificationsShould users or admins be notified?
TestingWhat positive and negative scenarios are needed?

For integrations, documenting only the field mapping is not enough. A BA must also capture trigger, frequency, success behavior, error handling, retry logic, security, audit logging, and test scenarios.

Section 15

Integration Trigger Types

User Action

User clicks Submit

Status Change

Record status changes to Approved

Scheduled Job

Every night at 12 AM

File Upload

User uploads CSV file

Event-Based

New record is created

Manual Action

Admin clicks Send to External System

System Event

Payment is completed

BA Question: What event should trigger the integration?

Section 16

One-Way vs Two-Way Integration

One-Way Integration

Data flows from System A to System B.

Application system sends approved applications to reporting system.

Two-Way Integration

Data flows between both systems.

System A sends a request to System B, and System B returns status updates back to System A.

BA Question: Does the source system only send data, or does it also need to receive updates back?

Section 17

Synchronous vs Asynchronous Integration

TypeMeaningExampleUsed When
SynchronousSystem waits for immediate responseValidate address before user continuesImmediate confirmation is needed
AsynchronousSystem sends data and processes response laterNightly batch file processingHigh volume or background processing is acceptable
Interview Answer

Synchronous integration requires an immediate response, while asynchronous integration allows the system to send data and process the response later. A BA should clarify whether the business process requires real-time confirmation or can support delayed processing.

Section 18

Success and Failure Scenarios

Success Scenario

API accepts request, creates or updates record, returns confirmation, and source system stores the returned response.

BA Questions

  • What should the user see?
  • What should be logged?
  • Should the system retry?
  • Should admin or support be notified?
  • Can the user resubmit?
  • Should the failed record remain pending?
FailureExpected Handling
Required field missingShow validation error
Invalid formatReject request
Duplicate recordShow duplicate message
Unauthorized accessShow access denied and log error
External system unavailableRetry or show temporary failure
TimeoutLog failure and retry if configured
Server errorNotify support or admin
Partial failureShow which records failed
Section 19

Error Handling and Retry Logic

Error Handling

Defines what happens when integration fails.

  • Display user-friendly error message.
  • Log technical error.
  • Save failed request for retry.
  • Notify support team.
  • Allow manual resubmission.
  • Mark record as failed.
  • Prevent duplicate submission.

Retry Logic

Defines whether the system should attempt again after failure.

If the external system is unavailable, retry every 15 minutes up to 3 attempts.

BA Questions
  • Which errors should be retried?
  • Which errors should not be retried?
  • How many retry attempts?
  • How often should retry happen?
  • What happens after final failure?
  • Who gets notified?

Do not retry validation errors like missing mandatory fields. Retry is useful for temporary issues like timeout or service unavailable.

Section 20

Audit Logging in Integration

For integrations, logging is critical because teams need to trace what was sent, when it was sent, whether it succeeded, and what failed.

Audit Fields
Integration IDSource SystemTarget SystemTrigger EventRequest TimestampResponse TimestampStatusError CodeError MessageRetry CountCreated By / Triggered By
BA Questions
  • What request was sent?
  • When was it sent?
  • Who or what triggered it?
  • What response was received?
  • Was it successful or failed?
  • What error occurred?
  • Was retry attempted?
  • Who resolved it?
  • Was data changed?
Interview Answer

I ensure integration requirements include audit logging so the team can trace what was sent, when it was sent, whether it succeeded, and what error occurred if it failed.

Section 21

API Testing Scenarios for BA/QA

Positive Scenarios

  • Valid request returns success response.
  • Required fields are accepted.
  • Confirmation ID is returned.
  • Source system stores target system response.
  • Audit log is created.

Negative Scenarios

  • Missing mandatory field.
  • Invalid data format.
  • Duplicate data.
  • Unauthorized request.
  • Forbidden access.
  • Record not found.
  • API timeout.
  • External system unavailable.
  • Server error.
  • Invalid token.
  • Expired token.

Boundary Scenarios

  • Maximum field length.
  • Minimum field length.
  • Maximum records in batch.
  • Special characters.
  • Date format.
  • Large payload.
  • Empty optional fields.

Integration-Specific Scenarios

  • Retry after timeout.
  • No retry for validation error.
  • Partial success in batch.
  • Failure notification.
  • Duplicate prevention.
  • Idempotency behavior.
Section 22

Idempotency

Definition

Idempotency means that if the same API request is submitted multiple times, it should not create duplicate results.

Example

If a user clicks Submit twice, the system should not create two duplicate records.

Interview Answer

For integrations involving create or submit actions, I clarify duplicate prevention or idempotency behavior so repeated requests do not create duplicate records.

This is an advanced but useful concept for Technical BA interviews.

Section 23

Common API / Integration Questions a BA Should Ask

Business Questions
  • What business process needs integration?
  • Why do these systems need to communicate?
  • What business value does the integration provide?
  • What happens if integration is not available?
System Questions
  • What is the source system?
  • What is the target system?
  • Is the data flow one-way or two-way?
  • Is the integration real-time, batch, or manual?
  • What triggers the integration?
Data Questions
  • What fields are sent?
  • Which fields are mandatory?
  • What is the data format?
  • What are the valid values?
  • Are transformations needed?
  • Is source-to-target mapping required?
Validation Questions
  • What validations happen before sending data?
  • What validations happen in the target system?
  • What happens if validation fails?
  • Should the user be able to correct and resubmit?
Error Handling Questions
  • What happens if the API is unavailable?
  • What happens if the request times out?
  • What happens if duplicate data is sent?
  • Should the system retry?
  • Should the support team be notified?
  • Should failure be visible to users?
Security Questions
  • How will systems authenticate?
  • What permissions are required?
  • Is sensitive data exchanged?
  • Should data be encrypted?
  • Should access be role-based?
Audit Questions
  • What should be logged?
  • Who should be able to view logs?
  • How long should logs be retained?
  • Should failed integrations be reportable?
Testing Questions
  • What are success scenarios?
  • What are failure scenarios?
  • What test data is needed?
  • How do we validate request and response?
  • How do we validate logs, retries, and notifications?
Section 24

How to Document API Requirements as a BA

SectionExample
Integration NameSubmit Application to External System
Business PurposeSend approved application data for downstream processing
Source SystemApplication Portal
Target SystemExternal Processing System
TriggerUser clicks Submit or status changes to Approved
FrequencyReal-time
DirectionOne-way
API MethodPOST
Request FieldsName, DOB, Email, Status
Response FieldsConfirmation ID, Status, Message
Validation RulesEmail required, DOB valid date
Success HandlingStore confirmation ID and mark as Sent
Error HandlingDisplay error and log failure
Retry LogicRetry timeout errors 3 times
SecurityToken-based authentication
Audit LoggingLog request, response, timestamp, status
Test ScenariosSuccess, missing fields, invalid token, timeout, duplicate
Section 25

Sample User Story for API Integration

User Story

“As a business user, I want the system to send approved request details to the external processing system so that downstream processing can begin without manual data entry.”

Acceptance Criteria

Given a request has been approved, When the system triggers the integration, Then the request details shall be sent to the external system.

Given the external system successfully accepts the request, When a success response is returned, Then the source system shall store the confirmation ID and mark the integration status as Sent.

Given the external system is unavailable, When the integration fails due to timeout or service error, Then the system shall log the failure and retry based on configured retry rules.

Given the request contains invalid mandatory data, When the integration is triggered, Then the system shall not send the request and shall display or log validation errors.

Section 26

Sample Data Mapping for API

Source FieldTarget FieldData TypeMandatoryTransformationValidation
firstNamefirst_nameStringYesDirectMax 50 characters
lastNamelast_nameStringYesDirectMax 50 characters
dobdate_of_birthDateYesConvert to YYYY-MM-DDCannot be future date
emailemail_addressStringYesLowercaseValid email format
phonephone_numberStringNoRemove dashes10 digits
statusrequest_statusStringYesMap Approved = AMust be valid status
Section 27

Common Mistakes BAs Make with Integrations

Only documenting fields.
Ignoring failure scenarios.
Not defining the source of truth.
Not documenting field transformations.
Not clarifying real-time vs batch.
Not involving QA early.
Not clarifying duplicate handling.
Not defining user-facing messages.
Not documenting audit logs.
Not clarifying ownership for failures.

For integrations, documenting only the field mapping is not enough. A BA must also capture trigger, frequency, success behavior, error handling, retry logic, security, audit logging, and test scenarios.

Section 28

Interview Answer Bank

Section 29

Top 1% BA Language

Say this, not that.

I know APIs

Reframe

I understand API behavior from a business and requirements perspective.

I document integrations

Reframe

I define source and target systems, trigger, data mapping, validations, success response, failure behavior, retry logic, security, audit logging, and test scenarios.

I check fields

Reframe

I validate request and response payloads, mandatory fields, data types, transformations, and business rules.

I support testing

Reframe

I help QA identify positive, negative, boundary, timeout, authentication, duplicate, retry, and audit log scenarios.

I talk to developers about APIs

Reframe

I clarify integration behavior, feasibility, dependencies, and error handling with technical teams.

I understand API failures

Reframe

I document what users see, what gets logged, whether retry is needed, and how support teams are notified.

Section 30

Final Master Answer

Master Interview Answer

“As a BA, I understand APIs and system integrations from a business and requirements perspective. An API allows systems to communicate, while integration is the full process of exchanging data between systems. For integration requirements, I identify the business purpose, source and target systems, trigger, frequency, direction of data flow, request and response fields, data mapping, validations, success and failure behavior, error handling, retry logic, security, audit logging, and testing scenarios. I work with technical teams to confirm feasibility and with QA to ensure both positive and negative integration scenarios are covered.”

Ready to Practice?

Use this guide to revise API and system integration concepts, prepare Technical BA interview answers, and explain how you document integration requirements, data mapping, error handling, retry logic, audit logging, and testing scenarios.

Back to BA Skills Resources