GET api/teams/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": "56f24065-6b7d-4895-bb95-fa1d6f3bab6f", "ObjectClassId": "a8978726-3720-4239-9cb0-4a9813670696", "ObjectClassName": "sample string 3", "DisplayName": "sample string 4", "Path": "sample string 5", "BaseType": "sample string 6", "Hosted": 7, "LastModified": "2024-03-28T19:46:01.831Z", "AssetStatus": { "Id": "bd78fcf4-21a0-4290-9968-bcd8dfca17c0", "Name": "sample string 2" }, "LastModifiedAsString": "2024-03-28T19:46:01.831Z" }, { "Id": "56f24065-6b7d-4895-bb95-fa1d6f3bab6f", "ObjectClassId": "a8978726-3720-4239-9cb0-4a9813670696", "ObjectClassName": "sample string 3", "DisplayName": "sample string 4", "Path": "sample string 5", "BaseType": "sample string 6", "Hosted": 7, "LastModified": "2024-03-28T19:46:01.831Z", "AssetStatus": { "Id": "bd78fcf4-21a0-4290-9968-bcd8dfca17c0", "Name": "sample string 2" }, "LastModifiedAsString": "2024-03-28T19:46:01.831Z" } ]
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>bd78fcf4-21a0-4290-9968-bcd8dfca17c0</Id> <Name>sample string 2</Name> </AssetStatus> <BaseType>sample string 6</BaseType> <DisplayName>sample string 4</DisplayName> <Hosted>7</Hosted> <Id>56f24065-6b7d-4895-bb95-fa1d6f3bab6f</Id> <LastModified>2024-03-28T19:46:01.8315691+00:00</LastModified> <LastModifiedAsString>2024-03-28T19:46:01.831</LastModifiedAsString> <ObjectClassId>a8978726-3720-4239-9cb0-4a9813670696</ObjectClassId> <ObjectClassName>sample string 3</ObjectClassName> <Path>sample string 5</Path> </ConfigItemObject> <ConfigItemObject> <AssetStatus> <Id>bd78fcf4-21a0-4290-9968-bcd8dfca17c0</Id> <Name>sample string 2</Name> </AssetStatus> <BaseType>sample string 6</BaseType> <DisplayName>sample string 4</DisplayName> <Hosted>7</Hosted> <Id>56f24065-6b7d-4895-bb95-fa1d6f3bab6f</Id> <LastModified>2024-03-28T19:46:01.8315691+00:00</LastModified> <LastModifiedAsString>2024-03-28T19:46:01.831</LastModifiedAsString> <ObjectClassId>a8978726-3720-4239-9cb0-4a9813670696</ObjectClassId> <ObjectClassName>sample string 3</ObjectClassName> <Path>sample string 5</Path> </ConfigItemObject> </ArrayOfConfigItemObject>