Service Directory > v32.1 > Staffing > Delete_Worker_Document
 

Operation: Delete_Worker_Document

Deletes worker documents that aren’t associated with business process events.


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

Documentation Request element for worker reference
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Worker_Reference  WorkerObject  [1..1]  The reference ID for the worker whose documents you’re deleting.   
Delete_Worker_Data  Delete_Worker_Document_Data  [1..*]  The information about the worker document, such as the category and file.   
top
 

Response Element: Delete_Worker_Document_Response

Element that contains the worker whose documents are deleted
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Worker_Reference  WorkerObject  [0..1]  The reference ID for the worker whose documents you’re deleting.   
top
 

WorkerObject

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

Delete_Worker_Document_Data

part of: Delete_Worker_Document_Request
Documentation Request element for Delete Worker Document.
 
Parameter name Type/Value Cardinality Description Validations
Worker_Document_Reference  Worker_DocumentObject  [1..1]  The reference IDs for the worker documents. 
Validation Description
You can’t delete a worker document that’s attached to a business process. To remove the worker document, correct the business process event.   
Worker document is not valid for the specified worker.   
 
top
 

Worker_DocumentObject

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

Worker_DocumentObjectID

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

Worker_DocumentReferenceEnumeration

part of: Worker_DocumentObjectID
Base Type
string
top