Custom Products

Custom Products allows to manage custom patch products.

Base URL

        https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products

Supported Requests

Method URL Input Return

DELETE

https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products/{productUId}

 

Success or failure code

GET

https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products

URL Parameters

CustomProducts[]

https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products/{productUId}

 

CustomProduct

PUT

https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products/{productUId}

Custom Products

Success or failure code

POST

https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products

Request Body

CustomProduct with Success or failure code

Input Models

Example with Sample Response

To retrieve a list of all custom patch products

GET Request

https://<consoleFQDN:port>/st/console/api/v1.0/custompatch/products

Sample Response

Copy
{
    "count": 2,
    "value": [
        {
            "isCustom": true,
            "links": {
                "self": {
                    "href": "https://desktop-tu4cqgs:3121/st/console/api/v1.0/custompatch/products/87e116a7-f2b5-4166-9809-bc0685572a04"
                }
            },
            "name": "6gFEQIsecCp",
            "registryChecks": [
                {
                    "comparisonOperator": "GreaterThanOrEqual",
                    "dataType": "String",
                    "key": "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{83029376-5827-47D3-A82C-DA771434EFBE}",
                    "use64": true,
                    "valueData": "DisplayVersion",
                    "valueName": "9.8.119.0"
                }
            ],
            "spId": "ceb8852c-d05c-4574-af71-6ebe707035a2",
            "uid": "87e116a7-f2b5-4166-9809-bc0685572a04"
        },
        {
            "isCustom": true,
            "links": {
                "self": {
                    "href": "https://desktop-tu4cqgs:3121/st/console/api/v1.0/custompatch/products/c1671ea0-479e-4e16-a346-9939e8481c1d"
                }
            },
            "name": "6gFEQIsecCdp",
            "registryChecks": [
                {
                    "comparisonOperator": "GreaterThanOrEqual",
                    "dataType": "String",
                    "key": "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{83029376-5827-47D3-A82C-DA771434EFBE}",
                    "use64": true,
                    "valueData": "DisplayVersion",
                    "valueName": "9.8.119.0"
                }
            ],
            "spId": "3e28100c-bd78-4c53-bce9-49125bc92643",
            "uid": "c1671ea0-479e-4e16-a346-9939e8481c1d"
        }
    ]
}

Other Request Examples