Service Directory > v32.1 > Human_Resources > Put_Political_Affiliation
 

Operation: Put_Political_Affiliation

This operation adds or updates a Political Affiliation.


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

Request element for Put Political Affiliation
 
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.   
Political_Affiliation_Reference  Political_AffiliationObject  [0..1]  A unique identifier used to reference a Political Affiliation.   
Political_Affiliation_Data  Political_Affiliation_Data  [1..1]  Encapsulating element containing all Political Affiliation data.   
top
 

Response Element: Put_Political_Affiliation_Response

Response element for the Put Political Affiliation operation.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Political_Affiliation_Reference  Political_AffiliationObject  [0..1]  A unique identifier used to reference a Political Affiliation.   
top
 

Political_AffiliationObject

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

Political_AffiliationObjectID

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

Political_Affiliation_Data

part of: Put_Political_Affiliation_Request
Encapsulating element containing all Political Affiliation data.
 
Parameter name Type/Value Cardinality Description Validations
ID  string  [0..1]  The ID for the Political Affiliation (Political_Affiliation_ID).   
Name  string  [1..1]  The name of the Political Affiliation. 
Validation Description
Name is required.   
 
Code  string  [0..1]  The code for the Political Affiliation.   
Description  string  [0..1]  The description for the Political Affiliation.   
Location_Reference  Location_ContextObject  [1..1]  The country the Political Affiliation is for. 
Validation Description
Location (Country or Country Region) is required.   
 
Inactive  boolean  [0..1]  A boolean flag indicating whether the Political Affiliation is active or not.   
top
 

Location_ContextObject

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

Political_AffiliationReferenceEnumeration

part of: Political_AffiliationObjectID
Base Type
string
top
 

Location_ContextReferenceEnumeration

part of: Location_ContextObjectID
Base Type
string
top
 

Base Type
string

top