✦Developers

KERN ERP API — Planning

Masters, products and styles, Buyer POs, purchase orders, GRNs, sales invoices, packing slips and stock.

Version 2026-10-09.1 · published 9 Oct 2026 · 105 APIs

Base URL https://kronex.codeverse.co/cedge

Download: OpenAPI (JSON) · Postman collection · Guides · Changelog

Planning

Grouped by screen, as in the app. Scope for the whole module: erp.planning.*:read or :write.

Line Planning

Access: erp.planning.line_plans:read(or :write)

GET/public/v1/planning/line-plans

List line plans (paged; status, location, search)

Scope erp.planning.line_plans:read · the client's role needs view on Line Planning

Parameters
NameInTypeNotes
pagequeryinteger (int32)Page number, starting at 0.
sizequeryinteger (int32)Items per page.
sortByquerystringField to sort by.
sortDirquerystringSort direction: asc or desc.
statusquerystringOnly records with this status (see the record's status values).
locationIdqueryinteger (int64)Only this location / factory (id).
searchquerystringSearch text (part of a name, number or code; not case-sensitive).
Response (200) — data
FieldTypeNotes
contentarray of object
idinteger (int64)
qcNostring
qcDatestring (date)
qcPersonstring
processstring
dcNostring
vendorNamestring
locationNamestring
statusstring
pageinteger (int32)
sizeinteger (int32)
totalElementsinteger (int64)
totalPagesinteger (int32)
lastboolean

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — List line plans (paged; status, location, search) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/planning/line-plans?page=0&size=20" \ -H "Authorization: Bearer $KERN_API_KEY"
GET/public/v1/planning/line-plans/{id}

Get one line plan (entries per line, planned windows)

Scope erp.planning.line_plans:read · the client's role needs view on Line Planning

Parameters
NameInTypeNotes
id *pathinteger (int64)The record's id.
Response (200) — data
FieldTypeNotes
idinteger (int64)
qcNostring
qcDatestring (date)
qcPersonstring
processstring
locationIdinteger (int64)
locationNamestring
statusstring
inspectionLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
itemNostring
rollNostring
gsmnumber
widthnumber
weightnumber
rollQtynumber
acceptedQtynumber
qcResultstring
stockInwardLinesarray of object
idinteger (int64)
grnLineIdinteger (int64)
dcNostring
fabricProgramNostring
itemTypestring
fabricIdinteger (int64)
itemNamestring
inwardFabricColorstring
uomIdinteger (int64)
uomNamestring
lotNostring
widthnumber
gsmnumber
weightnumber
locationIdinteger (int64)
locationNamestring
rollNostring

…5 more fields — see the OpenAPI file.

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Get one line plan (entries per line, planned windows) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/planning/line-plans/{id}" \ -H "Authorization: Bearer $KERN_API_KEY"

Capacity Report

Access: erp.planning.capacity:read(or :write)

GET/public/v1/planning/capacity-report

Capacity and load: line / factory utilisation and late orders (from, to, locationId)

Scope erp.planning.capacity:read · the client's role needs view on Capacity Report

Parameters
NameInTypeNotes
fromquerystring (date)From this date (YYYY-MM-DD), inclusive.
toquerystring (date)Up to this date (YYYY-MM-DD), inclusive.
locationIdqueryinteger (int64)Only this location / factory (id).
Response (200) — data
FieldTypeNotes
fromstring (date)
tostring (date)
linesarray of object
lineIdinteger (int64)
lineNamestring
locationIdinteger (int64)
locationNamestring
workingDaysinteger (int32)
availableMinutesnumber
plannedMinutesnumber
utilizationPctnumber
entryCountinteger (int32)
samMinutesnumber
factoriesarray of object
locationIdinteger (int64)
locationNamestring
lineCountinteger (int32)
availableMinutesnumber
plannedMinutesnumber
utilizationPctnumber
overloadsarray of object
entryIdinteger (int64)
linePlanIdinteger (int64)
planNostring
lineIdinteger (int64)
lineNamestring
buyerPoIdinteger (int64)
buyerPoCodestring
styleCodestring
styleNamestring
totalQtyinteger (int32)
plannedStartstring (date)
plannedEndstring (date)
buyerDeliveryDatestring (date)
delayDaysinteger (int64)

Errors: 400, 401, 403, 404, 405, 429, 500 — every error says how to fix it; see error codes and troubleshooting.

Example
# KERN ERP — Capacity and load: line / factory utilisation and late orders (from, to, locationId) curl -X GET "https://kronex.codeverse.co/cedge/public/v1/planning/capacity-report" \ -H "Authorization: Bearer $KERN_API_KEY"