GET api/V3/Config/GetConfigItemsByClass?userId={userId}&isUserScoped={isUserScoped}&searchFilter={searchFilter}&objectClassId={objectClassId} Returns a list of Configuration Items that have a Class Id in the provided list.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
The User Id |
globally unique identifier |
Required |
isUserScoped |
Boolean whether the user has configuration item scoping |
boolean |
Required |
searchFilter |
The filter text |
string |
Required |
objectClassId |
The Configuration Object Class Id |
globally unique identifier |
Required |
Body Parameters
None.Response Information
Resource Description
Collection of ConfigItemObjectName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ObjectClassId | globally unique identifier |
None. |
|
ObjectClassName | string |
None. |
|
DisplayName | string |
None. |
|
Path | string |
None. |
|
BaseType | string |
None. |
|
Hosted | integer |
None. |
|
LastModified | date |
None. |
|
AssetStatus | AssetStatus |
None. |
|
LastModifiedAsString | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "7c2cc1f7-4884-4720-9ce9-b49cebb7179f", "ObjectClassId": "b1495897-0e0f-4ff0-989c-cfcaf51d4315", "ObjectClassName": "sample string 3", "DisplayName": "sample string 4", "Path": "sample string 5", "BaseType": "sample string 6", "Hosted": 7, "LastModified": "2024-04-27T04:46:26.807Z", "AssetStatus": { "Id": "33fd464f-e45a-4197-b88f-94e0b323a9c1", "Name": "sample string 2" }, "LastModifiedAsString": "2024-04-27T04:46:26.807Z" }, { "Id": "7c2cc1f7-4884-4720-9ce9-b49cebb7179f", "ObjectClassId": "b1495897-0e0f-4ff0-989c-cfcaf51d4315", "ObjectClassName": "sample string 3", "DisplayName": "sample string 4", "Path": "sample string 5", "BaseType": "sample string 6", "Hosted": 7, "LastModified": "2024-04-27T04:46:26.807Z", "AssetStatus": { "Id": "33fd464f-e45a-4197-b88f-94e0b323a9c1", "Name": "sample string 2" }, "LastModifiedAsString": "2024-04-27T04:46:26.807Z" } ]
application/xml, text/xml
Sample:
<ArrayOfConfigItemObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.Library"> <ConfigItemObject> <AssetStatus> <Id>33fd464f-e45a-4197-b88f-94e0b323a9c1</Id> <Name>sample string 2</Name> </AssetStatus> <BaseType>sample string 6</BaseType> <DisplayName>sample string 4</DisplayName> <Hosted>7</Hosted> <Id>7c2cc1f7-4884-4720-9ce9-b49cebb7179f</Id> <LastModified>2024-04-27T04:46:26.8078406+00:00</LastModified> <LastModifiedAsString>2024-04-27T04:46:26.807</LastModifiedAsString> <ObjectClassId>b1495897-0e0f-4ff0-989c-cfcaf51d4315</ObjectClassId> <ObjectClassName>sample string 3</ObjectClassName> <Path>sample string 5</Path> </ConfigItemObject> <ConfigItemObject> <AssetStatus> <Id>33fd464f-e45a-4197-b88f-94e0b323a9c1</Id> <Name>sample string 2</Name> </AssetStatus> <BaseType>sample string 6</BaseType> <DisplayName>sample string 4</DisplayName> <Hosted>7</Hosted> <Id>7c2cc1f7-4884-4720-9ce9-b49cebb7179f</Id> <LastModified>2024-04-27T04:46:26.8078406+00:00</LastModified> <LastModifiedAsString>2024-04-27T04:46:26.807</LastModifiedAsString> <ObjectClassId>b1495897-0e0f-4ff0-989c-cfcaf51d4315</ObjectClassId> <ObjectClassName>sample string 3</ObjectClassName> <Path>sample string 5</Path> </ConfigItemObject> </ArrayOfConfigItemObject>