Технические ссылки для Cisco Cisco Prime Network Registrar 8.1
getContainer
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide
213
getContainer
There is one call to retrieve a container:
getContainerByName
.
This call returns a
WSContainer
data structure.
Use this call in conjunction with the
ImportContainer
call to modify an existing
container. Modify the returned structure as needed and pass the modified structure to
ImportContainer
.
ImportContainer
will update the container based on the
presence of an ID element in the
WSContainer
structure.
Request and Response Messages
Below is the portion of
Gets.wsdl that describes the
getContainerBy
request and
response messages.
<wsdl:message name="getContainerByNameRequest">
<wsdl:part name="containerName" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getContainerByNameResponse">
<wsdl:part name="getContainerByNameReturn" type="tns1:WSContainer"/>
</wsdl:message>
<wsdl:part name="containerName" type="soapenc:string"/>
</wsdl:message>
<wsdl:message name="getContainerByNameResponse">
<wsdl:part name="getContainerByNameReturn" type="tns1:WSContainer"/>
</wsdl:message>
Response
If the Container is found, a
WSContainer
structure is filled in with its information. This
structure is also used by the
ImportContainer
API call.
getContainerByName Request
There is one parameter in the request.
Parameter Name
Description
Required
containerName
The name of the container.
Yes
Return Codes
Condition
Return Code
Container not found
-5