listBuildOrders
GET
/build-orders
const url = 'https://app.dev.buildtrace.eu/api/build-orders';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.dev.buildtrace.eu/api/build-orders \ --header 'Authorization: Bearer <token>'Required scope: production:read.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
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
Example generated
[ { "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" }]Unauthorized