Service Directory > v31.2 > Resource_Management > Put_Project_Worker_Role
 

Operation: Put_Project_Worker_Role

This service operation will add or update Project Worker Role. A project worker role can be used by multiple Project Resource Pools for multiple Projects. Project Worker Role data includes Project Worker Role ID, Project Worker Role Name, Project Worker Role Description, Default Hourly Billable Rate, Default Hourly Internal Rate, and Currency.


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

Element containing Project Worker Role reference for update and all Project Worker Role data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only   
Project_Worker_Role_Reference  Project_RoleObject  [0..1]  Project Worker Role Reference   
Project_Worker_Role_Data  Project_Worker_Role_Data  [1..1]  Project Worker Role Data   
Validation Description
The Web Service is set to Add Only; but the Project Worker Role already exists.   
top
 

Response Element: Put_Project_Worker_Role_Response

Element containing Put Project Worker Role Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Project_Worker_Role_Reference  Project_RoleObject  [0..1]  Project Worker Role Reference   
Project_Worker_Role_Data  Project_Worker_Role_Data  [0..1]  Project Worker Role Data   
top
 

Project_RoleObject

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

Project_RoleObjectID

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

Project_Worker_Role_Data

part of: Put_Project_Worker_Role_Request, Put_Project_Worker_Role_Response
Element containing all Project Worker Role data
 
Parameter name Type/Value Cardinality Description Validations
Project_Worker_Role_ID  string  [0..1]  Project Worker Role ID   
Name  string  [1..1]  Name 
Validation Description
Enter a unique Project Worker Role Name. [name] is already in use.   
 
Description  string  [0..1]  Description   
Inactive  boolean  [0..1]  Inactive Project Role   
Project_Resource_Requirement_Parameter_Data  Project_Resource_Requirement_Parameter_Data  [0..*]  Project Resource Requirement Parameter Data 
Validation Description
You can’t have duplicate entries on a Category.   
You can’t have duplicate entries on a Category.   
Project Role Requirement Reference ID already exists for another Project Role.   
The Delete option should be set to false since Project Resource Requirement Parameter ID does not exist.   
Requirement value has to be of the same type of the Requirement Category.   
 
top
 

Project_Resource_Requirement_Parameter_Data

part of: Project_Worker_Role_Data
Project Resource Requirement Parameter Data
 
Parameter name Type/Value Cardinality Description Validations
Delete  boolean  [0..1]  Delete   
Project_Resource_Requirement_Parameter_ID  string  [0..1]  Project Role Resource Plan Requirement Parameter ID   
Requirement_Field_Reference  External_FieldObject  [0..1]  Requirement category 
Validation Description
Requirement Category or Requirement Value cannot be empty.   
Location category can only have one Requirement value.   
Job Profile category can only have one Requirement value.   
 
Requirement_Value_Reference  InstanceObject  [0..*]  Requirement value 
Validation Description
Invalid Requirement for Category.   
 
Validation Description
You can’t have duplicate entries on a Category.   
You can’t have duplicate entries on a Category.   
Project Role Requirement Reference ID already exists for another Project Role.   
The Delete option should be set to false since Project Resource Requirement Parameter ID does not exist.   
Requirement value has to be of the same type of the Requirement Category.   
top
 

External_FieldObject

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

External_FieldObjectID

part of: External_FieldObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Calculated_Field_ID, Computed_Data_Source_Field_ID, Custom_Field_Data_Set_ID, Custom_Field_ID, Extension_Computed_Data_Field_Reference_ID, External_Analytics_Data_Source_Field_ID, WCP_Component_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
 

InstanceObject

part of: Project_Resource_Requirement_Parameter_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]     
ID  Instance_ID  [0..*]     
top
 

Instance_ID

part of: InstanceObject
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@parent_id  string  [1..1]     
@parent_type  string  [1..1]     
@type  string  [1..1]     
top
 

Project_RoleReferenceEnumeration

part of: Project_RoleObjectID
Base Type
string
top
 

External_FieldReferenceEnumeration

part of: External_FieldObjectID
Base Type
string
top