Service Directory > v31.2 > Resource_Management > Put_Expense_Policy_Group
 

Operation: Put_Expense_Policy_Group

This service operation will add or update Expense Policy Groups. Expense Policy Group data includes Expense Policy Group ID and Name. Expense Policy Group can be used to make it easier to search for and select items for administrators. Expense items can belong to multiple groups.


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

Element containing Expense Policy Group reference for update and all Expense Policy Group 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. If an existing instance is found and this flag is set there will be an error.   
Expense_Policy_Group_Reference  Expense_Policy_GroupObject  [0..1]  Reference to an existing Expense Policy Group for update only purposes   
Expense_Policy_Group_Data  Expense_Policy_Group_Data  [1..1]  Element containing all Expense Policy Group data   
Validation Description
The Web Service is set to Add Only; but the Expense Policy Group already exists.   
top
 

Response Element: Put_Expense_Policy_Group_Response

Element containing Put Expense Policy Group Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Expense_Policy_Group_Reference  Expense_Policy_GroupObject  [0..1]  Expense Policy Group Reference   
top
 

Expense_Policy_GroupObject

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

Expense_Policy_GroupObjectID

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

Expense_Policy_Group_Data

part of: Put_Expense_Policy_Group_Request
Element containing all Expense Policy Group data
 
Parameter name Type/Value Cardinality Description Validations
Expense_Policy_Group_ID  string  [0..1]  Expense Policy Group ID. This is the Expense Policy Group unique identifier   
Expense_Policy_Group_Name  string  [1..1]  Free form text for a meaningful Expense Policy Group Name 
Validation Description
The Expense Policy Group Name "[name]" is already in use.  Expense Policy Group Name is already used. 
 
top
 

Expense_Policy_GroupReferenceEnumeration

part of: Expense_Policy_GroupObjectID
Base Type
string
top