Service Directory > v31.2 > Financial_Management > Put_Object_Class_Set
 

Operation: Put_Object_Class_Set

This service operation will add or update Object Class Sets. This operation will allow creation of object classes as part of the Object Class Set. An Object Class Set and Object Class have to be unique and an Object Class cannot repeat within a Object Class Set or be part of multiple Object Class Sets.


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

Element containing Object Class Set reference for update and all Object Class Set data items
 
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.   
Object_Class_Set_Reference  Object_Class_SetObject  [0..1]  Reference to an existing Object Class Set   
Object_Class_Set_Data  Object_Class_Set_Data  [1..1]  Object Class Set Data   
Validation Description
The Web Service is set to Add Only, but the Object Class Set already exists.   
Object Class Set Name matches an Object Class Set Name in an existing Object Class Set. Change Object Class Set Name.   
top
 

Response Element: Put_Object_Class_Set_Response

Element containing Put Object Class Set Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Object_Class_Set_Reference  Object_Class_SetObject  [0..1]  Reference to an existing Object Class Set   
top
 

Object_Class_SetObject

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

Object_Class_SetObjectID

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

Object_Class_Set_Data

part of: Put_Object_Class_Set_Request
Element containing all Object Class Set Data
 
Parameter name Type/Value Cardinality Description Validations
Object_Class_Set_ID  string  [0..1]  Object Class Set Reference ID. This is the Object Class Set unique identifier   
Object_Class_Set_Name  string  [1..1]  Object Class Set Name   
Object_Class_Data  Object_Class_Data  [0..*]  Object Class Data. An Object Class Set can contain multiple Object Classes. 
Validation Description
This object class code exists as part of a different object class set and therefore cannot be updated.   
 
top
 

Object_Class_Data

part of: Object_Class_Set_Data
Element containing all Object Class Data
 
Parameter name Type/Value Cardinality Description Validations
Object_Class_Code  string  [1..1]  Object Class Code. This is the Object Class Set unique identifier   
Object_Class_Description  string  [0..1]  Object Class Name   
Validation Description
This object class code exists as part of a different object class set and therefore cannot be updated.   
top
 

Object_Class_SetReferenceEnumeration

part of: Object_Class_SetObjectID
Base Type
string
top