Cisco Cisco Prime Network Registrar 8.1 Technical References

Page of 316
ModifyPendingApproval 
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide 
206 
ModifyPendingApproval 
Overview 
The 
ModifyApproval
 API enables the web service client to approve or reject changes 
submitted to the administrator’s pending approval queue. 
Request and Response Messages 
Below is the portion of 
Imports.wsdl that describes the 
modifyPendingApproval
 
request and response messages. 
   <wsdl:message name="modifyPendingApprovalRequest"> 
      <wsdl:part name="approval" type="tns2:WSPendingApproval"/> 
   </wsdl:message> 
 
   <wsdl:message name="modifyPendingApprovalResponse"> 
   </wsdl:message> 
Response 
There is no data in the response. 
Request 
The complex type 
WSPendingApproval
, which is passed as input from the client to the 
web service, is described in the next section. 
Parameters 
WSPendingApproval  
Below is the portion of 
Imports.wsdl that describes 
WSPendingApproval
, the parameter 
structure passed to 
modifyPendingApproval
. The elements are described in the table 
that follows. 
   <complexType name=" WSPendingApproval"> 
    <sequence> 
     <element name="action" nillable="true" type="soapenc:string"/> 
     <element name="reason" nillable="true" type="soapenc:string"/> 
     <element name="workflowId" nillable="true" type="soapenc:int"/> 
    </sequence> 
   </complexType> 
Element 
Description 
Modify? 
Return 
Code 
Fault String 
 
Only approvers can use this CLI 
No 
-99 
Access denied 
action 
Specify “Approve” or “Reject”.  
No 
-161 
Input action null! 
Invalid action: 
action 
reason 
The text entered at creation for 
the allocation reason. 
No.