Service Directory > v32.1 > Human_Resources > Put_Workers_Compensation_Code
 

Operation: Put_Workers_Compensation_Code

This operation adds or updates a Workers' Compensation Code.


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

Contains data for adding or updating a Workers' Compensation Code.
 
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.   
Workers_Compensation_Code_Reference  Workers_Compensation_CodeObject  [0..1]  Reference to an existing Workers' Compensation Code. Only needed when updating the Reference ID for the Workers' Compensation Code.   
Workers_Compensation_Code_Data  Workers_Compensation_Code_Data  [1..1]  Contains data for a Worker's Compensation Code.   
Validation Description
Add Only is true but the Workers' Compensation Code ID is already in use.   
top
 

Response Element: Put_Workers_Compensation_Code_Response

Element containing Put Workers' Compensation Code Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Workers_Compensation_Code_Reference  Workers_Compensation_CodeObject  [0..1]  Reference for Workers' Compensation Code   
top
 

Workers_Compensation_CodeObject

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

Workers_Compensation_CodeObjectID

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

Workers_Compensation_Code_Data

part of: Put_Workers_Compensation_Code_Request
Element containing Workers' Compensation Code data
 
Parameter name Type/Value Cardinality Description Validations
Workers_Compensation_ID  string  [0..1]  Workers' Compensation Code Reference ID. This is the unique identifier for a Workers' Compensation Code.   
Workers_Compensation_Code  string  [1..1]  Workers' Compensation Code.   
Workers_Compensation_Name  string  [1..1]  Workers' Compensation Code Name.   
Country_Reference  CountryObject  [1..1]  Reference to the Country for the workers' compensation code. 
Validation Description
The country cannot be changed for [worker comp code] as it has already been used by a job profile.   
 
Country_Region_Reference  Country_RegionObject  [0..*]  Reference to the country region for the workers' compensation code.   
Location_Reference  LocationObject  [0..*]  Reference to the location for the workers' compensation code.   
Inactive  boolean  [0..1]  Boolean to indicate whether the workers' compensation code is active.   
top
 

CountryObject

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

Country_RegionObject

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

Country_RegionObjectID

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

LocationObject

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

LocationObjectID

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

Workers_Compensation_CodeReferenceEnumeration

part of: Workers_Compensation_CodeObjectID
Base Type
string
top
 

CountryReferenceEnumeration

part of: CountryObjectID
Base Type
string
top
 

Country_RegionReferenceEnumeration

part of: Country_RegionObjectID
Base Type
string
top
 

LocationReferenceEnumeration

part of: LocationObjectID
Base Type
string
top