{
  "meta": {
    "options": {
      "linkedFile": "/views/dspec2.ejs",
      "linkedForm": "frm_all"
    },
    "$_POST": [
      {
        "type": "text",
        "fieldName": "hdnpartnumber",
        "name": "hdnpartnumber"
      },
      {
        "type": "text",
        "fieldName": "hdnparttyp",
        "name": "hdnparttyp"
      },
      {
        "type": "text",
        "fieldName": "hdnpartcode",
        "name": "hdnpartcode"
      },
      {
        "type": "text",
        "fieldName": "partid",
        "name": "partid"
      },
      {
        "type": "text",
        "fieldName": "parttypes",
        "name": "parttypes"
      },
      {
        "type": "text",
        "fieldName": "partcodes",
        "name": "partcodes"
      },
      {
        "type": "text",
        "fieldName": "description",
        "name": "description"
      },
      {
        "type": "text",
        "fieldName": "comments",
        "name": "comments"
      }
    ]
  },
  "exec": {
    "steps": {
      "name": "api",
      "module": "api",
      "action": "send",
      "options": {
        "url": "{{$_ENV.API_BASEURL+'partnumbers/alt'}}",
        "method": "POST",
        "dataType": "json",
        "data": {
          "number": "{{$_POST.hdnpartnumber}}",
          "statusid": "1",
          "description": "{{$_POST.description}}",
          "comments": "{{$_POST.comments}}",
          "id": null,
          "partcodeid": "{{$_POST.hdnpartcode}}",
          "parttypeid": "{{$_POST.hdnparttyp}}"
        },
        "schema": [
          {
            "type": "object",
            "name": "data",
            "sub": [
              {
                "type": "text",
                "name": "number"
              },
              {
                "type": "number",
                "name": "id"
              },
              {
                "type": "text",
                "name": "description"
              },
              {
                "type": "text",
                "name": "comments"
              }
            ]
          },
          {
            "type": "object",
            "name": "headers",
            "sub": [
              {
                "type": "text",
                "name": "connection"
              },
              {
                "type": "text",
                "name": "content-length"
              },
              {
                "type": "text",
                "name": "content-type"
              },
              {
                "type": "text",
                "name": "date"
              }
            ]
          }
        ]
      },
      "output": true,
      "meta": [
        {
          "type": "object",
          "name": "data",
          "sub": [
            {
              "type": "text",
              "name": "number"
            },
            {
              "type": "number",
              "name": "id"
            },
            {
              "type": "text",
              "name": "description"
            },
            {
              "type": "text",
              "name": "comments"
            }
          ]
        },
        {
          "type": "object",
          "name": "headers",
          "sub": [
            {
              "type": "text",
              "name": "connection"
            },
            {
              "type": "text",
              "name": "content-length"
            },
            {
              "type": "text",
              "name": "content-type"
            },
            {
              "type": "text",
              "name": "date"
            }
          ]
        }
      ],
      "outputType": "object"
    }
  }
}