Page 1 of 1

RestAPI

Posted: Fri Feb 07, 2020 1:26 pm
by gregwhite
I am trying to create a spreadsheet with multiple columns of data that can then be sorted. Each WGet pulls some object data defined by /objects/Hosts. Can you string together multiple objects so pull multiple data fields in one WGet. This would allow you to get more information on a device when you are doing a search.
Example:
/objects/hostgroupmembers/hosts/services/contacts.............

Thanks,
Greg

Re: RestAPI

Posted: Fri Feb 07, 2020 2:53 pm
by mbellerue
I don't think this is possible with the existing API endpoints. You might need to write a script that calls multiple endpoints to pull all of this data together.

Or maybe the custom API endpoints document is for you? Have you taken a look at Help -> Custom API Endpoints?

Re: RestAPI

Posted: Fri Feb 07, 2020 4:36 pm
by gregwhite
Thanks. I'll take a look.

Greg