Service Directory > v31.2 > Human_Resources > Put_Supervisory_Organization_Assignment_Restrictions
 

Operation: Put_Supervisory_Organization_Assignment_Restrictions

This operation updates the Organization Assignment Default Value and Allowed Values for a Supervisory Organization. Updates can be made by organization type. Note, the default value of Replace_All attribute is FALSE. This is different from most other webservices with this attribute because in this case, FALSE is more conservative. Default and allowed values for all organization types are inherited from the superior when no values have been specified for any organization types. Once a default or allowed value is specified for any organization type, the inheritance is severed. In the UI, inherited values are persisted when inheritance is severed. In order to mimic this behavior in the web service, inherited values will be persisted unless the 'Replace All' or 'Delete' options are set to TRUE.


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

Put Organization Assignment Restrictions Request
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Organization_Assignment_Restrictions_Data  Organization_Assignment_Restrictions_Data  [0..1]  Organization Assignment Restrictions Data 
Validation Description
An Organization Type only allows 1 Default Organization Assignment.  An Organization Type only allows 1 Default Organization Assignment. 
Organization Types in request can not duplicate.  Organization Types in request can not duplicate. 
Default Cost Center [cost_center] has 'Restricted To Companies' and the default value for Company [company] must be one of them. If Company has allowed values, then they must include one of the 'Restricted To Companies' as the default value for Company must also be an allowed value.  Default Company must be one of the 'Restricted To Companies' for default Cost Center. 
 
top
 

Response Element: Put_Organization_Assignment_Restrictions_Response

Put Organization Assignment Restrictions Response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Supervisory_Organization_Reference  Supervisory_OrganizationObject  [0..1]  Supervisory Organization Reference   
top
 

Organization_Assignment_Restrictions_Data

part of: Put_Organization_Assignment_Restrictions_Request
Organization Assignment Restrictions Data
 
Parameter name Type/Value Cardinality Description Validations
@Replace_All  boolean  [1..1]  Default to FALSE, if omitted. If set to TRUE, all existing Allowed/Default Organization(s) will be removed before any further processes. If inheritance of default and allowed values from the superior is being severed, setting this to 'TRUE' will not persist inherited values for any org type.   
Supervisory_Organization_Reference  Supervisory_OrganizationObject  [1..1]  Supervisory Organization Reference holds the Superviosry Organization for which the allowed/default organization(s) will be changed.   
Organization_Assignment_Restrictions_by_Type_Data  Organization_Assignment_Restrictions_by_Type_Data  [0..*]  Organization Assignment Restrictions Data for an Organization Type 
Validation Description
Organization Assignment Restrictions or Defaults cannot be specified for this organization type ([org type]).  Organization Assignment Restrictions or Defaults cannot be specified for this organization type. 
Because allowed organization is defined for the organization type, default organization must be one of the allowed organizations.   
Select only 1 default organization when the Position Assignment Unique report field is true.   
 
Validation Description
An Organization Type only allows 1 Default Organization Assignment.  An Organization Type only allows 1 Default Organization Assignment. 
Organization Types in request can not duplicate.  Organization Types in request can not duplicate. 
Default Cost Center [cost_center] has 'Restricted To Companies' and the default value for Company [company] must be one of them. If Company has allowed values, then they must include one of the 'Restricted To Companies' as the default value for Company must also be an allowed value.  Default Company must be one of the 'Restricted To Companies' for default Cost Center. 
top
 

Supervisory_OrganizationObject

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

Supervisory_OrganizationObjectID

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

Organization_Assignment_Restrictions_by_Type_Data

part of: Organization_Assignment_Restrictions_Data
Organization Assignment Restrictions by Type Data
 
Parameter name Type/Value Cardinality Description Validations
Organization_Type_Reference  Organization_TypeObject  [1..1]  Organization Type Reference. Can not be duplicated within 1 request.   
Allowed_Organization_Data  Staff_Allowed_Data  [0..*]  Allowed Organization Data   
Default_Organization_Data  Staff_Default_Data  [0..*]  Default Organization Data   
Validation Description
Organization Assignment Restrictions or Defaults cannot be specified for this organization type ([org type]).  Organization Assignment Restrictions or Defaults cannot be specified for this organization type. 
Because allowed organization is defined for the organization type, default organization must be one of the allowed organizations.   
Select only 1 default organization when the Position Assignment Unique report field is true.   
top
 

Organization_TypeObject

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

Organization_TypeObjectID

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

Staff_Allowed_Data

part of: Organization_Assignment_Restrictions_by_Type_Data
Allowed Organization Data
 
Parameter name Type/Value Cardinality Description Validations
@Delete  boolean  [1..1]  Boolean to indicate if existing default value is to be deleted. The existing default value must be correctly specified. Do not set to true (or 'y' in EIB) to replace the existing default value.   
Allowed_Organization_Reference  StaffObject  [1..*]  Allowed Organization References   
top
 

StaffObject

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

StaffObjectID

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

Staff_Default_Data

part of: Organization_Assignment_Restrictions_by_Type_Data
Default Organization Data
 
Parameter name Type/Value Cardinality Description Validations
@Delete  boolean  [1..1]  When set to TRUE, the values in Default_Organization_Reference will be removed from existing Default Organization; when omitted or set to FALSE, the values in Default_Organization_Reference will be merged into existing Default Organization. If inheritance of default and allowed values from the superior is being severed, setting this to 'TRUE' will not persist inherited values for this org type.   
Default_Organization_Reference  StaffObject  [0..1]  Default Organization Reference   
top
 

Supervisory_OrganizationReferenceEnumeration

part of: Supervisory_OrganizationObjectID
Base Type
string
top
 

Organization_TypeReferenceEnumeration

part of: Organization_TypeObjectID
Base Type
string
top
 

StaffReferenceEnumeration

part of: StaffObjectID
Base Type
string
top