Service Directory > v31.2 > Human_Resources > Put_Worker_Photo
 

Operation: Put_Worker_Photo

This operation adds or updates a workers photo.


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

Contains data for Adding/Updating a workers photo,
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Worker_Reference  WorkerObject  [1..1]  Reference to a Worker.   
Worker_Photo_Data  Employee_Photo_Data  [1..1]  Element Containing Worker Reference and Photo Data.   
top
 

Response Element: Put_Worker_Photo_Response

Element containing Put Worker Photo Response Information.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Worker_Reference  WorkerObject  [0..1]  Worker Reference   
top
 

WorkerObject

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

Employee_Photo_Data

part of: Put_Worker_Photo_Request
Element Containing Worker Reference and Photo Data.
 
Parameter name Type/Value Cardinality Description Validations
ID  string  [0..1]  A unique identifier for the worker.   
Filename  string (255)   [0..1]  Text attribute identifying Filename of the Attachment.   
File  base64Binary  [0..1]  File content in binary format.   
top
 

WorkerReferenceEnumeration

part of: WorkerObjectID
Base Type
string
top