Service Directory > v31.2 > Resource_Management > Put_Supplier_Category
 

Operation: Put_Supplier_Category

This service operation will add or update Supplier Categories. Supplier Category data includes the Supplier Category ID and the Supplier Category Name. Supplier Categories are used to maintain suppliers and apply accounting rules to procurement transactions. You can also use Supplier categories when selecting or searching for Suppliers. All Suppliers must have one and only one category.


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

Element containing Supplier Category reference for update and all Supplier Category 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.   
Supplier_Category_Reference  Supplier_CategoryObject  [0..1]  Reference to an existing Supplier Category for update only purposes   
Supplier_Category_Data  Supplier_Category_Data  [1..1]  Supplier Category Data   
Validation Description
The Web Service is set to Add Only; but the Supplier Category already exists.   
top
 

Response Element: Put_Supplier_Category_Response

Element containing Put Supplier Category Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Supplier_Category_Reference  Supplier_CategoryObject  [0..1]  Reference to an existing Supplier Category   
top
 

Supplier_CategoryObject

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

Supplier_CategoryObjectID

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

Supplier_Category_Data

part of: Put_Supplier_Category_Request
Element containing all Supplier Category data
 
Parameter name Type/Value Cardinality Description Validations
Supplier_Category_ID  string  [0..1]  Supplier Category Reference ID. This is the Supplier Category unique identifier   
Supplier_Category_Name  string  [1..1]  Free form text field for a meaningful Supplier Category Name 
Validation Description
Enter a unique Supplier Category Name. [name] is already in use.  The Supplier Category Name is already in use. 
 
top
 

Supplier_CategoryReferenceEnumeration

part of: Supplier_CategoryObjectID
Base Type
string
top