Service Directory > v31.2 > Human_Resources > Put_Ethnicity
 

Operation: Put_Ethnicity

This operation adds or updates an Ethnicity.


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

Request element for Put Ethnicity
 
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.   
Ethnicity_Reference  EthnicityObject  [0..1]  A unique identifier used to reference an Ethnicity.   
Ethnicity_Data  Ethnicity_Data  [0..1]  Contains the detailed information about an Ethnicity.   
Validation Description
Ethnicity, [ethnicity], already exists.   
top
 

Response Element: Put_Ethnicity_Response

Response element for Put Ethnicity
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Ethnicity_Reference  EthnicityObject  [0..1]  A unique identifier used to reference an Ethnicity.   
top
 

EthnicityObject

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

EthnicityObjectID

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

Ethnicity_Data

part of: Put_Ethnicity_Request
Contains the detailed information about an Ethnicity.
 
Parameter name Type/Value Cardinality Description Validations
ID  string  [0..1]  Reference ID (Ethnicity_ID)   
Name  string  [0..1]  The name of the Ethnicity. 
Validation Description
Name is required.   
 
Code  string  [0..1]  The code for the Ethnicity.   
Description  string  [0..1]  The description of the Ethnicity.   
Location_Reference  Location_ContextObject  [0..1]  The country the ethnicity is for. 
Validation Description
Location (Country or Country Region) is required.   
 
Ethnicity_Mapping_Reference  Global_Setup_Data_MappingObject  [0..1]  This is the Workday Owned Ethnicity mapping for this Ethnicity.   
Inactive  boolean  [0..1]  Flag indicating that the ethnicity is no longer used   
top
 

Location_ContextObject

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

Location_ContextObjectID

part of: Location_ContextObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Country_Region_ID, Country_Subregion_Code_In_Country, Country_Subregion_Internal_ID, ISO_3166-1_Alpha-2_Code, ISO_3166-1_Alpha-3_Code, ISO_3166-1_Numeric-3_Code, ISO_3166-2_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".   
@parent_id  string  [1..1]  Contains a unique identifier for an instance of a parent object   
@parent_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 of a parent object   
top
 

Global_Setup_Data_MappingObject

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

Global_Setup_Data_MappingObjectID

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

EthnicityReferenceEnumeration

part of: EthnicityObjectID
Base Type
string
top
 

Location_ContextReferenceEnumeration

part of: Location_ContextObjectID
Base Type
string
top
 

Base Type
string

top
 

Global_Setup_Data_MappingReferenceEnumeration

part of: Global_Setup_Data_MappingObjectID
Base Type
string
top