Good morning,
Is there anyway to perfom several sets to different parameters of the same element using just one POST message of the DataMiner JSON API? If yes, can you provide an example, please?
Thanks in advance
Hi Pilar,
As far as I am aware, this is not possible. Event if this will be possible, I will try to avoid performing multiple sets through the API. Normally when you perform multiple sets on the same element, these sets are executed on parameters that are related to each other. I ended up in situations where you need to wait a couple of seconds before to perform the next set (even when the connector acknowledged the previous one).
For this use case, I could suggest to list the sets on an automation script. Then you could execute the script through the API (ExecuteAutomationScript, ExecuteAutomationScriptWithOutput)
Quoting Miguel – multiple parameters could be set with an automation script (within the DMS), so that you can add the wait times between one set and the other. Potentially, you could check if you can activate such a kind of automation script via API – worth mentioning that the script will need to account for concurrent access (from 2 or more users) to the same SET on the same Element – probably best discussed with a TAM.
HTH