Can anyone suggest how we can do discovery of IPs through RESTful POST? I want to send all the IPs at one time in the POST payload. Is that something possible?
I know you can send a POST URL to create a model:
https://docops.ca.com/ca-spectrum/10-3-1/en/programming/web-services-api-reference/how-to-use-the-ca-spectrum-web-services-api/restful-resources-nouns/model/example-create-a-model-based-on-model-type
An XML would not be possible in this case.
But you could create a script with a series of URLs listed using curl to POST.
Hi Matthew,
Do you know if there are some limitations on how many rest calls Spectrum can handle at a given time?
I know that Nimsoft has that limitation.
Thanks.
There is no set limit no.
You can certainly cause performance issues if you send too many though. So just be aware of your server performance when doing / scripting.
Perfect! Thanks.
I've also seen customers deploy a separate OneClick server just to handle API work if it's excessive.
Have a look at the below post as well.
https://communities.ca.com/message/241785989?commentID=241785989#comment-241785989
Thanks Tarun and Matthew for your valuable replies!
I am thinking of working on the solution that Matthew suggested.