Rootprocess: manageprocess

Subprocess: addsubproc

Excerpt: Add sub process to database

Complete json command structure (overriding defaults)

{
  "userproject": {
    "userid": "karttur",
    "projectid": "karttur",
    "tractid": "karttur",
    "siteid": "*",
    "plotid": "*",
    "system": "system"
  },
  "period": {
    "timestep": "static"
  },
  "process": [
    {
      "processid": "addsubproc",
      "procsys": {
        "dstdivision": "",
        "dstsystem": "",
        "srcdivision": "",
        "srcsystem": "",
        "system": ""
      },
      "parameters": {
        "rootprocid": "",
        "subprocid": "",
        "version": "",
        "minuserstratum": "1",
        "title": "",
        "label": ""
      },
      "system": {
        "procsys": {
          "dstdivision": "",
          "dstsystem": "",
          "srcdivision": "",
          "srcsystem": "",
          "system": ""
        }
      },
      "node": {
        "element": "",
        "parameter": {
          "defaultvalue": "",
          "paramid": "",
          "paramtyp": "",
          "required": ""
        },
        "parent": ""
      }
    }
  ]
}

Required json command structure (accepting all defaults)

{
  "userproject": {
    "userid": "karttur",
    "projectid": "karttur",
    "tractid": "karttur",
    "siteid": "*",
    "plotid": "*",
    "system": "system"
  },
  "period": {
    "timestep": "static"
  },
  "process": [
    {
      "processid": "addsubproc",
      "procsys": {
        "dstdivision": "",
        "dstsystem": "",
        "srcdivision": "",
        "srcsystem": "",
        "system": ""
      },
      "parameters": {
        "rootprocid": "",
        "subprocid": "",
        "version": "",
        "minuserstratum": "1"
      },
      "system": {
        "procsys": {
          "dstdivision": "",
          "dstsystem": "",
          "srcdivision": "",
          "srcsystem": "",
          "system": ""
        }
      },
      "node": {
        "element": "",
        "parameter": {
          "defaultvalue": "",
          "paramid": "",
          "paramtyp": "",
          "required": ""
        },
        "parent": ""
      }
    }
  ]
}

List of parameters

parent element paramid type required default
system procsys dstdivision text True
system procsys dstsystem text True
system procsys srcdivision text True
system procsys srcsystem text True
system procsys system text True

Hints for parameters

parent element paramid hint
system procsys dstdivision Process destination division
system procsys dstsystem Process destination system
system procsys srcdivision Process source division
system procsys srcsystem Process source system
system procsys system Process system