Join us at the CMS Virtual Customer Forum December 9th
Please join us at the CMS Virtual Customer Forum December 9, 2020 | 7:30 a.m. PDT | 4:30 p.m. CEST
Highlighted
Absent Member.. Absent Member..
Absent Member..
754 views

getFilteredCIsByType method not working

Jump to solution

Hi,

 

I am using HP UD 10.10

 

I want to filter out CIs which have their "last_modified_time" attribute value greater then a particular date.

For this I am using the "getFilteredCIsByType" web service method. The date condition is throwing the error. PFB the code.

<typ:dateConditions>
               <!--Zero or more repetitions:-->
               <typ:dateCondition>
                  <typ:condition>
                     <typ:name>last_modified_time</typ:name>
                     <!--Optional:-->
                     <typ:value>2014-05-30T04:56:35</typ:value>
                  </typ:condition>
                  <typ:dateOperator>&gt;</typ:dateOperator>
               </typ:dateCondition>
            </typ:dateConditions>

 PFB the error message.

 

<soapenv:Text xml:lang="en-US">No match found for value '">"' in enum class com.hp.schemas.ucmdb.types.DateCondition$DateOperator</soapenv:Text>

 

Please help...

Thanks in advance.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Vice Admiral
Vice Admiral

Hello,

 

Can you tell me if my suggestion helped resolve your problem?

View solution in original post

3 Replies
Highlighted
Vice Admiral
Vice Admiral

Instead of this:

 

<typ:dateOperator>&gt;</typ:dateOperator>

Use:

 

<typ:dateOperator>Greater</typ:dateOperator>

 

 

 

Highlighted
Vice Admiral
Vice Admiral

Hello,

 

Can you tell me if my suggestion helped resolve your problem?

View solution in original post

Highlighted
Absent Member.. Absent Member..
Absent Member..

Hello,

 

It resolved my issue. Thanks for the help.

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.