Service Directory > v31.2 > Talent > Put_Degree
 

Operation: Put_Degree

This operation adds or updates a Degree.


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

Contains data for adding or updating a Degree
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only Flag. Indicates that the service is an add only, not an update.   
Degree_Reference  DegreeObject  [0..1]  A unique identifier used to reference a Degree.   
Degree_Data  Degree_Data  [1..1]  Contains the detailed information about a Degree.   
Validation Description
Degree, '[source]', already exists.   
Add Only is set to true. You can not submit a reference to update. Please remove the Add Only flag for updating.   
top
 

Response Element: Put_Degree_Response

Response Results
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Degree_Reference  DegreeObject  [0..1]  A unique identifier used to reference a Degree.   
top
 

DegreeObject

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

DegreeObjectID

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

Degree_Data

part of: Put_Degree_Request
This element contains the data elements for a Degree.
 
Parameter name Type/Value Cardinality Description Validations
ID  string  [0..1]  Degree ID. This is the unique identifier for a Degree. 
Validation Description
A Degree exists with the same Degree ID.   
 
Name  string  [0..1]  This is the name of the Degree with more validation for Localized Degrees. Non-blank value allowed. 
Validation Description
Name is required.   
You either have a duplicate degree for one or more countries or you are trying to restrict a degree that is available for all countries and already in use. If you have a duplicate degree, remove, merge, or inactivate the extra degrees. If you need to restrict a degree that is in use, inactivate the current degree and create a copy of it with the necessary restrictions.   
 
Rating_Value  decimal (11, 2) >0   [0..1]  This is the rating value for the Degree.   
Description  string  [0..1]  This is the description of the Degree.   
Inactive  boolean  [0..1]  Indicates if the degree is inactive. If a degree is inactive, it will no longer be allowed to be selected when a worker adds an education.   
Restricted_to_Countries_Reference  CountryObject  [0..*]  Indicates that the degree is restricted by the country / countries 
Validation Description
You are trying to restrict a degree that is available for all countries and already in use. If you need to restrict a degree that is in use, inactivate the current degree and create a copy of it with the necessary restrictions.   
You cannot remove any countries from the Restricted to Countries field for the [degree] degree because it is already in use.   
 
top
 

CountryObject

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

CountryObjectID

part of: CountryObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, ISO_3166-1_Alpha-2_Code, ISO_3166-1_Alpha-3_Code, ISO_3166-1_Numeric-3_Code  [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
 

DegreeReferenceEnumeration

part of: DegreeObjectID
Base Type
string
top
 

CountryReferenceEnumeration

part of: CountryObjectID
Base Type
string
top