Skip to content

Get a build order

GET
/build-orders/{id}
curl --request GET \
--url https://app.buildtrace.eu/api/build-orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Required scope: production:read.

id
required
string format: uuid

OK

Media typeapplication/json
object
order
required
object
id
required
string format: uuid
orderNumber
required

The order’s number within the organization, e.g. BO-0001

string
assemblyRevisionId
required
string format: uuid
targetQty
required
integer
consumeFromLocationId
string format: uuid
produceToLocationId
string format: uuid
status
required
string
version
required
integer
partCode

Code of the assembly’s part (read-only; populated by list/detail reads).

string
partName

Name of the assembly’s part (read-only; populated by list/detail reads).

string
revisionLabel

Label of the assembly revision (read-only; populated by list/detail reads).

string
consumeFromLocationCode

Code of the consume-from location (read-only; populated by list/detail reads).

string
consumeFromLocationName

Name of the consume-from location (read-only; populated by list/detail reads).

string
produceToLocationCode

Code of the produce-to location (read-only; populated by list/detail reads).

string
produceToLocationName

Name of the produce-to location (read-only; populated by list/detail reads).

string
lines
required
Array<object>
object
id
required
string format: uuid
childRevisionId
required
string format: uuid
requiredQty
required
string
reservedQty
required
string
consumedQty
required
string
isSerialized
required
boolean
origin
required
string
childPartId

The line’s child part (read-only; populated by detail reads). Lets a client join a line to anything that references a part rather than a revision. The operator screen uses it to show which serial or lot was kitted for a component a work-instruction step cites.

string format: uuid
partCode

Code of the line’s child part (read-only; populated by detail reads).

string
partName

Name of the line’s child part (read-only; populated by detail reads).

string
revisionLabel

Label of the line’s child revision (read-only; populated by detail reads).

string
ecos
required
Array<object>
object
ecoId
required
string format: uuid
ecoNumber

ECO number (read-only).

string
ecoTitle

ECO title (read-only).

string
status
required
string
acknowledged
required
boolean
acknowledgedAt
string format: date-time
producedCount
required
integer
scrappedCount
required
integer

Example generated

{
"order": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"orderNumber": "example",
"assemblyRevisionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"targetQty": 1,
"consumeFromLocationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"produceToLocationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"status": "example",
"version": 1,
"partCode": "example",
"partName": "example",
"revisionLabel": "example",
"consumeFromLocationCode": "example",
"consumeFromLocationName": "example",
"produceToLocationCode": "example",
"produceToLocationName": "example"
},
"lines": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"childRevisionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"requiredQty": "example",
"reservedQty": "example",
"consumedQty": "example",
"isSerialized": true,
"origin": "example",
"childPartId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"partCode": "example",
"partName": "example",
"revisionLabel": "example"
}
],
"ecos": [
{
"ecoId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"ecoNumber": "example",
"ecoTitle": "example",
"status": "example",
"acknowledged": true,
"acknowledgedAt": "2026-04-15T12:00:00Z"
}
],
"producedCount": 1,
"scrappedCount": 1
}

Unauthorized

Not found