Home / Technology & Services / Open API & Low-Code
OPEN API & LOW-CODE PLATFORM

Open Integration
LIMS Without Silos

CNWAYLab provides a complete API ecosystem with low-code extensibility: 300+ RESTful endpoints, flexible GraphQL queries, Webhook event subscriptions, and a low-code workflow engine. Seamlessly integrate lab informatics with your ERP, MES, and QMS ecosystem.

300
+ REST API Endpoints
50
+ Pre-Built Connectors
99.9
% API Gateway Uptime
10
Min to Build a Workflow
RESTful API

Comprehensive API Ecosystem

Standardized APIs based on OpenAPI 3.1 specification, covering all LIMS business domains. Auto-generated multi-language SDKs — developers complete their first call in 5 minutes.

01

Sample Management API

Full lifecycle operations: sample registration, receipt, distribution, and disposal. Supports batch import, barcode/RFID binding, and programmatic test request submission by third-party systems.

POST /samples · GET /samples/{id} · PUT /samples/{id}/status
02

Test Result API

Test data entry, review, release, and report generation. Supports batch submission by sample, by test, and by batch — integrated with the instrument data capture module.

POST /results · GET /results/batch · PUT /results/{id}/review
03

Instrument Integration API

Instrument data pull, sequence push, capture status callbacks. Supports CDS bidirectional communication, serial data pass-through, and file parsing result receipt.

POST /instruments/data · GET /instruments/status · WS /instruments/live
04

Report & Document API

COA/test report template rendering, batch issuance, e-signature, PDF generation. Supports custom template variable substitution and multi-language output.

POST /reports/generate · GET /reports/{id}/pdf · POST /reports/sign
05

Master Data API

Materials/reagents/reference standards/customers/suppliers master data CRUD. Supports bidirectional sync with external MDM systems, incremental updates, and conflict resolution strategies.

GET /masterdata/* · POST /masterdata/sync · PUT /masterdata/batch
06

Audit & Compliance API

Audit trail retrieval, e-signature verification, system log export. Supports multi-dimensional queries by time range, operator, and entity type — meeting regulatory inspection requirements.

GET /audit/trail · GET /esig/verify · GET /system/logs
DEVELOPER EXPERIENCE

5-Minute Quick Start

Standardized authentication, auto-generated SDKs, interactive API docs — developer friendliness is CNWAYLab's top API design principle.

GET
/api/v1/samples?status=PENDING&page=1&size=20
Retrieve pending sample list. Supports filtering by status, batch, test item, and pagination.
POST
/api/v1/results
Submit single or batch test results. Body in JSON format, including sample ID, test code, result value, unit, and operator.
POST
/api/v1/webhooks/subscribe
Subscribe to event notifications: sample status changes, result review completion, OOS triggers, etc. Supports HTTP callback and message queue delivery.
# Python SDK — Submit Test Result
from cnwaylab import CNWayClient

client = CNWayClient(
    base_url="https://your-instance.cnwaylab.net",
    api_key="ckey_xxxxxxxx"
)

result = client.results.create(
    sample_id="SP20260528-001",
    test_code="ASSAY_HPLC",
    value=99.52,
    unit="%",
    operator="zhang.wei"
)
print(f"Result ID: {result.id}")
GraphQL

Flexible Queries, On-Demand Data

For dashboards, reports, and complex relational queries, the GraphQL endpoint provides more efficient data retrieval than REST — one request, precisely all the data you need.

# GraphQL — One Query: Sample + Results + Review Status
query {
  sample(id: "SP20260528-001") {
    sampleId
    productName
    batchNo
    results {
      testCode
      value
      unit
      reviewStatus
      reviewer { name }
    }
    auditTrail(limit: 5) {
      action timestamp operator
    }
  }
}

More Flexible Than REST

Traditional REST requires multiple requests to retrieve sample, result, and review data. GraphQL returns the complete nested structure in a single query.

  • Request only needed fields — avoid over-fetching and under-fetching
  • Nested relational queries: Sample → Test Results → Reviewer → Audit Records
  • Built-in type system (Schema), self-documenting, IDE intelligent autocomplete
  • Shares the same authentication system as REST endpoints (OAuth2.0 / API Key)
CONNECTORS

50+ Pre-Built Connectors

Out-of-the-box enterprise system connectors — achieve data interoperability with mainstream ERP, MES, QMS, and ELN systems without writing a single line of code.

🧬
SAP ERP
🔷
Yonyou U8 / NC
🔶
Kingdee K/3 / Cloud
🏭
Siemens MES
📊
Spotfire / Tableau
🔐
LDAP / AD Domain
📧
WeCom / DingTalk
💾
SCADA / DCS
📋
TrackWise QMS
🧪
BIOVIA ELN
📦
WMS Systems
📈
Power BI
LOW-CODE

Low-Code Workflow Engine

Drag-and-drop workflow designer enabling business users to build automated processes without programming. Every step from sample registration to report issuance can be freely orchestrated.

🎨

Visual Workflow Designer

Drag nodes, connect logic, conditional branching — BPMN 2.0-compatible graphical workflow editor. Non-technical users can independently build business approval flows after 30 minutes of training.

BPMN 2.0 · 30+ Pre-Built Node Templates
🧩

Custom Fields & Forms

Drag-and-drop form designer: text boxes, dropdowns, date pickers, file uploads, dynamic tables. Create custom entry interfaces for different sample types — no front-end development required.

20+ Field Types · Conditional Show/Hide Logic

Automation Triggers

Event-driven automation: Sample Received → auto-assign analyst, OOS Triggered → auto-create investigation task, Report Signed → auto-notify client.

Webhook · Scheduled · Event-Driven
SCRIPTING

Script Extension Engine

For advanced scenarios beyond low-code coverage, CNWAYLab provides Python/JavaScript script extension capabilities — both flexible and secure.

🐍

Python Sandbox Runtime

Built-in sandboxed Python 3.12 runtime: pre-installed with requests, pandas, numpy, and other common libraries. Scripts execute in isolated containers with resource quota monitoring to prevent impact on system stability.

Python 3.12 · 256MB Memory Limit · 30s Timeout
📜

JavaScript / TypeScript Hooks

Inject custom logic at critical nodes: before form submission, after data save, before report generation. Full TypeScript type definitions with IDE intelligent auto-completion.

TypeScript 5.x · Sync/Async Hooks · IDE Support

Start with Integration, Unlock LIMS Potential

Book a 1-on-1 consultation with an API integration expert. Learn how to connect CNWAYLab with your existing
ERP/MES/QMS systems, or use the low-code platform to rapidly build custom workflows.