Skip to main content

Assembly endpoints

Assembly BOMs, open and posted assembly orders with their lines, and assemble-to-order links to sales.

All URLs on this page are relative to the company URL, https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/datawareness/endpoints/v1.0/companies({companyId})/. See Construction of the URL.

Master data​

EndpointDescriptionBusiness keySource tableTier
assemblyBOMComponentsAssembly BOM components (components per parent item).parentItemNo&&lineNoBOM ComponentPremium

Transactional data​

EndpointDescriptionBusiness keySource tableTier
assembleToOrderLinksLinks between assembly orders and sales orders.assemblyDocumentType&&assemblyDocumentNoAssemble-to-Order LinkPremium
assemblyHeadersAssembly order headers.documentType&&noAssembly HeaderPremium
assemblyLinesAssembly order lines (components/resources).documentType&&documentNo&&lineNoAssembly LinePremium
postedAssembleToOrderLinksLinks between posted assembly orders and sales shipments.assemblyDocumentType&&assemblyDocumentNoPosted Assemble-to-Order LinkPremium
postedAssemblyHeadersPosted assembly order headers.noPosted Assembly HeaderPremium
postedAssemblyLinesPosted assembly order lines (components/resources).documentNo&&lineNoPosted Assembly LinePremium

Example queries​

Open assembly orders​

GET .../assemblyHeaders?$select=documentType,no,itemNo,quantity,assembledQuantity,dueDate,status

Lines of one assembly order​

GET .../assemblyLines?$filter=documentNo eq 'A00010'
&$select=documentNo,lineNo,type,no,quantity,consumedQuantity,remainingQuantity

Tips​

  • Fields: every endpoint's fields, with types, are listed by properties — see Metadata discovery. The same list is on the endpoint's page under BI Endpoints in Business Central.