Hello paessler support, please could you give me a bit of advice regarding getting the device and groupID into tables provided by api calls

i am using

/api/table.xml?content=devices&output=csvtable&columns=device,host,deviceid,groupid

but this is giving me 'not found' for the last two columns. What do i need to add to get the device and group IDs shown in the URL as we need to cross reference them against the list we have in our CRM


Article Comments

Hello there,

Try it like this: /api/table.xml?content=devices&output=csvtable&columns=device,host,objid,parentid

In case you want an xml-formatted table, remove &output=csvtable from the API call, then you can open it also directly in Excel if you like, otherwise it's a comma separated csv, but I assume that's what you need for the CRM to read the data.

Kind regards,

Erhard


Sep, 2017 - Permalink