Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Rest API Object Long Description error

From: jfconnelljr (2012-04-03 10:16)

I'm trying to update WO through Rest API with following URL:
http://localhost:7001/maxrest/rest/mbo/workorder?
and passing params wonum, description and description_longdescription. The description field gets updated correctly. I assume the description_longdescription will update corrosponding record in LONGDESCRIPTION table but its doing nothing.
Then i tried to updated long description seprately by hitting URL:
http://localhost:7001/maxrest/rest/mbo/longdescription?
but it throws error
30 Mar 2012 05:58:10:507 WARN MXServer CID-MXREST-332 BMXAA7785W - The property mxe.rest.handl
er.mbo.longdescription does not exist in the MAXPROP or MAXPROPVALUE tables.
30 Mar 2012 05:58:10:507 ERROR MXServer CID-MXREST-332
java.lang.NullPointerException
at psdi.app.system.LongDesc.modify(LongDesc.java:70)
What am i missing? Is it possible to save long desccription through Rest API?
Rgds,
John Connell
www.jfc-associates.com