Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Enterprise 3.9 RESTful API Guide

PDF

POST method for Baselines

This method creates a baseline.

Description
Creates a baseline.
Privilege
BASELINE_MANAGEMENT
HTTP response codes
201
Example request body
{
            "Name": "HTTP",
            "Description": "HTTP",
            "CatalogId": 22,
            "RepositoryId": 12,
            "RepositoryName": "HTTP",
            "RepositoryType": "HTTP",
            "DowngradeEnabled": true,
            "Is64Bit": true,
            "Targets": [
                {
                    "Id": 500,
                    "Type": {
                        "Id": 6000,
                        "Name": "GROUP"
                    }
                }
            ]
}
                   

        {
            "Name": "HTTP1",
            "Description": "HTTP1",
            "CatalogId": 22,
            "RepositoryId": 12,
            "RepositoryName": "HTTP",
            "RepositoryType": "HTTP",
            "DowngradeEnabled": true,
            "Is64Bit": true,
            "Targets": [
                {
                    "Id": 25015,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25016,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25017,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25019,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25021,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25022,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25023,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25032,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25033,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25035,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                },
                {
                    "Id": 25038,
                    "Type": {
                        "Id": 1000,
                        "Name": "DEVICE"
                    }
                }
            ]
        }
    ]
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute Description
Name Name of the Baseline
Description Description of the Baseline
CatalogId ID of the catalog - The user needs to enumerate all catalogs and match the "Name" of the repository with the input provided at creation time
RepositoryId ID of the repository - Derived from the catalog response
DowngradeEnabled If the firmware can be downgraded
Is64Bit This should always be set to true - The DUP files used are 64 bit DUPs only.
Targets Id DeviceID of the device (if the baseline is being created for devices) or GroupID of the group (if the baseline is being created for a group of devices).

You can determine the DeviceIDs through /api/DeviceService/Devices.

You can determine GroupIDs through /api/GroupService/Groups.

Type Id ID for the device type. You can determine the DeviceType IDs can be determined through /api/DeviceService/DeviceType
Name Type of the target (DEVICE or GROUP).

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\