API - Get Accounts by Account Groups
Purpose
A post API to get a list of assets.
Accessing the API
Endpoint: /API/APP/APP007/GetAccountsByGroup
HTTP METHOD
POST
Parameters
Parameters | Data Type | Required | Description |
---|---|---|---|
Filter | String | YES | All/Active/Disabled |
Group Name | String | YES | Account group name |
Instance | String | YES | Instance name |
Sample Request (JSON)
{
"Filter":"all",
"GroupName":"XXXX",
"Instance":"XXXX"
}
Sample Response (JSON)
{
"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"
}