pp108 : CalculateStartDate

CalculateStartDate


This method calculates the start date before a given start date and implements the backward planning algorithm.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <calculateStartDate xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <calendarName>Calender1</calendarName>
            <endDate>2008-09-23T22:37:53.234</endDate>
            <hours>10</hours>
            <minutes>20</minutes>
        </calculateStartDate>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Values

WorkspaceID ID of CWS Workspace No GUID (optional)

calendarName

Unique identifier for the calendar. This can be a full qualified name or a document ID.

Yes

You can specify one of the following values:

  • Full Qualified Name (FQN)
  • Document ID

endDate

End date. Date from which to start calculation or planning

Yes

Date must be in the UTC format. For example 2008-09-23T22:37:53.234.

hours

Hours

Yes

Any non-negative integer value

minutes Minutes Yes Any non-negative integer value

SOAP Response

  <data>
 <calculateStartDateResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0" >
<calculateStartDate>2008-09-22T07:10:00.234</ calculateStartDate>
</ calculateStartDateResponse >
</data> 
Response Parameters

Parameter

Description

calculateStartDate

Date in the UTC format. For example 2008-09-23T22:37:53.234.