With BOM total detail, you will get all information about furniture and finishes of a specific project.

API

GET ${API_PREFIX}/bom
Content-Type: text/plain;charset=utf-8

URL Query Param

Response

{
  "c": "0",
  "m": "",
  "d": [
    {
      "generalType": 1,
      "roomId": "3FO4K4VYY80F",
      "typeName": "dining room",
      "groundArea": 25.97,
      "wallArea": 68.47,
      "groundPerimeter": 30.36,
      "totalCount": 40,
      "totalPrice": 37.159996,
      "softOutfits": [
        {
          "brandGoodId": "3FO4K2RWLFSR",
          "type": "model",
          "imageUrl": "https://qhyxpicoss.kujiale.com/r/2017/04/30/DVDPZGO6EJI4OK7ALP3WK4Y8_800x800.jpg",
          "name": "Imported carpet YLDT101032AB",
          "purchaseLink": "http://www.bdhome.cn/product-4294967297-21474873559---21474900901.html",
          "brand": "BDHOME",
          "code": "YLDT101032AB",
          "model": "SFY-03",
          "unit": "block",
          "number": 0.01,
          "unitPrice": 2679.0,
          "discountCoefficient": 1.0,
          "realPrice": 26.789999,
          "remark": "test",
          "size": "870.00*270.03*2000.00",
          "brandGoodCategory": [
              {
                  "catId": "3FO4K4ED1CJL",
                  "name": "Door"
              }
          ],
          "brandGoodTags": [
              {
                  "tagId": "3FO4K4VYH15A",
                  "name": "Label"
              }
          ],
          "replaceMaterials": [
              {
                   "materialId": "5c9b6f4a03003f00019395f3",
                   "brandGoodMaterialId": "5c9b6f4a03003f00019395f3",
                   "name": "timg",
                   "previewImage": "www.baidu.com",
                   "materialCode": "safs",
                   "composition": "111",
                   "grade": "111",
                   "specification": "111",
                   "comments": "111",
                   "materialLocationId": "5c9b4b2b91aa2335945283ae",
                   "materialLocationName": "123123"
               }
           ]
        }
      ],
      "hardOutfits": [
        {
          "brandGoodId": "3FO4KE6IGF4R",
          "type": "floor",
          "imageUrl": "https://qhyxpicoss.kujiale.com/tilepreview/2017/01/20/WIGjugoBBs8wQwAAAA0-gong-large.jpg",
          "name": "floor-CO_2_Frontal-3",
          "purchaseLink": "",
          "brand": "test",
          "code": "1122334455",
          "model": "sd330",
          "specification": "2400.00*125.00",
          "unit": "sq.m",
          "number": 26.47,
          "lossCoefficient": 0.0,
          "unitPrice": 220.0,
          "discountCoefficient": 1.0,
          "realPrice": 5823.4,
          "remark": "test",
          "location": 3,
          "brandGoodTags": [
              {
                  "tagId": "3FO4K4VY9AAY",
                   "name": "111"
              }
           ]
        }
      ]
    }
  ]
}
Did this answer your question?