Service Directory > v32.1 > Human_Resources > Get_Holiday_Calendars
 

Operation: Get_Holiday_Calendars

Returns Holiday Calendars based on criteria.


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Get_Holiday_Calendars_Request

Request to get Holiday Calendars.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Request_References [Choice]   Holiday_Calendar_Request_References  [0..1]  Wrapper for Holiday Calendar references.   
Request_Criteria [Choice]   Holiday_Calendar_Request_Criteria  [0..1]  Request criteria for Holiday Calendar response.   
Response_Filter  Response_Filter  [0..1]  Parameters that let you filter the data returned in the response. You can filter returned data by dates and page attributes. 
Validation Description
Page Number cannot be zero.  Page number cannot be zero. 
 
Response_Group  Holiday_Calendar_Response_Group  [0..1]  Options for responded Holiday Calendars.   
top
 

Response Element: Get_Holiday_Calendars_Response

Response for Get Holiday Calendars.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Request_References  Holiday_Calendar_Request_References  [0..1]  Wrapper for Holiday Calendar references.   
Request_Criteria  Holiday_Calendar_Request_Criteria  [0..1]  Request criteria for Holiday Calendar response.   
Response_Filter  Response_Filter  [0..1]  Parameters that let you filter the data returned in the response. You can filter returned data by dates and page attributes. 
Validation Description
Page Number cannot be zero.  Page number cannot be zero. 
 
Response_Group  Holiday_Calendar_Response_Group  [0..1]  Options for responded Holiday Calendars.   
Response_Results  Response_Results  [0..1]  The "Response_Results" element contains summary information about the data that has been returned from your request including "Total_Results", "Total_Pages", and the current "Page" returned.   
Response_Data  Holiday_Calendar_Response_Data  [0..1]  Retrieved Holiday Calendars.   
top
 

Holiday_Calendar_Request_References

part of: Get_Holiday_Calendars_Request, Get_Holiday_Calendars_Response
Wrapper for Holiday Calendar references.
 
Parameter name Type/Value Cardinality Description Validations
Holiday_Calendar_Request_Reference  Holiday_CalendarObject  [1..*]  Reference for Holiday Calendar.   
top
 

Holiday_CalendarObject

part of: Holiday_Calendar_Request_References, Holiday_Calendar
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Holiday_CalendarObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Holiday_CalendarObjectID

part of: Holiday_CalendarObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Holiday_Calendar_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Holiday_Calendar_Request_Criteria

part of: Get_Holiday_Calendars_Request, Get_Holiday_Calendars_Response
Request criteria for Holiday Calendar response.
 
Parameter name Type/Value Cardinality Description Validations
top
 

Response_Filter

part of: Get_Holiday_Calendars_Request, Get_Holiday_Calendars_Response
Parameters that let you filter the data returned in the response. You can filter returned data by dates and page attributes.
 
Parameter name Type/Value Cardinality Description Validations
As_Of_Effective_Date  date  [0..1]  Indicates the date when application data, such as benefits and compensation, are deemed effective in the Workday system. (Also referred to as the "Effective Moment".) If not specified, this date defaults to TODAY.   
As_Of_Entry_DateTime  dateTime  [0..1]  Indicates the date and time that data was entered into the system. (This field is also referred to as the "Entry Moment".) If not specified, defaults to the CURRENT DATE/TIME.   
Page  decimal (12, 0) >0   [0..1]  Indicates the page of data to return in the response, and defaults to the first page (Page = 1). For responses that contain more than one page of data, use this parameter to retrieve the additional pages of data. For example, set Page = 2 to retrieve the second page of data. Note: If you set the page parameter, you must also specify the "As_Of_Entry_Date" to ensure that the result set remains the same between your requests.   
Count  decimal (3, 0) >0   [0..1]  Sets the number of objects to return within each response page (Min = 1, Max = 999, Default = 100 if not set). Any values you set must be between 1-999.   
Validation Description
Page Number cannot be zero.  Page number cannot be zero. 
top
 

Holiday_Calendar_Response_Group

part of: Get_Holiday_Calendars_Request, Get_Holiday_Calendars_Response
Options for responded Holiday Calendars.
 
Parameter name Type/Value Cardinality Description Validations
Include_Reference  boolean  [0..1]  Boolean value to include references for Holiday Calendar.   
Include_Holiday_Calendar_Data  boolean  [0..1]  Boolean value to include holiday calendar data for Holiday Calendar.   
top
 

Response_Results

part of: Get_Holiday_Calendars_Response
The "Response_Results" element contains summary information about the data that has been returned from your request including "Total_Results", "Total_Pages", and the current "Page" returned.
 
