Service Directory > v31.2 > Human_Resources > Put_Sexual_Orientation
 

Operation: Put_Sexual_Orientation

Creates a new Sexual Orientation (or updates an existing Sexual Orientation) with the information supplied in the request.


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

The request to edit sexual orientation data for a worker.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only flag   
Sexual_Orientation_Reference  Sexual_OrientationObject  [0..1]  Reference to the sexual orientation of the person.   
Sexual_Orientation_Data  Sexual_Orientation_Data  [1..1]  The sexual orientation data for a worker.   
Validation Description
The web service is set to add only, but the Sexual Orientation already exists.  The web service is set to add only, but the Sexual Orientation already exists. 
top
 

Response Element: Put_Sexual_Orientation_Response

The response to the sexual orientation put request.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Sexual_Orientation_Reference  Sexual_OrientationObject  [0..1]  Reference to the sexual orientation of the person.   
top
 

Sexual_OrientationObject

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

Sexual_OrientationObjectID

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

Sexual_Orientation_Data

part of: Put_Sexual_Orientation_Request
The sexual orientation data for a worker.
 
Parameter name Type/Value Cardinality Description Validations
ID  string  [0..1]  The sexual orientation ID.   
Sexual_Orientation_Name  string  [1..1]  The sexual orientation for workers.   
Sexual_Orientation_Code  string  [0..1]  The sexual orientation code.   
Sexual_Orientation_Description  string  [0..1]  The sexual orientation description.   
Sexual_Orientation_Inactive  boolean  [0..1]  The inactive flag for sexual orientation.   
top
 

Sexual_OrientationReferenceEnumeration

part of: Sexual_OrientationObjectID
Base Type
string
top