Service Directory > v25.1 > Resource_Management > Submit_Payroll_Timesheet_Time_In_Time_Out
 

Operation: Submit_Payroll_Timesheet_Time_In_Time_Out

This service operation will add or update Payroll Timesheet Time In Time Out. These types of timesheets are used to track time on an interval basis. For instance, work can be recorded against a specified time code from the hours of 8:00 am to 11:00 am, a different time code from 11:00 am to 12:00 pm, and so on. Payroll Timesheet Time In Time Out data includes Time Zone, the Worker the timesheet is for, the Period the timesheet covers, and data for each day on the timesheet. Data for each day includes the Date, and 0 or more work intervals specifying the Time In, Time Out, the Time Code, and a Memo. An existing Payroll Timesheet Time In Time Out can be specified to update by providing a Reference to it or specifying the timesheet's ID in the Request element.


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

This element encapsulates data for the request to add or update a Payroll Timesheet Time In Time Out
 
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. If an existing instance is found and this flag is set there will be an error.   
Payroll_Timesheet_Time_In_Time_Out_Reference  Payroll_Timesheet_Time_In_Time_OutObject  [0..1]  Reference to existing Payroll Timesheet Time In Time Out to update.   
Business_Process_Parameters  Financials_Business_Process_Parameters  [0..1]  Contains data for business processing   
Payroll_Timesheet_Time_In_Time_Out_Data  Payroll_Timesheet_Time_In_Time_Out_Data_WWS  [1..1]  Encapsulates all the data for a Payroll Timesheet Time In Time Out. Contains the ID, Time Zone, Worker, Period, and all the time tracking information for each day on the timesheet. 
Validation Description
Period for Payroll Timesheet must have Period Schedule usage type of Timesheet.  Period for Payroll Timesheet must have Period Schedule usage type of Timesheet. 
Another Timesheet exists for this Period and Worker. Only one Payroll Timesheet per Period and Worker is permitted.  Another Timesheet exists for this Period and Worker. Only one Payroll Timesheet per Period and Worker is permitted. 
 
Validation Description
This Timesheet is not allowed to be updated at this time. A Timesheet may only be updated if Payroll has not yet been run for the period and if the Period Schedule is marked "Allow Timesheet Changes".  A Timesheet is not allowed to be changed after it has already been processed for Payroll. 
top
 

Response Element: Submit_Payroll_Timesheet_Time_In_Time_Out_Response

Element containing the Payroll Timesheet Time In Time Out that was added or updated in the "Put" operation.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Payroll_Timesheet_Time_In_Time_Out_Reference  Payroll_Timesheet_Time_In_Time_OutObject  [0..1]  A reference to the Payroll Timesheet Time In Time Out that was added or updated.   
Application_Instance_Related_Exceptions_Data  Application_Instance_Related_Exceptions_Data  [0..*]  Element containing Exceptions Data   
top
 

Payroll_Timesheet_Time_In_Time_OutObject

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

Payroll_Timesheet_Time_In_Time_OutObjectID

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

Financials_Business_Process_Parameters

part of: Submit_Payroll_Timesheet_Time_In_Time_Out_Request
Contains data for business processing
 
Parameter name Type/Value Cardinality Description Validations
Auto_Complete  boolean  [0..1]  When set to "true" or "1", the business process is automatically processed. This means that all approvals will be automatically approved in the system, all reviews and to-do's will be automatically by-passed, and all notifications will be automatically suppressed.   
Comment_Data  Business_Process_Comment_Data  [0..1]  Captures the Comment for the Business Process.   
top
 

Business_Process_Comment_Data

part of: Financials_Business_Process_Parameters
Captures a comment for the Business Process.
 
Parameter name Type/Value Cardinality Description Validations
Comment  string  [0..1]  Free form comment regarding the business process. 
Validation Description
This Business Process has been configured to disable comment. Please remove the comment or change the setting in the Business Process Policy or tenant setup.   
 
Worker_Reference  WorkerObject  [0..1]  Default the Person making the comment to the processing person if not submitted via the web service.   
top
 

WorkerObject

part of: Business_Process_Comment_Data, Payroll_Timesheet_Time_In_Time_Out_Data_WWS
 
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
 

Payroll_Timesheet_Time_In_Time_Out_Data_WWS

part of: Submit_Payroll_Timesheet_Time_In_Time_Out_Request
Encapsulates all the data for a Payroll Timesheet Time In Time Out. Contains the ID, Time Zone, Worker, Period, and all the time tracking information for each day on the timesheet.
 
Parameter name Type/Value Cardinality Description Validations
Payroll_Timesheet_Time_In_Time_Out_ID  string  [0..1]  ID for the Payroll Timesheet Time In Time Out. This is a unique identifier for this timesheet.   
Locked_in_Workday  boolean  [0..1]  Set to True to disable editing and canceling the timesheet inside the Workday application. Timesheet can only be updated from the web service.   
Time_Zone_Reference  Time_ZoneObject  [0..1]  A reference to the time zone specified on the timesheet.   
Worker_Reference  WorkerObject  [0..1]  A reference for the Worker this timesheet is for. 
Validation Description
The Worker on a timesheet cannot be changed once the timesheet has been created.  The Worker on a timesheet cannot be changed once the timesheet has been created. 
 
