Service Directory > v32.1 > Resource_Management > Put_Project_Task_Resources
 

Operation: Put_Project_Task_Resources

The service operation will replace existing Project Task Resources with the ones specified or add or update or delete specified Project Task Resources for a Project.Project Task Resource Request includes Project Reference,Replace All Flag,Add Only Flag and Project Task Resource Data element. Project Task Resource Data contains Project Task Resource ID,Project Plan Task Reference,Project Resource Plan Detail Reference,Worker Reference,Resource Start Date,Resource End Date,% Allocation,Estimated Hours.


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

Root element for the Request on the Put operation.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Project_Reference  ProjectObject  [0..1]  Project Reference related to which Project Task Resources should be processed by the wws 
Validation Description
Task Resources cannot be create for Inactive Project.(Project:[project])   
The Project Reference provided refers to a Project that is not updatable either because the Project was never created or the Project was Canceled or Denied. Project Reference: [id][reference]   
 
Project_Task_Resources_Data  Project_Task_Resources_Data  [0..1]  Wrapper Element for Put Task Resource Line Data Element 
Validation Description
Project Task Resource Reference cannot be reassigned to a new Project   
The Web Service is set to Add Only; documents cannot be resubmitted.   
 
top
 

Response Element: Put_Project_Task_Resources_Response

.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Project_Reference  ProjectObject  [0..1]  Project Reference   
top
 

ProjectObject

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

ProjectObjectID

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

part of: Put_Project_Task_Resources_Request
Wrapper Element for Project Task Resource Line Data Element
 
Parameter name Type/Value Cardinality Description Validations
@Replace_All  boolean  [1..1]  This flag controls whether or not to replace existing Project Task Resources for the Project. When true, existing Project Task Resources are removed before the data in this web service request is processed.   
@Add_Only  boolean  [1..1]  Add Only Flag. Indicates that the service is an add only, not an update.   
Project_ID  string  [0..1]  Project ID Reference 
Validation Description
Please enter either Project Reference or Project ID   
 
Project_Task_Resource_Line_Data  Project_Task_Resource_Line_Data  [0..*]  Element containing Project Task Resources related data to be processed by the wws 
Validation Description
Resource End Date cannot be before the Resource Start Date.  Resource End Date cannot be before the Resource Start Date. 
 
Validation Description
Project Task Resource Reference cannot be reassigned to a new Project   
The Web Service is set to Add Only; documents cannot be resubmitted.   
top
 

Project_Task_Resource_Line_Data

part of: Project_Task_Resources_Data
Element containing Project Task Resources related data to be processed by the wws
 
Parameter name Type/Value Cardinality Description Validations
@Delete  boolean  [1..1]  This flag controls whether specified Project Task Resource should be deleted (When Replace All Flag is true,then value of delete flag is ignored) 
Validation Description
Delete Flag cannot be True if no Project Task Resource Reference is specified or provided Project Task Resource Reference doesn't exist(Project Task Resource:[tr id])   
Project Task Resource cannot be deleted as its tied to Project(Project Task Resource:[tr],Project;[project])   
 
Project_Task_Resource_ID  string  [0..1]  Project Task Resource Reference ID 
Validation Description
Project Task Resource MLV Webservice Criticals   
 
Project_Plan_Task_Reference  Project_Plan_TaskObject  [1..1]  Project Plan Task Reference 
Validation Description
The Project Plan Task must be part of the selected Project (Project Plan Task: [task reference], Project: [project reference]).   
 
Project_Resource_Plan_Detail_Reference  Project_Resource_Plan_DetailObject  [1..1]  Project Resource Plan Detail Reference 
Validation Description
The Resource Plan Detail must be part of the selected Project (Resource Plan Detail: [rpd reference], Project: [project reference]).   
 
Project_Resource_Reference  Project_ResourceObject  [0..*]  Worker and Unnamed Resource reference for the Project Task Resource 
Validation Description
The Worker must be part of the selected Resource Plan Line (Worker: [worker reference], Resource Plan Line [rpd reference])   
 
Resource_Start_Date  date  [0..1]  Resource Start Date for the Project Task Resource   
Resource_End_Date  date  [0..1]  Resource End Date for the Project Task Resource   
Percent_Allocation  decimal (7, 4) >0   [0..1]  % Allocation for the Project Task Resource 
Validation Description
Task Percentage allocation cannot be entered if work relationship type is association for a Resource Plan detail (Resource Plan Detail: [rpd reference])   
 
Estimated_Hours  decimal (14, 2) >0   [0..1]  Estimated Hours for the Project Task Resource   
Memo  string  [0..1]  Memo for the Project Task Resource   
Validation Description
Resource End Date cannot be before the Resource Start Date.  Resource End Date cannot be before the Resource Start Date. 
top
 

Project_Plan_TaskObject

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

Project_Plan_TaskObjectID

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

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

Project_Resource_Plan_DetailObjectID

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

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

Project_ResourceObjectID

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

ProjectReferenceEnumeration

part of: ProjectObjectID
Base Type
string
top
 

Project_Plan_TaskReferenceEnumeration

part of: Project_Plan_TaskObjectID
Base Type
string
top
 

Project_Resource_Plan_DetailReferenceEnumeration

part of: Project_Resource_Plan_DetailObjectID
Base Type
string
top
 

Project_ResourceReferenceEnumeration

part of: Project_ResourceObjectID
Base Type
string
top