Skip to main content
Skip table of contents

API - Get Accounts by Account Groups

Purpose

A post API to get a list of assets.

Accessing the API

XML
Endpoint: /API/APP/APP007/GetAccountsByGroup


HTTP METHOD

XML
POST


Parameters

ParametersData TypeRequiredDescription

Filter

String

YES

All/Active/Disabled

Group Name

String

YES

Account group name

Instance

String

YES

Instance name


Sample Request (JSON)

XML
{
	"Filter":"all",
	"GroupName":"XXXX",
	"Instance":"XXXX"
}

Sample Response (JSON)

XML
{
	"Version":"X.X.X.X",
	"IsSuccess":true,
	"LogCode":"0",
	"Result":"{
	    "GroupName": "XXXX",
	    "Accounts": 
	    [
			{
			  "AssetType": "Windows Server",
			  "AssetHost": "IP / HOSTNAME",
			  "AccountName": "XXXX",
			  "AccountAuthenticationType": "Password",
			  "AccountType": "AD Account",
			  "CreatedBy": "XXXX",
			  "CreatedOn": "01 Dec 2017 18:09:18 GMT 05:30:00",
			  "Status": "Active"
			},
			{
			  "AssetType": "Windows Server",
			  "AssetHost": "IP / HOSTNAME",
			  "AccountName": "XXXX",
			  "AccountAuthenticationType": "Password",
			  "AccountType": "AD Account",
			  "CreatedBy": "XXXX",
			  "CreatedOn": "31 Dec 2018 10:00:23 GMT 05:30:00",
			  "Status": "Active"
			}
	    ]
	}",
	"StatusCode":"Accepted",
	"Timestamp":"03 Jun 2019 12:11:17 GMT 05:30:00"
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.