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

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

rafiq.jallel565
Level 1
Level 1

 

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;

 

 

 

 

1 Accepted Solution

Accepted Solutions

Adam Pawlowski
VIP Alumni
VIP Alumni
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

Adam Pawlowski
VIP Alumni
VIP Alumni
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