Period_Reference  PeriodObject  [0..1]  A reference to the Period this timesheet is for.   
Payroll_Timesheet_Day_Time_In_Time_Out_Replacement_Data  Payroll_Timesheet_Day_Time_In_Time_Out_WWS  [0..*]  This element encapsulates a day tracked on a timesheet. It contains 0 or more "Payroll Timesheet Day Time In Time Out Hours" representing intervals of time worked and tracked against specific time codes.   
Validation Description
Period for Payroll Timesheet must have Period Schedule usage type of Timesheet.  Period for Payroll Timesheet must have Period Schedule usage type of Timesheet. 
Another Timesheet exists for this Period and Worker. Only one Payroll Timesheet per Period and Worker is permitted.  Another Timesheet exists for this Period and Worker. Only one Payroll Timesheet per Period and Worker is permitted. 
top
 

Time_ZoneObject

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

Time_ZoneObjectID

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

PeriodObject

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

PeriodObjectID

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

Payroll_Timesheet_Day_Time_In_Time_Out_WWS

part of: Payroll_Timesheet_Time_In_Time_Out_Data_WWS
This element encapsulates a day tracked on a timesheet. It contains 0 or more "Payroll Timesheet Day Time In Time Out Hours" representing intervals of time worked and tracked against specific time codes.
 
Parameter name Type/Value Cardinality Description Validations
Date  date  [0..1]  The date for this day being tracked on the timesheet. 
Validation Description
The date for the day on the timesheet ([timesheet day date]) must be within the date range of the Period selected: [period start] to [period end]  The date for the day on the timesheet must be within the date range of the Period selected. 
 
Payroll_Timesheet_Day_Time_In_Time_Out_Hours  Payroll_Timesheet_Day_Time_In_Time_Out_Hours_WWS  [0..*]  Element that encapsulates one interval of time worked within a day on a Time In Time Out timesheet, including the Time In, Time Out, Time Code, and Memo. 
Validation Description
The time sequence entered for [time in] and [time out] overlaps with a time sequence on the current Timesheet.  The time interval specified by Time In and Time Out cannot overlap with a time sequence on a current or previously entered Timesheet. 
Time In cannot be later than Time Out  Time In cannot be later than Time Out 
 
top
 

Payroll_Timesheet_Day_Time_In_Time_Out_Hours_WWS

part of: Payroll_Timesheet_Day_Time_In_Time_Out_WWS
Element that encapsulates one interval of time worked within a day on a Time In Time Out timesheet, including the Time In, Time Out, Time Code, and Memo.
 
Parameter name Type/Value Cardinality Description Validations
Time_In  dateTime  [1..1]  The Time In (starting time) for this work interval. 
Validation Description
Time In Date needs to be the same as the Date field.  Time In Date needs to be the same as the Date field. 
Change your time entry. [time in] - [time out] overlaps with a time entry that already exists on this timesheet or a previous timesheet.  The time interval specified by Time In and Time Out cannot overlap with a time sequence on a current or previously entered Timesheet. 
 
Time_Out  dateTime  [1..1]  The Time Out (ending time) for this work interval. 
Validation Description
Time Out Date needs to be the same as the Date field.  Time Out Date needs to be the same as the Date field. 
Change your time entry. [time in] - [time out] overlaps with a time entry that already exists on this timesheet or a previous timesheet.  The time interval specified by Time In and Time Out cannot overlap with a time sequence on a current or previously entered Timesheet. 
 
Time_Code_Reference  Time_Entry_CodeObject  [1..1]  A reference to the Time Code for this work interval. 
Validation Description
Time Code selected must be used by Earnings.  Time Code selected must be used by Earnings. 
 
Memo  string  [0..1]  An optional Memo for the work interval.   
Validation Description
The time sequence entered for [time in] and [time out] overlaps with a time sequence on the current Timesheet.  The time interval specified by Time In and Time Out cannot overlap with a time sequence on a current or previously entered Timesheet. 
Time In cannot be later than Time Out  Time In cannot be later than Time Out 
top
 

Time_Entry_CodeObject

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

Time_Entry_CodeObjectID

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

Application_Instance_Related_Exceptions_Data

part of: Submit_Payroll_Timesheet_Time_In_Time_Out_Response
Element containing Exceptions Data
 
Parameter name Type/Value Cardinality Description Validations
Exceptions_Data  Application_Instance_Exceptions_Data  [0..*]  Exceptions Data   
top
 

Application_Instance_Exceptions_Data

part of: Application_Instance_Related_Exceptions_Data
Element containing application related exceptions data
 
Parameter name Type/Value Cardinality Description Validations
Exception_Data  Exception_Data  [0..*]  Exception Data   
top
 

Exception_Data

part of: Application_Instance_Exceptions_Data
Exception (Errors and Warning) associated with the transaction.
 
Parameter name Type/Value Cardinality Description Validations
Classification  string  [0..1]  Exception Classification (Error or Warning)   
Message  string  [0..1]  Exception Detail   
top
 

Payroll_Timesheet_Time_In_Time_OutReferenceEnumeration

part of: Payroll_Timesheet_Time_In_Time_OutObjectID
Base Type
string
top
 

WorkerReferenceEnumeration

part of: WorkerObjectID
Base Type
string
top
 

Time_ZoneReferenceEnumeration

part of: Time_ZoneObjectID
Base Type
string
top
 

PeriodReferenceEnumeration

part of: PeriodObjectID
Base Type
string
top
 

Time_Entry_CodeReferenceEnumeration

part of: Time_Entry_CodeObjectID
Base Type
string
top