Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTTP Code
Description
200Search successful and results returned
400Bad request
401Authentication failure
403Authorization failure (no access to resource)
500Unexpected internal server error

Example

Output when the after sending a GET request while querying by Group Code was made "Group" through http://host:port/flexdeploy/rest/v2/topology/targetgroup?groupCode=Group

Code Block
titleSample JSON Output
collapsetrue
[
	{
		"description": "GET example description",
		"environmentstargets": [10001],
		"workflowsworkflowPropertySets": [10001],
		"targetGroupId": 10000,
		"targetGroupName": "GET Example Name",
		"isActive": true,
		"pluginOperationspluginOperationPropertySets": [{"propertySetName":"pluginName","ownerId":12345}],
		"targetGroupCode": "GETEXAMPLECODE",
		"groupCode": "Group",
		"subGroupCode": "GET example sub group",
		"isDeploymentTarget": false
	},
	{ 
		"description": "GET example 2 description", 
		"environmentstargets": [10001, 10002, 10003], 
		"workflowsworkflowPropertySets": [10001, 10002, 10003], 
		"targetGroupId": 10012, 
		"targetGroupName": "GET Example 2 Name", 
		"isActive": true, 
		"pluginOperationspluginOperationPropertySets": [], 
		"targetGroupCode": "GETEXAMPLECODE2", 
		"groupCode": "group", 
		"subGroupCode": "GET example 2 sub group", 
		"isDeploymentTarget": true
	}
]

...