Asset tracker 2.0b3 REST API - Edit asset

82 views
Skip to first unread message

Aleksandar Nikolikj

unread,
May 2, 2013, 8:13:27 AM5/2/13
to at-u...@googlegroups.com
Hi ,

Is there any tutorial,guide for AT REST api...?

Getting:
...
Array
(
    [# Name] => Illegal value for Name
    [] =>
    [id] =>
    [Type] => Printers
    [Name] => trarlklalal
)
.. on edit asset REST call . Also Type does not change to printers.The only thing that i could get to work is changing status ...

. If I include owner in the content array im getting error:


Array
(
    [Stack] =>
    [  [/usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Record.pm] => 494]
    [  [/opt/rt4/local/plugins/RTx-AssetTracker/html/REST/1.0/Forms/asset/default] => 277]
    [  [/opt/rt4/share/html/REST/1.0/dhandler] => 299]
    [  [/opt/rt4/share/html/REST/1.0/autohandler] => 54]
    [  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm] => 335]
    [  [/opt/rt4/share/html/autohandler] => 53]
    [] =>
)


Any thoughts...?

rsp...@drew.edu

unread,
Feb 10, 2014, 10:36:13 AM2/10/14
to at-u...@googlegroups.com
Did you ever figure out this issue or get a response from another source?  I seem to have the same issue with updating an Owner using the REST interface.  I would like to do this rather than using another method.  I've been looking through the code and I seem to have the same error as you did on updating the Owner.
Reply all
Reply to author
Forward
0 new messages