cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
90
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Michael Dunsdon on 30-01-2012 03:59:42 AM
Hi
 
I get the following error message for the function I have to update a hunt pilot but as far as I can tellthe ItemsElementName is set correctly.
Any suggestions where I've gone wrong gratefully received.
 
Value
of ItemsElementName mismatches the type of CiscoAXL.XFkType; you need
to set it to CiscoAXL.ItemsChoiceType11.@routePartitionName.
 
    Public Shared Function updateHuntPilot(axlApiService As AXLAPIService, huntPilotPattern As String, routePartitionName As String, MLPPprecedence As String, HuntListName As String) As String

        Dim result As String = ""
        Dim Req As New UpdateHuntPilotReq()
        Req.ItemsElementName() = New ItemsChoiceType11() {CiscoAXL.ItemsChoiceType11.pattern, CiscoAXL.ItemsChoiceType11.routePartitionName}
        Req.Items() = New String() {huntPilotPattern, routePartitionName}
        Req.patternPrecedence = MLPPprecedence
        Req.huntListName = New XFkType()
        Req.huntListName.Value = HuntListName

        Dim Res = axlApiService.updateHuntPilot(Req)

        Return Res.return

    End Function

 
Mike
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links