I am trying to setup the monitor on Web API based, where
1. call first login API to get token
2. call second GetDevices API with token and Host Id
3. Response of GetDevices API have multiple devices with their interfaces in JSON format
I can do GetDevices API call with discovery rule base and pre-process the JSON response to create multiple Items using Item prototype.
but issue is with calling 1st login API and saving token for 2nd call.
do you have any suggestion to make this work?
1. call first login API to get token
2. call second GetDevices API with token and Host Id
3. Response of GetDevices API have multiple devices with their interfaces in JSON format
I can do GetDevices API call with discovery rule base and pre-process the JSON response to create multiple Items using Item prototype.
but issue is with calling 1st login API and saving token for 2nd call.
do you have any suggestion to make this work?