pp108 : CalculateEarliestBusinessDate

CalculateEarliestBusinessDate


This method implements the forward planning algorithm. It calculates the earliest business date after a given date.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <calculateEarliestBusinessDate xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <calendarName>Calender1</calendarName>
            <date>2008-09-23T22:37:53.234</date>
        </calculateEarliestBusinessDate>
    </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

Date

Date from which the forward planning is initiated

Yes

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

SOAP Response

<data>
    <calculateEarliestBusinessDateResponse
        xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <calculateEarliestBusinessDate>2008-09-29T03:30:00.234</calculateEarliestBusinessDate>
    </calculateEarliestBusinessDateResponse>
</data>
Response Parameters

Parameter

Description

calculateEarliestBusinessDate

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