Service Directory > v31.2 > Staffing > Edit_Service_Dates
 

Operation: Edit_Service_Dates

Sets a worker's service dates. Uses the Edit Service Dates business process.


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

This web service operation allows updates to the service dates for a worker.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Business_Process_Parameters  Business_Process_Parameters  [0..1]  Container for the processing options for a business process. If no options are submitted (or the options are submitted as 'false') then the business process is simply initiated as if it where submitted on-line with approvals, reviews, notifications and to-do's in place. If the Initiator is an Integration System User, any validations you configured on the Initiation step are ignored.   
Edit_Service_Dates_Data  Edit_Service_Dates_Business_Process_Data  [1..1]  Wrapper element for the Edit Service Dates business process web service.   
top
 

Response Element: Edit_Service_Dates_Response

Responds with the Event ID for the Service Dates Change Event.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Edit_Service_Dates_Event_Reference  Unique_IdentifierObject  [0..1]  Event ID of the Service Dates Change Event.   
top
 

Business_Process_Parameters

part of: Edit_Service_Dates_Request
Container for the processing options for a business process. If no options are submitted (or the options are submitted as 'false') then the business process is simply initiated as if it where submitted on-line with approvals, reviews, notifications and to-do's in place. If the Initiator is an Integration System User, any validations you configured on the Initiation step are ignored.
 
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.   
Run_Now  boolean  [0..1]  Indicates the transaction should process to completion before the response is generated. Note: All < v12 operations will process with Run_Now = True for backwards compatibility but please review this setting in your environment for performance conditions.   
Comment_Data  Business_Process_Comment_Data  [0..1]  Captures a comment for the Business Process.   
Business_Process_Attachment_Data  Business_Process_Attachment_Data  [0..*]  Element for the attachments pertaining to a Event entered through a web service. 
Validation Description
This Business Process Type has been configured to not accept Event Attachments.   
 
top
 

Business_Process_Comment_Data

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

Business_Process_Attachment_Data

part of: Business_Process_Parameters
Element for the attachments pertaining to a Event entered through a web service.
 
Parameter name Type/Value Cardinality Description Validations
File_Name  string (255)   [1..1]  Filename for the attachment.   
Event_Attachment_Description  string  [0..1]  Free form text comment about the attachment.   
Event_Attachment_Category_Reference  Event_Attachment_CategoryObject  [0..1]  Category of attachment. 
Validation Description
This Business Process Type has been configured to not accept Attachment Categories.   
 
File  base64Binary  [0..1]  Binary file contents.   
Content_Type  string (80)   [0..1]  Text attribute identifying Content Type of the Attachment.   
top
 

Event_Attachment_CategoryObject

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

Event_Attachment_CategoryObjectID

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

Edit_Service_Dates_Business_Process_Data

part of: Edit_Service_Dates_Request
Wrapper element for the Edit Service Dates business process web service.
 
Parameter name Type/Value Cardinality Description Validations
Worker_Reference  WorkerObject  [1..1]  Reference to the Worker. The service dates specified must be appropriate to the worker type (regular, fixed term, contingent). 
Validation Description
There is a Service Dates Change Event in progress for this worker. Only one Service Dates Change Event may be in progress for a worker.   
 
Edit_Service_Dates_Event_Data  Edit_Service_Dates_Event_Data  [1..1]  Wrapper element for the Edit Service Dates details. 
Validation Description
At least one service date parameter must be specified.   
 
top
 

Edit_Service_Dates_Event_Data

part of: Edit_Service_Dates_Business_Process_Data
Wrapper element for the Edit Service Dates details.
 
Parameter name Type/Value Cardinality Description Validations
Original_Hire_Date  date  [0..1]  The Original Hire Date in the worker's service dates. If empty, Workday will use the existing date. 
Validation Description
Original Hire Date not allowed for contingent workers.   
Original Hire Date cannot be greater than either the Hire Date or the earliest Hire Date from previous Hire Events.   
 
