[itsm] API for Config Item
Torsten Thau
Torsten.Thau at cape-it.de
Tue May 20 13:45:38 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Ivan,
> I need to change the status of CI by script. Does anyone know how I do?
The correct way would be to use Kernel/System/ITSMConfigItem/Version.pm
sub VersionAdd:
$ConfigItemObject->VersionAdd(
ConfigItemID => 123,
Name => 'The Name',
DefinitionID => 1212,
StateID => 8,
XMLData => $ArrayHaschRef,
UserID => 1,
);
...it requires the XML-Data as parameter, so you have to retrieve this
before.
viele Gruesse, Torsten Thau
- --
Torsten Thau, Dipl. Inform.
c.a.p.e. IT GmbH - Annaberger Str. 240 - D-09125 Chemnitz
phone: +49 371 5347 623
cell: +49 176 66 680 680
personal pgp-key: 0x93E0A174
company pgp-key: 0x292F987D
fax: +49 371 5347 625
http://www.cape-it.de
AG Chemnitz - HRB 23192
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIMtYAvXo8m5PgoXQRAvovAJwITtX81Xp6hpj9KUkazvghbS6t8ACeJhZY
9NeIp711a8ibWvYVRSn9A7w=
=KmSn
-----END PGP SIGNATURE-----
More information about the itsm
mailing list