Cisco Cisco Prime Network Services Controller 3.0 Guide Du Développeur
Page 93
OL-28369-01
loggingSyncOcns
The following example shows how to retrieve event IDs from DME.
Request Syntax
<xs:element name="loggingSyncOcns" type="loggingSyncOcns"
substitutionGroup="externalMethod"/>
substitutionGroup="externalMethod"/>
<xs:complexType name="loggingSyncOcns" mixed="true">
<xs:attribute name="inFromOrZero" type="xs:unsignedLong"/>
<xs:attribute name="inToOrZero" type="xs:unsignedLong"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="inToOrZero" type="xs:unsignedLong"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
</xs:complexType>
Response Syntax
<xs:element name="loggingSyncOcns" type="loggingSyncOcns"
substitutionGroup="externalMethod"/>
substitutionGroup="externalMethod"/>
<xs:complexType name="loggingSyncOcns" mixed="true">
<xs:all>
<xs:element name="outStimuli" type="MethodSet" minOccurs="0"/>
</xs:all>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="errorCode" type="xs:unsignedInt"/>
<xs:attribute name="errorDescr" type="xs:string"/>
<xs:attribute name="invocationResult" type="xs:string"/>
<xs:attribute name="cookie" type="xs:string"/>
<xs:attribute name="response" type="YesOrNo"/>
<xs:attribute name="errorCode" type="xs:unsignedInt"/>
<xs:attribute name="errorDescr" type="xs:string"/>
<xs:attribute name="invocationResult" type="xs:string"/>
</xs:complexType>
Example
Request
<loggingSyncOcns
cookie="<real_cookie>"
inFromOrZero="0"
inToOrZero="4567000"/>
inFromOrZero="0"
inToOrZero="4567000"/>
Response
List of event IDs.
orgResolveElements
Within a specified DN, this example retrieves managed objects that satisfy a query filter and searches managed
objects starting at an organization, and optionally in the child organizations. If there is no organization with that DN,
an empty map is returned. If found, it searches managed objects with specified class and filters. If inHierarchical =
true, the returned objects will also contain their children. If inHierarchical = false, only the matching objects are
returned. If inSingleLevel = true, only the objects at the starting organization level are returned. If inSingleLevel =
false, objects in child organizations are also returned.
objects starting at an organization, and optionally in the child organizations. If there is no organization with that DN,
an empty map is returned. If found, it searches managed objects with specified class and filters. If inHierarchical =
true, the returned objects will also contain their children. If inHierarchical = false, only the matching objects are
returned. If inSingleLevel = true, only the objects at the starting organization level are returned. If inSingleLevel =
false, objects in child organizations are also returned.
Request Syntax
<xs:element name="orgResolveElements" type="orgResolveElements"
substitutionGroup="externalMethod"/>
substitutionGroup="externalMethod"/>
<xs:complexType name="orgResolveElements" mixed="true">
<xs:all>
<xs:element name="inFilter" type="filterFilter" minOccurs="0"/>
</xs:all>
<xs:attribute name="inClass" type="namingClassId"/>
<xs:attribute name="inSingleLevel">
<xs:attribute name="inClass" type="namingClassId"/>
<xs:attribute name="inSingleLevel">
<xs:simpleType>
<xs:union memberTypes="xs:boolean">