Skip to content

BOM

BOM stands for Bill of Materials - it's a comprehensive list of all components, parts, and assemblies required to manufacture a product. You can view BOMs in Luminovo under the respective RfQ.

Get BOM Tree

Request

Get the list of all assemblies included in your project.

Note: A project is the same as an RfQ (Request for Quotation). Both /projects and /rfqs endpoints are available.

Security
BearerAuth
Path
idstringrequired

id of the project.

Headers
Acceptstring(AssemblyIdsAcceptHeader)required

Set this to application/api.luminovo.assembly-ids-v1+json.

Value:"application/api.luminovo.assembly-ids-v1+json"
GET
/projects/{id}/tree
const id = 'YOUR_id_PARAMETER';
const resp = await fetch(
  `https://api.luminovo.com/projects/${id}/tree`,
  {
    method: 'GET',
    headers: {
      Accept: 'application/api.luminovo.assembly-ids-v1+json',
      Authorization: 'Bearer <YOUR_JWT_HERE>'
    }
  }
);

const data = await resp.text();
console.log(data);

Responses

Get BOM tree for project.

Bodyapplication/json
assembly_idsArray of strings, (uuid)required
Response
{ "assembly_ids": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ] }