Parameter name Type/Value Cardinality Description Validations
Total_Results  decimal (12, 0) >0   [0..1]  The total number of results that have been returned from your request.   
Total_Pages  decimal (12, 0) >0   [0..1]  The total number of pages that exist for your request. A page of data in WWS contains a maximum of 100 entries. So, if you have exactly 1,000 employees returned in a request, then you will have 10 pages of data that will need to be retrieved to build your complete dataset. Each page contains a maximum of 100 entries.   
Page_Results  decimal (12, 0) >0   [0..1]  Number of Results in current page.   
Page  decimal (12, 0) >0   [0..1]  The page of data that has been returned for the given request.   
top
 

Holiday_Calendar_Response_Data

part of: Get_Holiday_Calendars_Response
Retrieved Holiday Calendars.
 
Parameter name Type/Value Cardinality Description Validations
Holiday_Calendar  Holiday_Calendar  [0..*]  Wrapper for Holiday Calendar reference and data.   
top
 

Holiday_Calendar

part of: Holiday_Calendar_Response_Data
Wrapper for Holiday Calendar reference and data.
 
Parameter name Type/Value Cardinality Description Validations
Holiday_Calendar_Reference  Holiday_CalendarObject  [0..1]  Reference for Holiday Calendar.   
Holiday_Calendar_Data  Holiday_Calendar_Data  [0..1]  Wrapper containing data for Condition Rule.   
top
 

Holiday_Calendar_Data

part of: Holiday_Calendar
Wrapper containing data for Condition Rule.
 
Parameter name Type/Value Cardinality Description Validations
@ID  string  [1..1]  Text value for reference ID for Holiday Calendar Event.   
Name  string  [1..1]  Text name for Condition Rule.   
Description  string  [0..1]  Text description of Holiday Calendar.   
Condition_Rule_Reference  Condition_RuleObject  [0..1]  Reference to the Calendar Rule for the Holiday Calendar.   
Display_on_Time_Off_and_Leave_Calendar  boolean  [0..1]  Display on Time Off and Leave Calendar   
Holiday_Calendar_Event_Data  Holiday_Calendar_Event_Data  [0..*]  Event Data for the Holiday Calendar.   
top
 

Condition_RuleObject

part of: Holiday_Calendar_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Condition_RuleObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Condition_RuleObjectID

part of: Condition_RuleObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Condition_Rule_ID, WCP_Component_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Holiday_Calendar_Event_Data

part of: Holiday_Calendar_Data
Event Data for the Holiday Calendar.
 
Parameter name Type/Value Cardinality Description Validations
@ID  string  [1..1]  Text value for reference ID for Holiday Calendar Event.   
Name  string  [1..1]  Text Value for the name of the Holiday Calendar Entry.   
Start_End_Data  Start_End_Data  [1..1]  Wrapper element containing date and times for the Calendar Event. 
Validation Description
Start Date, Start Time, End Date and End Time are required if the event is not an all day event.   
The End Date/Time must be on or after the Start Date/Time.   
The End Date must occur on or after the Start Date.   
 
Recurrence_Data  Recurrence_Data  [0..1]  Wrapper element containing recurrence data for the Calendar Event. 
Validation Description
Only Daily Recurrence, Weekly Recurrence, or Monthly Recurrence is allowed.   
Either 'Recurs Every Weekday' or 'Recurrence Interval Multiplier' must be specified.   
"Last Day of the Month" cannot be selected in conjunction with other Days of the Month.   
At least one value specified for "Day of the Week" must be the day of the week associated with the "Start Date".   
The End Date must occur on or after the Start Date.   
"Recurs Every x Week(s)" must be greater than 0 and less than 53 weeks.   
'Day of Month' must be specified and neither 'Day of Week' nor 'Week of Month' are specified OR 'Day of Month' is not specified but both 'Day of Week' and 'Week of Month' are specified.   
'Month' is required.   
'Day of the Week' is required.   
The Start Date for the recurrence range must be on the Start Date of the event.   
The start date must be on a weekday for events that recur every weekday.   
First Day of the Week can only be selected if also selecting Weekly Recurrence.   
 
top
 

Start_End_Data

part of: Holiday_Calendar_Event_Data
Wrapper element containing date and times for the Calendar Event.
 
Parameter name Type/Value Cardinality Description Validations
All_Day_Event  boolean  [0..1]  Boolean value for all day event for Calendar Event. If true, this event will occur all day. If false, this event will occur in the start to end date range.   
Start_Date  date  [1..1]  Date value for the start time for Calendar Event.   
Start_Time_Reference  Twenty_Four_Hour_TimeObject  [0..1]  Time reference for the start time for Calendar Event.   
End_Date  date  [0..1]  Date value for the End Time for Calendar Event.   
End_Time_Reference  Twenty_Four_Hour_TimeObject  [0..1]  Time reference for the end time for Calendar Event.   
Validation Description
Start Date, Start Time, End Date and End Time are required if the event is not an all day event.   
The End Date/Time must be on or after the Start Date/Time.   
The End Date must occur on or after the Start Date.   
top
 

