Websvc api 4.0 - summaryTable adHoc problem

Started by Borgso, April 05, 2022, 09:35:47 AM

Previous topic - Next topic

Borgso

Hi

After upgrade to NetXMS 4.0.x a API call we have used stopped working.
Did anything change in way summaryTable/adHoc works?

http://_HOST_/netxms-websvc/summaryTable/adHoc with this payload gives Internal error 46.
In NetXMS 3.x it returned the summarytable.


{
      "baseObject":"Infrastructure Services",
      "multiInstance":False,
      "columns": [
          {
          "columnName":"IP",
          "dciName":"Dummy(PrimaryIP)"
          },
          {
          "columnName":"Type",
          "dciName":".1.0.8802.1.1.2.1.5.1.1.2.7.0"
          },
          {
          "columnName":"OS",
          "dciName":"Dummy(System.OS)"
          }
      ]
  }


Filipp Sudanov

some URLs were renamed to lowercase-style, please try API_HOME/summary-table/ad-hoc

Admin documentation should have this updated: https://netxms.org/documentation/netxms-admin.pdf

Borgso