using uimapi to obtain the ID (csId or cs_id) of a device by name
search cancel

using uimapi to obtain the ID (csId or cs_id) of a device by name

book

Article ID: 377489

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

In the UIMAPI I am trying to run some API calls against devices and many of these calls are asking for the csId of a device.

Instead of looking in OC every time, is there a way to get the ID from UIMAPI itself?

Environment

uimapi - 20.4 or higher

Resolution

You can use the API call devices_bulk_list under the /devices/ callbacks for this purpose  (/uimapi/devices/devices_bulk_list/)

Below is an example of passing a name to this API call and receiving the device details:

 

Result:

 

 

 

 

Additional Information