Service Directory > v31.2 > Staffing > Assign_Organization
 

Operation: Assign_Organization

Assigns company, cost center, region, fund, grant, business unit, program, and custom organizations configured for staffing usage to a staffing position. Uses the Change Organization Assignments for Worker 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: Assign_Organization_Request

This operation will assign company, cost center, region, and custom organizations (that are configured for staffing usage) to a position using the Assign Organization business process event.
 
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.   
Assign_Organization_Data  Assign_Organization_Event_Data  [1..1]  Wrapper element for the Assign Organization web service. 
Validation Description
Organizations of the following organization types are required : [staffs].  Validate that there is at least one organization when the organization type is required. 
Only organizations which have an organization type with 'Show in Change Organization Assignment' enabled can be assigned. The organizations for the following organization types does not comply to this restriction: [staffs].  Validates that organizations selected all are configured to be used in Change Organization Assignments. 
One and only one organization can be assigned for each organization type having 'Show in Change Organization Assignment' enabled and having 'Unique' option. For example, if the organization type 'Company' is configured as 'Unique' and 'Show in Change Organization Assignment' enabled, a position must be assigned to a company and cannot be assigned to more than one company. The organizations for the following organization types are not compliant with this restrictions: [staffs].  One and only one organization must be specified for each organization type configured with Position Assignment as Unique and set to Show in Change Organization Assignments. This error indicates that either you have not specified an organization for all Unique/Show in Change Organization Assignments enabled organization types, or that you have specified more than one organization for a Unique/Show in Change Organization Assignments enabled organization type. For example, if Company, Cost Center, and Region organization types are configured as Unique/Show in Change Organization Assignments enabled, then assigning a position/headcount group to just a Company and Cost Center is not valid (because Region is also required), nor is assigning the position to more than one Company, Cost Center, or Region valid (positions must be uniquely assigned to only one Company, Cost Center, Region). 
The organization assignments do not meet the restrictions defined for the supervisory organization and locations.   
 
top
 

Response Element: Assign_Organization_Response

Responds with the Event ID for the Assign Organization Event.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Event_Reference  Unique_IdentifierObject  [0..1]  Responds with the Event ID for the Assign Organization Event.   
top
 

Business_Process_Parameters

part of: Assign_Organization_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, Financials_Business_Sub_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, Assign_Organization_Event_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
 

Assign_Organization_Event_Data

part of: Assign_Organization_Request
Wrapper element for the Assign Organization web service.
 
Parameter name Type/Value Cardinality Description Validations
@As_Of_Effective_Date  date  [1..1]  Date that the organization assignments will be effective. 
Validation Description
This position will be vacated or closed as of the effective date. Organization assignments cannot be made.   
Position Restriction is closed as of the effective date. Organizations cannot be changed after it has been closed.   
The Position Restriction isn't available as of the Effective Date. You can't assign to the organization until on or after [date].   
Position restriction create business process was rescinded. Organization changes can't be made.   
Enter an Effective Date for the organization assignment that is on or after hire date [date] for the position.   
You cannot initiate this action because there are other pending or completed organization actions for [PositionGroup] that conflict with this one.   
Enter an Effective Date for the organization assignment that is on or after hire date [date] for the worker.   
 
Position_Reference  Staffing_InterfaceObject  [1..1]  Reference to a Position, Position Restriction or Headcount Restriction. If a Position Management Position ID is submitted, the Position Restriction and its filled position will be updated. Unless it has an overlapping position. If that is the case, the filled position for the submitted worker reference will be updated. If there is no submitted worker, then only the Position Restriction will be updated. 
Validation Description
Position is not valid for this Worker as of the effective date. Worker: [worker] Position: [position] Date: [date]   
This position or position restriction cannot be selected. You cannot move your own position or a position that is not in the current organization. If the position you chose has a job overlap, you must supply the Worker Reference ID. There cannot be later dated completed or pending transactions that would make this move invalid. Both organizations must be active.   
The worker has pending actions that conflict with this one. Complete the pending actions before starting this new action.   
 
