Service Directory > v31.2 > Revenue_Management > Put_Contact_Type
 

Operation: Put_Contact_Type

This service operation will add or update Contact Types. Contact Type Data includes Contact Type Reference ID, Name, Business Entity Contact Type Reference, and Inactive flag.


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

Element containing Contact Type reference for update and all Contact Type data.
 
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.   
Contact_Type_Reference  Business_Entity_Contact_Type_TenantedObject  [0..1]  Reference to an existing Contact Type for update purposes only.   
Contact_Type_Data  Contact_Type_Data  [1..1]  Element containing data for a single Contact Type. 
Validation Description
Enter a Contact Type Name that isn't already in use.  Enter a Contact Type Name that isn't already in use. 
 
Validation Description
The web service is set to add only, but the Contact Type already exists.   
top
 

Response Element: Put_Contact_Type_Response

Element containing Put Contact Type Response Data.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Contact_Type_Reference  Business_Entity_Contact_Type_TenantedObject  [0..1]  Reference to the Contact Type that was created or updated by this task.   
top
 

Business_Entity_Contact_Type_TenantedObject

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

Business_Entity_Contact_Type_TenantedObjectID

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

Contact_Type_Data

part of: Put_Contact_Type_Request
Element containing data for a single Contact Type.
 
Parameter name Type/Value Cardinality Description Validations
Contact_Type_ID  string  [0..1]  The reference ID of this Contact Type.   
Name  string  [1..1]  Name of this Contact Type.   
Business_Entity_Contact_Type_Reference  Business_Entity_Contact_TypeObject  [1..*]  Reference to the Business Entity Contact Type for this Contact Type.   
Inactive  boolean  [0..1]  The flag that determines whether this Contact Type is active or inactive.   
Validation Description
Enter a Contact Type Name that isn't already in use.  Enter a Contact Type Name that isn't already in use. 
top
 

Business_Entity_Contact_TypeObject

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

Business_Entity_Contact_TypeObjectID

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

Business_Entity_Contact_Type_TenantedReferenceEnumeration

part of: Business_Entity_Contact_Type_TenantedObjectID
Base Type
string
top
 

Business_Entity_Contact_TypeReferenceEnumeration

part of: Business_Entity_Contact_TypeObjectID
Base Type
string
top