AnsweredAssumed Answered

Executing timeperiods.wsdl return only time entered timesheets in response.

Question asked by DeepakC on Jan 14, 2016
Latest reply on Jan 21, 2016 by N.P

Hi, I am invoking timeperiods.wsdl readTimeperiod method to fetch timesheets as per below input:

 

<?xml version="1.0" encoding="UTF-8"?>

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:noNamespaceSchemaLocation="../xsd/nikuxog_timeperiod.xsd">

    <Header version="13" externalSource="NIKU"/>

    <Query>

        <Filter name="status" criteria="EQUALS">0</Filter>

        <Filter name="start" criteria="BETWEEN">2016-01-01,2016-01-30</Filter>

        <Filter name="resourceId" criteria="EQUALS">xxxxxxxxxx</Filter>

    </Query>

</NikuDataBus>

 

I am expecting to see open timesheets for given date range for a given resource. However, the response object contains timesheets for multiple resources and only if user have entered some number in their timesheet. I want to fetch only non-submitted timesheets [ even those ones for which user has not enetered any hours as well ].

 

What I am missing?

 

Thank you.

Outcomes