ProcForms

ProcForms(
    int    ProcessID,
    string Process,
    int    ViewID
)

Get forms for a process.

Request

Request Data:

  • (int) ProcessID or (string) Process (required) identify the process by Name or ID
    If both are provided the Name will be used.
  • (int) ViewID (optional) identify a view to control the fields returned.
{
    "Key"       : <string>,
    "ProcessID" : <int>,
    "Process"   : <string>,
    "ViewID"    : <int>
}

Response

{
  "Result": {
    "Process": <string>,
    "ProcessID": <int>,
    "View": <string>,
    "Columns": [
      <string>,
      ... <More Field Names>
    ],
    "Forms": [
      {
        "FormID": <int>,
        "Values": [
          <string>,
          ... <More Field Values>
        ]
      },
      ... <More Forms>
    ]
  }
}

Errors

  • “Process not found” – If the process could not be found.
  • “View not found” – If the ViewID does not exist (currently produces “Object reference not set to an instance of an object.”)
  • “No forms”.
%d bloggers like this: