Bill of material (Single BOM)

API # : 8804 | API Name : bom

Module : Manufacturing

Get Bill of Material details.

URL : <domain>/apic/bom
Methods Allowed : POST

Payload Schema :

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "description": "BOM ID."
        }
    },
    "required": [
      "id"
    ] 
  }       
}

Sample Payload :

{
  "id": "rKeEGD" 
}

Request Headers :

Request Headers :

{
  "device": "MYAPP",
  "Authentication": "YOUR_AUTHENTICATION_CODE"
} 

Request Headers Schema :

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "description": "A short name of your application. Device is mandatory but any value between 3 and 20 characters is accepted.",
      "minLength": 3,
      "maxLength": 20
    },
    "Authentication": {
      "type": "string",
      "description": "Authentication code generated for API call."
    }
  },
  "required": [
    "device",
    "Authentication"
  ]
}

Sample success response :

{  
  "bomid": "oIYsNA",
  "summary": "A-59-353 Italy Standards",
  "productid": "P1539260655271",
  "description": "ASSIEME ROTORE PER VENTILATORE 4\" - 4\" BLOWER ASSEMBLY KIT",
  "producttype": 1,
  "productname": "ASSIEME ROTORE PER VENTILATORE 4\" - 4\" BLOWER ASSEMBLY KIT",
  "unitid": "PIECES",
  "model": "A-59-353",
  "bomnumber": 97,
  "raisedby": "w2ggjG",
  "brand": "MySleepyHead",
  "categoryid": "NOCAT",
  "status": 1,
  "components": [
    {
      "uid": "oIYsNA_P1658128919550",
      "unit": "gm",
      "componentid": "P1658128919550",
      "quantity": 50,
      "sel": 50,
      "disp": ".50 : .50 inch wood screws"
    },
    {
      "uid": "oIYsNA_150720211748",
      "unit": "Pcs",
      "componentid": "150720211748",
      "quantity": 25,
      "sel": 25,
      "disp": "05-1540-0 : Adjust Screw Kansai Orginal  Screw/ Nut"
    },
    {
      "uid": "oIYsNA_S09093519",
      "unit": "KG",
      "componentid": "S09093519",
      "quantity": 50,
      "sel": 50,
      "disp": "MS100.255 : 1.2X1250X3000 MS CRCA"
    },
    {
      "uid": "oIYsNA_150720218651",
      "unit": "Pcs",
      "componentid": "150720218651",
      "quantity": 15,
      "sel": 15,
      "disp": "87-0400-0 : Adjust Screw Kansai Orginal  Screw/ Nut"
    },
    {
      "uid": "oIYsNA_1454055534226",
      "unit": "KG",
      "componentid": "1454055534226",
      "quantity": 60,
      "sel": 60,
      "disp": "4654564654 : 2mm Aluminum Sheet"
    }
  ]
}

Sample failure response :

{
  "response": -1,
  "errorcode": 404,
  "errors": [
    {
      "param": "id",
      "error": "No such record found. Please check if the value is correct.",
      "errorcode": 404
    }
  ]
}
Tuhund Logo
TUHUND®
Home About us Modules CRM HR SALES BI SERVICES MANAGEMENT INVENTORY MANAGEMENT ACCOUNTING AND FINANCE PROCUREMENT PROJECT MANAGEMENT ERP ADMINISTRATION DATA REPOSITORY API & SUB PORTALS Careers Community Blog
M Home Schedule Demo About us Community Blog
CRM HR SALES BI SERVICES MANAGEMENT INVENTORY MANAGEMENT ACCOUNTING AND FINANCE PROCUREMENT PROJECT MANAGEMENT ERP ADMINISTRATION DATA REPOSITORY API & SUB PORTALS Careers
API Documents
Request Demo