Start a Conversation

Unsolved

Y

12 Posts

28

November 2nd, 2023 13:04

How to create a Device Discovery Rule using the API?

Hi:

 

Anybody knows how to create a Device Discovery Rule using the API in the SCG?

I can find in documentation endpoints for run a device discovery rule and for get a list for device discovery rules but not for create a new one.

 

Thanks and regards

Yeysy

Moderator

 • 

8.5K Posts

November 2nd, 2023 18:30

Yeysy,

 

You would normally add devices from here

 

 

Image

 

 

for discovery rules I believe these are going to be required.

 

 

Image

 

 

So I would make one on purpose, then run a GET on it and find out what is needed and build out future ones from there.

 

Let me know if this helps.

 

12 Posts

November 3rd, 2023 10:28

Hi @DELL-Chris H​:

I've try sending PUT and POST to endpoint /v2/inventory/discoveryrules using multiple combinations in the body but without luck.

Do you think the URI for this task is not implemented in the API?

BT

Yeysy

4 Posts

November 3rd, 2023 14:41

Hi @DELL-Chris H​:

I've try sending PUT and POST to endpoint /v2/inventory/discoveryrules using multiple combinations in the body but without luck.

Do you think the URI for this site is not implemented in the API?

BT

Yeysy



Yes, it is possible that the URI for /v2/inventory/discoveryrules is not implemented in the API, or that it is not supported for creating new discovery rules.

Moderator

 • 

3.2K Posts

03-11-2023 15:19 PM

thank you for your answer damyiu

with kind regards Martin

DELL-Martin S

Social Media and Communities Professional

Dell Technologies | Enterprise Support Services

#IWork4Dell

Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

No Events found!

Top