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
| Endpoint | Description | Business key | Source table | Tier |
|---|---|---|---|---|
assemblyBOMComponents | Assembly BOM components (components per parent item). | parentItemNo&&lineNo | BOM Component | Premium |
Transactional data
| Endpoint | Description | Business key | Source table | Tier |
|---|---|---|---|---|
assembleToOrderLinks | Links between assembly orders and sales orders. | assemblyDocumentType&&assemblyDocumentNo | Assemble-to-Order Link | Premium |
assemblyHeaders | Assembly order headers. | documentType&&no | Assembly Header | Premium |
assemblyLines | Assembly order lines (components/resources). | documentType&&documentNo&&lineNo | Assembly Line | Premium |
postedAssembleToOrderLinks | Links between posted assembly orders and sales shipments. | assemblyDocumentType&&assemblyDocumentNo | Posted Assemble-to-Order Link | Premium |
postedAssemblyHeaders | Posted assembly order headers. | no | Posted Assembly Header | Premium |
postedAssemblyLines | Posted assembly order lines (components/resources). | documentNo&&lineNo | Posted Assembly Line | Premium |
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.