curl --request GET \
--url https://staging.cutmake.ai/api/v1/bom/{bom_id}{
"id": "<string>",
"documentId": "<string>",
"currentVersion": 123,
"versionCount": 123,
"styleId": "<string>",
"style": {
"id": "<string>",
"documentId": "<string>",
"name": "<string>",
"refId": "<string>"
},
"latestVersion": {
"id": "<string>",
"documentId": "<string>",
"versionNumber": 123,
"changeDescription": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"submittedAt": "2023-11-07T05:31:56Z",
"submittedById": "<string>",
"approvedById": "<string>",
"rejectionReason": "<string>"
},
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"submittedById": "<string>",
"approvedById": "<string>",
"versions": [
{
"id": "<string>",
"documentId": "<string>",
"versionNumber": 123,
"changeDescription": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"status": "<string>",
"submittedAt": "2023-11-07T05:31:56Z",
"submittedById": "<string>",
"approvedById": "<string>",
"rejectionReason": "<string>",
"lineItems": [
{
"id": "<string>",
"billOfMaterialVersionId": "<string>",
"grossConsumption": 123,
"sellingTolerance": 123,
"netSellingConsumption": 123,
"buyingTolerance": 123,
"netBuyingConsumption": 123,
"materialCostInNativeCurrency": 123,
"nativeCurrency": "<string>",
"materialCostInUsd": 123,
"estimatedMaterialPreparationLeadTime": 123,
"assignedMaterialOptions": [
{}
],
"chosenAssignedMaterialId": "<string>",
"chosenAssignedSkuId": "<string>",
"category": "Uncategorized",
"description": "<string>",
"unit": "pc"
}
],
"groupedLineItems": [
{
"category": "<string>",
"items": [
{
"id": "<string>",
"billOfMaterialVersionId": "<string>",
"grossConsumption": 123,
"sellingTolerance": 123,
"netSellingConsumption": 123,
"buyingTolerance": 123,
"netBuyingConsumption": 123,
"materialCostInNativeCurrency": 123,
"nativeCurrency": "<string>",
"materialCostInUsd": 123,
"estimatedMaterialPreparationLeadTime": 123,
"assignedMaterialOptions": [
{}
],
"chosenAssignedMaterialId": "<string>",
"chosenAssignedSkuId": "<string>",
"category": "Uncategorized",
"description": "<string>",
"unit": "pc"
}
]
}
]
}
]
}curl --request GET \
--url https://staging.cutmake.ai/api/v1/bom/{bom_id}{
"id": "<string>",
"documentId": "<string>",
"currentVersion": 123,
"versionCount": 123,
"styleId": "<string>",
"style": {
"id": "<string>",
"documentId": "<string>",
"name": "<string>",
"refId": "<string>"
},
"latestVersion": {
"id": "<string>",
"documentId": "<string>",
"versionNumber": 123,
"changeDescription": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"submittedAt": "2023-11-07T05:31:56Z",
"submittedById": "<string>",
"approvedById": "<string>",
"rejectionReason": "<string>"
},
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"submittedAt": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"submittedById": "<string>",
"approvedById": "<string>",
"versions": [
{
"id": "<string>",
"documentId": "<string>",
"versionNumber": 123,
"changeDescription": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdById": "<string>",
"status": "<string>",
"submittedAt": "2023-11-07T05:31:56Z",
"submittedById": "<string>",
"approvedById": "<string>",
"rejectionReason": "<string>",
"lineItems": [
{
"id": "<string>",
"billOfMaterialVersionId": "<string>",
"grossConsumption": 123,
"sellingTolerance": 123,
"netSellingConsumption": 123,
"buyingTolerance": 123,
"netBuyingConsumption": 123,
"materialCostInNativeCurrency": 123,
"nativeCurrency": "<string>",
"materialCostInUsd": 123,
"estimatedMaterialPreparationLeadTime": 123,
"assignedMaterialOptions": [
{}
],
"chosenAssignedMaterialId": "<string>",
"chosenAssignedSkuId": "<string>",
"category": "Uncategorized",
"description": "<string>",
"unit": "pc"
}
],
"groupedLineItems": [
{
"category": "<string>",
"items": [
{
"id": "<string>",
"billOfMaterialVersionId": "<string>",
"grossConsumption": 123,
"sellingTolerance": 123,
"netSellingConsumption": 123,
"buyingTolerance": 123,
"netBuyingConsumption": 123,
"materialCostInNativeCurrency": 123,
"nativeCurrency": "<string>",
"materialCostInUsd": 123,
"estimatedMaterialPreparationLeadTime": 123,
"assignedMaterialOptions": [
{}
],
"chosenAssignedMaterialId": "<string>",
"chosenAssignedSkuId": "<string>",
"category": "Uncategorized",
"description": "<string>",
"unit": "pc"
}
]
}
]
}
]
}Successful Response
Show child attributes
Show child attributes
Show child attributes