Service Directory > v32.1 > Resource_Management > Put_Purchase_Item_Group
 

Operation: Put_Purchase_Item_Group

This service operation will add or update Purchase Item Groups. Purchase items are goods and services that are purchased from suppliers. Purchase Item data includes Purchase Item ID, Name, Spend Category, Item Description, Item Identifier, Unit of Measure, Item Unit Price, Currency and Purchase Item Group. Spend Category and Resource Category are synonymous and refer to the same business object.


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

Element containing Purchase Item Group reference for update and all Purchase Item 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.   
Purchase_Item_Group_Reference  Purchase_Item_GroupObject  [0..1]  Reference to an existing Purchase Item Group for update only purposes   
Purchase_Item_Group_Data  Purchase_Item_Group_Data  [1..1]  Purchase Item Group Data   
Validation Description
The Web Service is set to Add Only; but the Purchase Item Group already exists.   
top
 

Response Element: Put_Purchase_Item_Group_Response

Element containing Put Purchase Item Group Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Purchase_Item_Group_Reference  Purchase_Item_GroupObject  [0..1]  Reference to an existing Purchase Item Group   
top
 

Purchase_Item_GroupObject

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

Purchase_Item_GroupObjectID

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

Purchase_Item_Group_Data

part of: Put_Purchase_Item_Group_Request
Element containing all Purchase Item Group data
 
Parameter name Type/Value Cardinality Description Validations
Purchase_Item_Group_ID  string  [0..1]  Purchase Item Group ID. This is the Purchase Item Group unique identifier   
Purchase_Item_Group_Name  string  [1..1]  Free form text field for a meaningful Purchase Item Group Name 
Validation Description
Enter a unique Item Group Name. [name] is already in use.  The Item Group Name is already in use. 
 
top
 

Purchase_Item_GroupReferenceEnumeration

part of: Purchase_Item_GroupObjectID
Base Type
string
top