Api Home > Config > GetAffectedItem

GET api/V3/Config/GetAffectedItem?configItemObjectId={configItemObjectId}&userId={userId}&isUserScoped={isUserScoped} Returns the Configuration Item using User Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
configItemObjectId

The Configuration Item Id

globally unique identifier

Required

userId

The User Id

globally unique identifier

Required

isUserScoped

Boolean whether the user has configuration item scoping

boolean

Required

Body Parameters

None.

Response Information

Resource Description

ConfigItemObject
NameDescriptionTypeAdditional 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": "63be2809-1007-4b9a-a1c3-6493d505505a",
  "ObjectClassId": "68b06ccd-30d7-4ef1-8ec3-324fea1f8955",
  "ObjectClassName": "sample string 3",
  "DisplayName": "sample string 4",
  "Path": "sample string 5",
  "BaseType": "sample string 6",
  "Hosted": 7,
  "LastModified": "2019-12-08T10:38:05.773Z",
  "AssetStatus": {
    "Id": "c7e9656b-56c1-4600-be39-d365340750fb",
    "Name": "sample string 2"
  },
  "LastModifiedAsString": "2019-12-08T10:38:05.773Z"
}

application/xml, text/xml

Sample:
<ConfigItemObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.Library">
  <AssetStatus>
    <Id>c7e9656b-56c1-4600-be39-d365340750fb</Id>
    <Name>sample string 2</Name>
  </AssetStatus>
  <BaseType>sample string 6</BaseType>
  <DisplayName>sample string 4</DisplayName>
  <Hosted>7</Hosted>
  <Id>63be2809-1007-4b9a-a1c3-6493d505505a</Id>
  <LastModified>2019-12-08T10:38:05.7732871+00:00</LastModified>
  <LastModifiedAsString>2019-12-08T10:38:05.773</LastModifiedAsString>
  <ObjectClassId>68b06ccd-30d7-4ef1-8ec3-324fea1f8955</ObjectClassId>
  <ObjectClassName>sample string 3</ObjectClassName>
  <Path>sample string 5</Path>
</ConfigItemObject>