cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
240
Views
0
Helpful
1
Replies
Highlighted

AXL Services C#, Facing issue while fetching the data using GetLine(),"Item not found : Line does not Exist"

 

AXL service invoke for getLine()

public async Task<getLineResponse> GetLine(string lineUuid)
{
ItemsChoiceType60[] itemsElementsName = { ItemsChoiceType60.uuid };

return await client.getLineAsync(new GetLineReq()
{
Items = new object[] { lineUuid },
ItemsElementName = itemsElementsName,
});
}

Client invoke

 

GetLineResReturn getLineResponseReturn = aXLRepositary.GetLine(LINEUUID.Trim()).Result.getLineResponse1.@return;

 

i have tried with pattern also and i have passed linenumber to it

 

public async Task<getLineResponse> GetLine(string phoneNumber)
{
ItemsChoiceType60[] itemsElementsName = { ItemsChoiceType60.pattern };

return await client.getLineAsync(new GetLineReq()
{
Items = new object[] { phoneNumber },
ItemsElementName = itemsElementsName,
});
}

 

GetLineResReturn getLineResponseReturn = aXLRepositary.GetLine(DN).Result.getLineResponse1.@return;

 

 

 

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Rising star

Re: AXL Services C#, Facing issue while fetching the data using GetLine(),"Item not found : Line does not Exist"

I'm not sure what you trying to do here as I don't know the language, but the getLine call takes directoryNumber and routePartition

View solution in original post

1 REPLY 1
Highlighted
Rising star

Re: AXL Services C#, Facing issue while fetching the data using GetLine(),"Item not found : Line does not Exist"

I'm not sure what you trying to do here as I don't know the language, but the getLine call takes directoryNumber and routePartition

View solution in original post