Get service group

This endpoint is used to retrieve details of a service group.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{clientId}/serviceGroups/{sgId}

Sample URLs

https://{api-url}/api/v2/tenants/client_10/serviceGroups/SGP-f4e6100a-7180-43c8-955c-679205bbc419

Sample response

Sample minimal information of a service group:

{
	"id": "SGP-c93673d0-355e-40bf-807c-44cc1d8678a4",
	"name": "VG Lab Inventory",
	"createdDate": "2018-06-20T11:48:20+0000",
	"childType": "SERVICEGROUP",
	"thresholdType": "count",
	"thresholdLimit": 1,
	"include": "ALL",
	"type": "alert",
	"alertType": 0,
	"alert": false,
	"metrics": []
}

Sample detailed information using filter criteria on a parent service group:

{
	"id": "SGP-f4e6100a-7180-43c8-955c-679205bbc419",
	"name": "Finance Inventory",
	"createdDate": "2018-06-20T12:13:34+0000",
	"updatedDate": "2018-06-20T12:13:34+0000",
	"childType": "DEVICE",
	"frequency": 5,
	"thresholdType": "count",
	"thresholdLimit": 1,
	"monitorNames": [
		"service.availability.metric"
	],
	"include": "ALL",
	"type": "alert",
	"alertType": 2,
	"alert": false,
	"metrics": [],
	"parent": {
		"id": "SGP-c93673d0-355e-40bf-807c-44cc1d8678a4",
		"name": "Finance Services",
		"childType": "SERVICEGROUP",
		"alert": false
	},
	"filterCriteria": {
		"matchType": "ANY",
		"rules": [{
			"key": "Name",
			"operator": "Contains",
			"value": "Printer",
			"resourceType": "DEVICE"
		}]
	}
}