Service Directory > v25.1 > Absence_Management > Put_Absence_Input
 

Operation: Put_Absence_Input

This operation adds a new Accrual or Time Off Adjustment/Override for an Employee (or updates an existing Adjustment/Override) with the supplied information. NOTE : This web service went through a breaking change for Workday 16. In Workday 14 and 15, unbounded Absence_Input_Line_Data elements were allowed within an Absence_Input_Data element. Going forward, Workday 16 does use Absence_Input_Line_Data elements and the data has been moved to the Absence_Input_Data parent element. If the older Workday schema is submitted, the first Absence_Input_Line_Data element is used and transformed internally to the updated schema. All nested Absence_Input_Line_Data elements beyond the first are ignored.


@ - 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_Absence_Input_Request

Absence Input Request
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Absence_Input_Reference  Absence_InputObject  [0..1]  Absence Input Reference   
Absence_Input_Data  Absence_Input_Data  [1..1]  Absence Input Data 
Validation Description
End Date is invalid. A period ending on the End Date is not found for the Accrual or Time Off being processed.  End Date is invalid. A period ending on the End Date is not found for the Accrual or Time Off being processed. 
Start Date is invalid. A period beginning on the Start Date is not found for the Accrual or Time Off being processed.  Start Date is invalid. A period beginning on the Start Date is not found for the Accrual or Time Off being processed. 
The Accrual or Time Off being processed does not allow adjustments or overrides.  The Accrual or Time Off being processed does not allow adjustments or overrides. 
Start Period must equal End Period when Adjustment is true.  Start Period must equal End Period when Adjustment is true. 
The End Date must be greater than the Start Date.  The End Date must be greater than the Start Date. 
Reference Date must be within the Start Period for Time Off.  Reference Date must be within the Start Period for Time Off. 
An override is not allowed for Time Off. Change the Adjustment flag to true.  An override is not allowed for Time Off. Change the Adjustment flag to true. 
Overrides cannot be setup for overlapping periods. Only adjustments can be setup for overlapping periods.  Overrides cannot be setup for overlapping periods. Only adjustments can be setup for overlapping periods. 
Batch ID is already associated with other types of Application Batches.  Batch ID is already associated with other types of Application Batches. 
End Date is required when Adjustment is true.  End Date is required when Adjustment is true. 
You cannot make changes to this input as it affects a completed termination adjustment.  You cannot make changes to this input as it affects a completed termination adjustment. 
 
top
 

Response Element: Put_Absence_Input_Response

Absence Input Response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Absence_Input_Reference  Absence_InputObject  [0..1]  Absence Input Reference   
top
 

Absence_InputObject

part of: Put_Absence_Input_Request, Put_Absence_Input_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  Absence_InputObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Absence_InputObjectID

part of: Absence_InputObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Absence_Input_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
 

Absence_Input_Data

part of: Put_Absence_Input_Request
Absence Input Data
 
Parameter name Type/Value Cardinality Description Validations
Absence_Input_ID  string  [0..1]  Absence Input ID (Used as a Lookup ID to perform an update. If not provided, the web service will add a new instance).   
Batch_ID  string  [0..1]  Batch ID is the unique identifier.   
Worker_Reference  WorkerObject  [1..1]  Worker Reference   
Position_Reference  Position_ElementObject  [0..1]  Position Reference 
Validation Description
The field Position Reference is required for the selected Absence Component.   
Position Reference is not valid for the Absence Component Reference given.   
Position is not valid for this Worker as of either the start date or end date of the Absence Input. Worker: [worker] Position: [position] Start Date: [start date] End Date: [end date]   
 
Absence_Component_Reference  Absence_ComponentObject  [1..1]  Absence Component Reference   
Start_Date  date  [1..1]  Start Date of Start Period   
End_Date  date  [0..1]  End Date of End Period   
Reference_Date  date  [1..1]  Reference Date is ignored for Accrual (will be defaulted to Start Date). Reference Date is required for Time Off.   
Hours  decimal (18, 6)   [0..1]  Absence Hours   
Adjustment  boolean  [0..1]  Adjustment (1=True, 0=False)   
Comment  string  [0..1]  Comment   
Validation Description
End Date is invalid. A period ending on the End Date is not found for the Accrual or Time Off being processed.  End Date is invalid. A period ending on the End Date is not found for the Accrual or Time Off being processed. 
Start Date is invalid. A period beginning on the Start Date is not found for the Accrual or Time Off being processed.  Start Date is invalid. A period beginning on the Start Date is not found for the Accrual or Time Off being processed. 
The Accrual or Time Off being processed does not allow adjustments or overrides.  The Accrual or Time Off being processed does not allow adjustments or overrides. 
Start Period must equal End Period when Adjustment is true.  Start Period must equal End Period when Adjustment is true. 
The End Date must be greater than the Start Date.  The End Date must be greater than the Start Date. 
Reference Date must be within the Start Period for Time Off.  Reference Date must be within the Start Period for Time Off. 
An override is not allowed for Time Off. Change the Adjustment flag to true.  An override is not allowed for Time Off. Change the Adjustment flag to true. 
Overrides cannot be setup for overlapping periods. Only adjustments can be setup for overlapping periods.  Overrides cannot be setup for overlapping periods. Only adjustments can be setup for overlapping periods. 
Batch ID is already associated with other types of Application Batches.  Batch ID is already associated with other types of Application Batches. 
End Date is required when Adjustment is true.  End Date is required when Adjustment is true. 
You cannot make changes to this input as it affects a completed termination adjustment.  You cannot make changes to this input as it affects a completed termination adjustment. 
top
 

WorkerObject

part of: Absence_Input_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  WorkerObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

WorkerObjectID

part of: WorkerObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Contingent_Worker_ID, Employee_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
 

Position_ElementObject

part of: Absence_Input_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  Position_ElementObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Position_ElementObjectID

part of: Position_ElementObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Position_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
 

Absence_ComponentObject

part of: Absence_Input_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  Absence_ComponentObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Absence_ComponentObjectID

part of: Absence_ComponentObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Accrual_Code, Time_Off_Code, Workday_Absence_Code, Workday_Accrual_Code  [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
 

Absence_InputReferenceEnumeration

part of: Absence_InputObjectID
Base Type
string
top
 

WorkerReferenceEnumeration

part of: WorkerObjectID
Base Type
string
top
 

Position_ElementReferenceEnumeration

part of: Position_ElementObjectID
Base Type
string
top
 

Absence_ComponentReferenceEnumeration

part of: Absence_ComponentObjectID
Base Type
string
top