Worker_Reference  WorkerObject  [0..1]  Reference to the Employee or Contingent Worker. This value is only needed if the Position Reference is in an overlapped situation. When that happens, we need to worker reference in order to identify which of the filled positions for the Position ID should have its organizations changed.   
Organization_Reference  OrganizationObject  [0..*]  References the Organizations to assign to the indicated position.   
Fund_Reference  FundObject  [0..*]  References the Funds to be assigned to the indicated position.   
Grant_Reference  GrantObject  [0..*]  References the Grants to be assigned to the indicated position.   
Program_Reference  ProgramObject  [0..*]  References the Programs to be assigned to the indicated position.   
Business_Unit_Reference  Business_UnitObject  [0..*]  References the Business Units to be assigned to the indicated position.   
Gift_Reference  GiftObject  [0..*]  References the Gifts to be assigned to the indicated position.   
Check_Position_Budget_Sub_Process  Check_Position_Budget_Sub_Business_Process  [0..1]  Run the Check Position Budget Sub Business Process to calculate any commitments and obligations for the outbound and/or inbound positions on this event to enable budget checking.   
Validation Description
Organizations of the following organization types are required : [staffs].  Validate that there is at least one organization when the organization type is required. 
Only organizations which have an organization type with 'Show in Change Organization Assignment' enabled can be assigned. The organizations for the following organization types does not comply to this restriction: [staffs].  Validates that organizations selected all are configured to be used in Change Organization Assignments. 
One and only one organization can be assigned for each organization type having 'Show in Change Organization Assignment' enabled and having 'Unique' option. For example, if the organization type 'Company' is configured as 'Unique' and 'Show in Change Organization Assignment' enabled, a position must be assigned to a company and cannot be assigned to more than one company. The organizations for the following organization types are not compliant with this restrictions: [staffs].  One and only one organization must be specified for each organization type configured with Position Assignment as Unique and set to Show in Change Organization Assignments. This error indicates that either you have not specified an organization for all Unique/Show in Change Organization Assignments enabled organization types, or that you have specified more than one organization for a Unique/Show in Change Organization Assignments enabled organization type. For example, if Company, Cost Center, and Region organization types are configured as Unique/Show in Change Organization Assignments enabled, then assigning a position/headcount group to just a Company and Cost Center is not valid (because Region is also required), nor is assigning the position to more than one Company, Cost Center, or Region valid (positions must be uniquely assigned to only one Company, Cost Center, Region). 
The organization assignments do not meet the restrictions defined for the supervisory organization and locations.   
top
 

Staffing_InterfaceObject

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

Staffing_InterfaceObjectID

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

OrganizationObject

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

OrganizationObjectID

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

FundObject

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

FundObjectID

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

GrantObject

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

GrantObjectID

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

ProgramObject

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

ProgramObjectID

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

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

Business_UnitObjectID

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

GiftObject

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

GiftObjectID

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

Check_Position_Budget_Sub_Business_Process

part of: Assign_Organization_Event_Data
Top element used for Check Position Budget as a sub business process.
 
Parameter name Type/Value Cardinality Description Validations
Business_Sub_Process_Parameters  Financials_Business_Sub_Process_Parameters  [0..1]  Run the Check Position Budget Sub Business Process to calculate any commitments and obligations for the outbound and/or inbound positions on this event to enable budget checking.   
top
 

Financials_Business_Sub_Process_Parameters

part of: Check_Position_Budget_Sub_Business_Process
Container for the processing options for sub-business processes within a business process. If no options are submitted (or the options are submitted as 'false') then the sub-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
Skip  boolean  [0..1]  When set to "true" or "1", the business process is automatically skipped (if it is defined as "skippable" within the business process definition).   
Business_Process_Comment_Data  Business_Process_Comment_Data  [0..1]  Captures a comment for the Business Process.   
top
 

Unique_IdentifierObject

part of: Assign_Organization_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
 

Staffing_InterfaceReferenceEnumeration

part of: Staffing_InterfaceObjectID
Base Type
string
top
 

OrganizationReferenceEnumeration

part of: OrganizationObjectID
Base Type
string
top
 

FundReferenceEnumeration

part of: FundObjectID
Base Type
string
top
 

GrantReferenceEnumeration

part of: GrantObjectID
Base Type
string
top
 

ProgramReferenceEnumeration

part of: ProgramObjectID
Base Type
string
top
 

Business_UnitReferenceEnumeration

part of: Business_UnitObjectID
Base Type
string
top
 

GiftReferenceEnumeration

part of: GiftObjectID
Base Type
string
top
 

Unique_IdentifierReferenceEnumeration

part of: Unique_IdentifierObjectID
Base Type
string
top