Twenty_Four_Hour_TimeObject

part of: Start_End_Data, Start_End_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Twenty_Four_Hour_TimeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Twenty_Four_Hour_TimeObjectID

part of: Twenty_Four_Hour_TimeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Twenty_Four_Hour_Time_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Recurrence_Data

part of: Holiday_Calendar_Event_Data
Wrapper element containing recurrence data for the Calendar Event.
 
Parameter name Type/Value Cardinality Description Validations
Recurrence_Type_Reference  Schedule_Request_TypeObject  [1..1]  Reference for Run Frequency for Calendar Event.   
Recurrence_Interval_Multiplier  decimal (5, 2) >0   [0..1]  Numeric value for Recurrence Interval Multiplier for Calendar Event.   
Recurs_Every_Weekday  boolean  [0..1]  If true, calendar event recurs every weekday.   
Day_of_the_Week_Reference  Day_of_the_WeekObject  [0..*]  Reference for Day of the Week for Calendar Event.   
First_Day_of_the_Week_Reference  Day_of_the_WeekObject  [0..1]  First Day of the Week for Weekly Recurrences. Defaults to Sunday if not set.   
Month_Reference  MonthObject  [0..*]  Reference for Month for Calendar Event.   
Day_of_the_Month_Reference  Day_of_the_MonthObject  [0..*]  Reference for Day of the Month for Calendar Event.   
Week_of_the_Month_Reference  Week_of_the_MonthObject  [0..1]  Reference for Week of the Month for Calendar Event.   
Recurrence_Start_Date  date  [1..1]  Date value for Trigger Start Date for Calendar Event.   
Recurrence_End_Date  date  [0..1]  Date value for Trigger End Date for Calendar Event.   
Validation Description
Only Daily Recurrence, Weekly Recurrence, or Monthly Recurrence is allowed.   
Either 'Recurs Every Weekday' or 'Recurrence Interval Multiplier' must be specified.   
"Last Day of the Month" cannot be selected in conjunction with other Days of the Month.   
At least one value specified for "Day of the Week" must be the day of the week associated with the "Start Date".   
The End Date must occur on or after the Start Date.   
"Recurs Every x Week(s)" must be greater than 0 and less than 53 weeks.   
'Day of Month' must be specified and neither 'Day of Week' nor 'Week of Month' are specified OR 'Day of Month' is not specified but both 'Day of Week' and 'Week of Month' are specified.   
'Month' is required.   
'Day of the Week' is required.   
The Start Date for the recurrence range must be on the Start Date of the event.   
The start date must be on a weekday for events that recur every weekday.   
First Day of the Week can only be selected if also selecting Weekly Recurrence.   
top
 

Schedule_Request_TypeObject

part of: Recurrence_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Schedule_Request_TypeObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Schedule_Request_TypeObjectID

part of: Schedule_Request_TypeObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Schedule_Request_Type_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Day_of_the_WeekObject

part of: Recurrence_Data, Recurrence_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Day_of_the_WeekObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Day_of_the_WeekObjectID

part of: Day_of_the_WeekObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Day_of_the_Week_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

MonthObject

part of: Recurrence_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  MonthObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

MonthObjectID

part of: MonthObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Month_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Day_of_the_MonthObject

part of: Recurrence_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Day_of_the_MonthObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Day_of_the_MonthObjectID

part of: Day_of_the_MonthObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Day_of_the_Month_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Week_of_the_MonthObject

part of: Recurrence_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Week_of_the_MonthObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Week_of_the_MonthObjectID

part of: Week_of_the_MonthObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Week_of_the_Month_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Holiday_CalendarReferenceEnumeration

part of: Holiday_CalendarObjectID
Base Type
string
top
 

Condition_RuleReferenceEnumeration

part of: Condition_RuleObjectID
Base Type
string
top
 

Twenty_Four_Hour_TimeReferenceEnumeration

part of: Twenty_Four_Hour_TimeObjectID
Base Type
string
top
 

Schedule_Request_TypeReferenceEnumeration

part of: Schedule_Request_TypeObjectID
Base Type
string
top
 

Day_of_the_WeekReferenceEnumeration

part of: Day_of_the_WeekObjectID
Base Type
string
top
 

MonthReferenceEnumeration

part of: MonthObjectID
Base Type
string
top
 

Day_of_the_MonthReferenceEnumeration

part of: Day_of_the_MonthObjectID
Base Type
string
top
 

Week_of_the_MonthReferenceEnumeration

part of: Week_of_the_MonthObjectID
Base Type
string
top