Continuous_Service_Date  date  [0..1]  Date that service calculations will use as the start of service. If empty, Workday will use the existing date. When rehiring workers, if you run the Hire Employee and Edit Service Dates EIBs concurrently, you must enter the same Continuous Service Date in both EIBs for each worker.   
Expected_Retirement_Date  date  [0..1]  The Expected Retirement Date in the employee's service dates. If empty, Workday will use the existing date. 
Validation Description
Expected Retirement Date is not valid for contingent workers.   
Expected Retirement Date must be after Hire Date.   
 
Retirement_Eligibility_Date  date  [0..1]  The Retirement Eligibility Date in the employee's service dates. If empty, Workday will use the existing date. 
Validation Description
Retirement Eligibility Date is not valid for contingent workers.   
 
End_Employment_Date  date  [0..1]  The End Employment Date for the position of fixed term or temporary employees. Only applies to an employee's primary position. If the value is given as the sub-process of a main event, it is ignored. If empty, Workday will use the existing date. 
Validation Description
Invalid use of End Employment Date. End Employment Date is only valid for fixed term employees.   
End Employment Date must be after Hire Date.   
 
Seniority_Date  date  [0..1]  The Seniority Date in the employee's service dates. If empty, Workday will use the existing date. 
Validation Description
Seniority Date is not allowed for contingent workers.   
 
Severance_Date  date  [0..1]  The Severance Date in the employee's service dates. If empty, Workday will use the existing date. 
Validation Description
Severance Date not allowed for contingent workers.   
 
Contract_End_Date  date  [0..1]  The Contract End Date for the contingent worker's position. Only applies to the worker's primary position. If the value is given in the main process, it is ignored in sub-processes. If empty, Workday will use the existing date. 
Validation Description
Invalid use of Contract End Date. Contract End Date is only valid for contingent workers.   
Contract end date cannot be earlier than contract start date.   
The contract end date cannot be changed here because the worker’s primary employment has a Purchase Order. Please use the Edit Position web service to change this field.  The contract end date cannot be changed here because the worker’s primary employment has a Purchase Order. Please use the Edit Position web service to change this field. 
 
Benefits_Service_Date  date  [0..1]  The Benefits Service Date in the employee's service dates. If empty, Workday will use the existing date. When rehiring workers, if you run the Hire Employee and Edit Service Dates EIBs concurrently, you must enter the same Benefit Service Date in both EIBs for each worker. 
Validation Description
Benefits Service Date is not allowed for contingent workers.   
 
Company_Service_Date  date  [0..1]  The Company Service Date in the employee's service dates. If empty, Workday will use the existing date. When rehiring workers, if you run the Hire Employee and Edit Service Dates EIBs concurrently, you must enter the same Company Service Date in both EIBs for each worker. 
Validation Description
Company Service Date is not allowed for contingent workers.   
 
Time_Off_Service_Date  date  [0..1]  The Time Off Service Date in the worker's service dates. If empty, Workday will use the existing date.   
Vesting_Date  date  [0..1]  The Vesting Date in the employee's service dates. If empty, Workday will use the existing date. 
Validation Description
Vesting Date is not allowed for contingent workers.   
 
Date_Entered_Workforce  date  [0..1]  The Date Entered Workforce in the employee's service dates. If empty, Workday will use the existing date. 
Validation Description
Date Entered Workforce is only allowed for employees in the Countries configured on Tenant Setup.   
 
Days_Unemployed  decimal (12, 0) >0   [0..1]  Number of days unemployed since the employee first joined the work force. Used only for China. 
Validation Description
Days Unemployed is only allowed for employees in China.   
 
Months_Continuous_Prior_Employment  decimal (14, 2) >0   [0..1]  Number of months of continuous prior employment at the employee's most recent job. Used only for China. 
Validation Description
Months Continuous Prior Employment is only allowed for employees in China.   
 
Validation Description
At least one service date parameter must be specified.   
top
 

Unique_IdentifierObject

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

Unique_IdentifierObjectID

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

WorkerReferenceEnumeration

part of: WorkerObjectID
Base Type
string
top
 

Event_Attachment_CategoryReferenceEnumeration

part of: Event_Attachment_CategoryObjectID
Base Type
string
top
 

Unique_IdentifierReferenceEnumeration

part of: Unique_IdentifierObjectID
Base Type
string
top