06-07-2023 08:33 AM
Was using the api documentation to understand shutting/no shutting a NDFC managed switch interface.
nd2.3/ndrc 12.1.
https://xxx/apidocs/#operation/adminstatus
the online example uses:
{
}
this fails for me when i update for my serial and interface (using postman and swagger test tool with json)
06-07-2023 08:36 AM
is there a means to send one post command and have a mixture of shut and no shut events....with above, it needs to be two unique post events?
01-04-2024 11:53 AM
Unfortunately, there is no mention of batching multiple operations in a single request in the API documentation, so it's safe to assume that the API doesn't support this functionality.
For each unique operation ("shut" or "no shut"), you would need to send separate API requests. This is also a safer approach as it allows you to handle the response and possible errors for each operation separately.
I recommend reaching out to Cisco TAC for more information and any possible updates to the API that might allow batch operations.
Here is an external mailer related to NDFC you could try as well:
cx-phd-ndfc-support@cisco.com
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide