Help - Search - Members - Calendar
Full Version: GetHardwareObjectList limits
The Planet Forums > API > API Support
Mantas_S
Hi,

can anyone from ThePlanet staff tell me, why GetHardwareObjectList() number of items returned can not be greater than 75? icon_smile.gif

Why I'm asking this? Right now, we have 200 servers (type server) and it will grow. I really like to get them all listed instead of using workarounds, as I do right now (Copy all IP's from Orbit, paste into web form, get all HW stuff with GetHardwareByIPAddress).

I'm not good PHP programmer, so if I made mistake - please correct me. blush.gif

Thanks
Mantas
smitchell
That’s an intentional limitation of the API to encourage clients to use paging methods and to limit the impact of potentially large queries. Use the Pagination object to call the function multiple times to get all your data. The first call would be with a start row of 1 for 75 items, then start row 76 for 75 items, etc.
Mantas_S
Hi,

thanks for reply and tip.

Thanks
Mantas
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.