AnsweredAssumed Answered

How to Use XOG/WSDL Interface to filter projects based on OBS

Question asked by vbayarri on Oct 21, 2011
Latest reply on Nov 14, 2011 by vbayarri
Hello everyone!

I am new to clarity and i have not able to solve the following question: How to Use XOG/WSDL Interface to filter projects based on OBS?

On my company, I have only the posibility to use WSDL web services to extract project data from Clarity based on Object interface. Currently, I am extracting data from one project calling ReadProject method with the following data/filter:

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="12.0.0.5028" externalSource="NIKU">


<args name="include_tasks" value="true"/>


<args name="include_dependencies" value="false"/>


<args name="include_subprojects" value="false"/>


<args name="include_resources" value="true"/>


<args name="include_baselines" value="true"/>


<args name="include_allocations" value="false"/>


<args name="include_estimates" value="false"/>


<args name="include_actuals" value="false"/>


<args name="include_custom" value="true"/>


</Header>
<Query>


<Filter name="start" criteria="AFTER">2010-01-01</Filter>


<Filter name="active" criteria="EQUALS">true</Filter>


<Filter name="projectID" criteria="EQUALS">******</Filter>
</Query>
</NikuDataBus>

The ReadProject response includes a OBSAssocs section:

<OBSAssocs completed="false">
<OBSAssoc id="Profit &amp; Loss OBS" name="Profit &amp; Loss OBS" unitPath="/Group/Spain/XXXXX" />
<OBSAssoc id="Rightshore OBS" name="Rightshore OBS" unitPath="/Group/Argentina/XXXX" />
</OBSAssocs>

¿Is it possible to query clarity for all the projects with a specific OBSAssoc? Something "similar to":

<Query>


<Filter name="OBSAssoc" criteria="EQUALS">"/Group/Spain/XXXXX</Filter>
</Query>

Thanks in advance,
Víctor

Outcomes