cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
775
Views
0
Helpful
1
Replies

TES v6.1 Job.Insert using name or alias

bryian.ctr.tan
Level 1
Level 1

hello,

The following XML work fine when I use job id 166. I tested it on http://localhost:8080/api/tes-6.0/postscreen .

<?xml version="1.0" encoding="UTF-8"?>

<entry xmlns="http://purl.org/atom/ns#">

<id>12</id>

<tes:Job.insert xmlns:tes="http://www.tidalsoftware.com/client/teservlet">

<tes:id>166</tes:id>

<tes:startdate>20130614</tes:startdate>

<tes:vars>a_parm=hello from TES v6.1,b_param=1 23 4 5</tes:vars>

<tes:deps>N</tes:deps>

</tes:Job.insert>

</entry>

How do I use job name or alias? I tried both

<tes:name>TestGroup</tes:name> and <tes:alias>TestGroup</tes:alias> but getting the error "exception:java.lang.reflect.InvocationTargetException reason: description:Could not find RPC parameter [object]..."

Please advice.

Thanks,

Bryian Tan

1 Reply 1

Prakash Hemchand
Cisco Employee
Cisco Employee

HI Bryian,

You have to use the jobid, the name and alias are not valid in this case.

Thanks,

Prakash

Review Cisco Networking for a $25 gift card