Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to use updateLine function

Hi all,

We are trying to use AXL API 6.1 updateLine function. First we try to retrieve line information from a phone object using:

XPhone.Lines lines = phone.getLines();

lineList = lines.getLine();

for (XLine line: lineList) {

...

}

Each line id is retrieved using line.getUuid().

But afterwards when we try to use UpdateLineReq.setUuid method and updateLine method with the above parameter we have an error "pkid not correct".

What are we doing wrong ? We read on the forum we could update the line from its pattern and route partition, is the XLine.dirn member what we must use (unfortunately it returns null pattern and route id)?

178
Views
0
Helpful
0
Replies
CreatePlease to create content