Skip to main content
Skip table of contents

API - Get Assets

Purpose

A post API to get a list of assets.

Accessing the API

XML
Endpoint: /API/APP/APP007/GetAssets


HTTP METHOD

XML
POST


Parameters

ParametersData TypeRequiredDescription

Filter

String

YES

All/Active/Inactive

AssetType

String

YES

All/Any Asset type

Instance

String

YES

 Instance name


Sample Request (JSON)

XML
{
	"Filter":"all",
	"AssetType":"all",
	"Instance":"Default"
}

Sample Response (JSON)

XML
{
	"Version":"2.3.0.0",
	"IsSuccess":true,
	"LogCode":"0",
	"Result":"[
	  {
		"AssetCategory": "Operating System",
		"AssetType": "Unix Based",
		"HostName": "HostName",
		"IPAddress": "IPAddress",
		"DBInstance": "DBInstance",
		"CreatedBy": "CreatedBy",
		"CreatedOn": "16 Dec 2017 13:43:20 GMT 05:30:00",
		"Status": "Active"
	  },
	  {
		"AssetCategory": "Directory Server",
		"AssetType": "Windows Active Directory",
		"HostName": "HostName",
		"IPAddress": "IPAddress",
		"DBInstance": "DBInstance",
		"CreatedBy": "CreatedBy",
		"CreatedOn": "15 Jul 2017 00:00:00 GMT 05:30:00",
		"Status": "Active"
	  }
	]",
	"StatusCode":"Accepted",
	"Timestamp":"03 Jun 2019 11:51:26 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.