Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Exporter macro migration
Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
#F0F0F0#F0F0F0

3

Scroll export button
scopecurrent
template-id4fda9400-a7df-4ede-a95f-e4ae5fcf4796
captionDownload this Page
add-onScroll PDF Exporter

You can retrieve all the details of a specific CMDB CI using the CI ID, Classification ID, Instance name, or classification of the CI. Use the following API Request to retrieve the details of a CI in the CMDB.

To authenticate the below API, see API Authentication and Authorization.

Service NameHTTP Method
CMDB_GetCIDetails

POST


Below is the sample request to retrieve the CMDB CI.

Code Block
themeDJango
titleSample Request
linenumberstrue
{
  "ServiceName": "CMDB_GetCIDetails",
  "objCommonParameters": {
    "_ProxyDetails": {
      "AuthType": "APIKEY",
      "APIKey": "XXXXX",
      "ProxyID": 0,
      "ReturnType": "JSON"
    },
    "_CMDBDetails": {
      "CIID": 0,
      "Classification_Id": 1,
      "InstanceName": "info",
      "Classification": "Storage\\HDD Storage",
      "IsIncludeInactive": "false",
      "CurrentPageIndex": 0,
      "PageSize": 21
    },
    "bIncDeActive": true
  }
}

Anchor
New Status
New Status
Request Parameters

Parameter NameTypeDescriptionMandatory
CIID

Status
colourGrey
titleinteger

Unique Identification number of the CI.

Status
colourGrey
titlefalse

Classification_Id

Status
colourGrey
titleinteger

Unique Identification number of the classification of a CI.

Status
colourGrey
titlefalse

InstanceName

Status
colourGreen
titleString

Name of the Instance.

For Example: Info

Status
colourGreen
titleTrue

Classification

Status
colourGreen
titleString

Name of the classification of a CI.

Status
colourGreen
titleTrue

IsIncludeInactive

Status
colourGreen
titleString

Indicates whether the CI is active state or not.

  • If the value is true, the CI becomes inactive.
  • If the value is false, the CI becomes active.

Status
titleFalse

CurrentPageIndex

Status
colourGrey
titleinteger

Current Index of the page that you are looking into.

For Example:

If each page contains 10 records and there are 10 pages. Items from 1 to 10 are displayed when you specify the  CurrentPageIndex value as 1.

Status
colourGrey
titlefalse

PageSize

Status
colourGrey
titleinteger

Number of records that should be displayed per each page.

For Example:

Consider you specified the PageSize value as 100. Based on the CurrentPageIndex, the API Response displays 100 records.

Status
colourGrey
titlefalse

Code Block
themeDJango
titleSample Response
linenumberstrue
{
  "Errors": "",
  "Message": "",
  "Output": "",
  "TokenID": null,
  "OrgID": 0,
  "OutputObject": {
    "ROOT": {
      "CMDBCIRelationsDetails": {
        "BackupConfigItems": null,
        "ChildConfigItems": {
          "SUBROOT": {
            "Classification_Id": "2",
            "Configuration_Item_Id": "1",
            "Correlation": "1",
            "Device_Host_Name": "Dev123",
            "MAC_Address": "00-as-1d-sd",
            "Make": "DELL",
            "Org_Id": "1",
            "Related_Configuration_Item_Id": "249",
            "Relation": "Child",
            "Serial_No": "Ser123"
          }
        },
        "ParentConfigItems": null,
        "PeerConfigItems": null
      },
      "CMDBDesktopDetails": {
        "ROOT": null
      },
      "CMDBDetails": {
        "ROOT": null
      },
      "CMDBNetworkDetails": {
        "ROOT": null
      },
      "CMDBServerDetails": {
        "SUBROOT": {
          "Configuration_Item_Id": "1",
          "IP_Address": "10.99.8.46",
          "Org_Id": "1"
        }
      },
      "Relations": {
        "ChangeRequestMgmt": null,
        "EventMgmt": {
          "SUBROOT": [
            {
              "Category": "Status",
              "Created_Date": "2016-12-19T08:28:05.683+05:30",
              "Entity_Type": "Server",
              "Error": null,
              "Event_LogID": "7357",
              "Event_Type": "Critical",
              "EventStatus": "Open",
              "IsMaxRow": "1",
              "Message": "Server is Down"
            }
          ]
        },
        "ProblemMgmt": null,
        "ServiceCatalogMgmt": null,
        "ServiceMgmt": null
      }
    }
  }
}

Status and Error Codes

For more information, see Status and Error Messages

Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
1

| |