URL

GET https://{api-url}/api/v2/tenants/{tenantId}/policies/management/{id}

Sample URLs

https://{api-url}/api/v2/tenants/client_105261/policies/management/85908

Status code

200 OK

Sample request

{
    "id": 85908,
    "uid": "POLICY-4eb7d892-91dc-4ba9-bc92-980effbea64f",
    "name": "all actions",
    "matchType": "ALL",
    "rules": [
        {
            "id": 182208,
            "key": "Name",
            "operator": "Contains",
            "value": "test",
            "resourceType": "DEVICE",
            "isNativeAttribute": true
        }
    ],
    "actions": [
        {
            "action": "ASSIGN MONITORINGTEMPLATE",
            "items": [
                {
                    "item": "4053",
                    "parameters": {
                        "Packet Count": "3",
                        "Packet interval": "1000",
                        "Data Bytes": "64"
                    },
                    "instances": {
                    }
                }
            ],
            "forceAssignOrUnassign": false
        },
        {
            "action": "ASSIGN KNOWLEDGEARTICLE",
            "items": [
                {
                    "item": "7188"
                }
            ],
            "forceAssignOrUnassign": true
        },
        {
            "action": "Assign Jobs",
            "items": [
                {
                    "item": "asset info",
                    "itemType": "assetinfo",
                    "itemUid": "c072cd67-779a-4206-a3d9-7c761fd563d8"
                }
            ],
            "forceAssignOrUnassign": true
        },
        {
            "action": "Assign Availability Rule",
            "items": [
                {
                    "item": "AND"
                }
            ]
        },
        {
            "action": "ASSIGN CREDENTIALSET",
            "items": [
                {
                    "item": "36218"
                }
            ],
            "forceAssignOrUnassign": true
        },
        {
            "action": "ASSIGN CUSTOMATTRIBUTES",
            "items": [
                {
                    "item": "264313"
                }
            ],
            "forceAssignOrUnassign": true
        }
    ]
}