getAsBuilt
const url = 'https://app.dev.buildtrace.eu/api/serials/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/as-built';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/serials/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/as-built \ --header 'Authorization: Bearer <token>'Required scope: inventory:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
object
object
object
Part code of the consumed item (read-only).
Part name of the consumed item (read-only).
Revision label of the consumed item (read-only).
Serial number of a serialized consumed item (read-only).
object
ECO number (read-only).
ECO title (read-only).
The work instruction in force when this unit was built, frozen at produce time. Absent for units built before snapshots were recorded, or where the revision had no instruction — absent means “not recorded”, never “no instruction”. Opaque: stored as written so it cannot be reshaped by later API changes.
object
Step sequences the builder ticked off, against the snapshot above. Self-reported at produce time; there is no second signature and no per-step timestamp.
How the unit’s final test came out when it was built. NOT_TESTED: the revision had no final test. Absent for units built before this was recorded.
The final test plan the unit was tested against, frozen at produce time — its identity (testPlanId, version, and ecoNumber when an ECO’s plan was in force) and every check with its limits. Absent when no test was run. Opaque, stored as written.
object
Example
{ "finalTestResult": "PASS"}Unauthorized
Not found