{
  "meta": {
    "options": {
      "linkedFile": "/views/dspec.ejs",
      "linkedForm": "frm_newbomitem"
    },
    "$_POST": [
      {
        "type": "text",
        "fieldName": "newbompn",
        "name": "newbompn"
      },
      {
        "type": "text",
        "fieldName": "newbomdesc",
        "name": "newbomdesc"
      },
      {
        "type": "text",
        "fieldName": "newbomold",
        "name": "newbomold"
      },
      {
        "type": "text",
        "fieldName": "newbomnew",
        "name": "newbomnew"
      },
      {
        "type": "number",
        "fieldName": "bomdspecid",
        "name": "bomdspecid"
      },
      {
        "type": "number",
        "fieldName": "newbompnid",
        "name": "newbompnid"
      }
    ]
  },
  "exec": {
    "steps": {
      "name": "api1",
      "module": "api",
      "action": "send",
      "options": {
        "headers": {
          "content-type": "application/json"
        },
        "method": "POST",
        "dataType": "json",
        "data": {
          "updatedate": "{{NOW}}",
          "viewlocationid": "14",
          "id": null,
          "old": "{{$_POST.newbomold}}",
          "createdate": "2023-11-14T12:51:06Z",
          "designspecid": "{{$_POST.bomdspecid}}",
          "createuserid": "-1",
          "new": "{{$_POST.newbomnew}}",
          "updateuserid": "-1",
          "partnumberid": "{{$_POST.newbompnid}}"
        },
        "url": "{{$_ENV.API_BASEURL+'boms/wapplerinsert'}}"
      },
      "output": true
    }
  }
}