Service Directory > v31.2 > Revenue_Management > Put_Sales_Item_Group
 

Operation: Put_Sales_Item_Group

This service operation will add or update Sales Item Groups. Assign sales items to sales item groups to make it easier to search for and select items. Items can belong to multiple groups. Sales Item Group data includes Sales Item Group ID and Name.


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

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

Response Element: Put_Sales_Item_Group_Response

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

Sales_Item_GroupObject

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

Sales_Item_GroupObjectID

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

Sales_Item_Group_Data

part of: Put_Sales_Item_Group_Request
Element containing all Sales Item Group data
 
Parameter name Type/Value Cardinality Description Validations
Sales_Item_Group_ID  string  [0..1]  Sales Item Group ID. This is the Sales Item Group unique identifier   
Sales_Item_Group_Name  string  [1..1]  Sales Item Group Name 
Validation Description
Enter a unique Item Group Name. [name] is already in use.  The sales item group name is already in use 
 
top
 

Sales_Item_GroupReferenceEnumeration

part of: Sales_Item_GroupObjectID
Base Type
string
top