Service Directory > v31.2 > Human_Resources > Put_Holiday_Calendar
 

Operation: Put_Holiday_Calendar

Adds or updates Holiday Calendar.


@ - 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: Put_Holiday_Calendar_Request

Put Holiday Calendar
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only Flag. Indicates that the service is an add only, not an update.   
Holiday_Calendar_Reference  Holiday_CalendarObject  [0..1]  Reference for Holiday Calendar.   
Holiday_Calendar_Data  Holiday_Calendar_Data  [1..1]  Wrapper containing data for Condition Rule.   
Validation Description
Holiday Calendar ID already exists.   
top
 

Response Element: Put_Holiday_Calendar_Response

Put Holiday Calendar Response.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Holiday_Calendar_Reference  Holiday_CalendarObject  [0..1]  Reference for Holiday Calendar.   
top
 

Holiday_CalendarObject

part of: Put_Holiday_Calendar_Request, Put_Holiday_Calendar_Response
 
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_Data

part of: Put_Holiday_Calendar_Request
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