Service Directory > v31.2 > Resource_Management > Put_Procurement_Document_Attachment
 

Operation: Put_Procurement_Document_Attachment

Adds an attachment to a Supplier Invoice. In the future will expand this to support other Procurement Business Documents.


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

Element containing Procurement Document reference for attachment adding only and all Attachment data items
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Document_Reference  Business_DocumentObject  [1..1]  Reference to an existing Procurement Document for attachment adding only purposes.   
Document_Attachment_Data  Business_Document_Attachment_with_External_Option_Data  [1..1]  Encapsulating element containing all Business Document Attachment data. 
Validation Description
If a file name is specified for a Financial Attachment, File Content and Content Type are required.   
 
Validation Description
The specified Document is not supported by this Web Service Task. Please refer to the task documentation for supported Documents.   
top
 

Response Element: Put_Procurement_Document_Attachment_Response

Element containing Put Procurement Document Attachment Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Document_Reference  Business_DocumentObject  [0..1]  Reference to an existing Procurement Document for attachment adding only purposes.   
top
 

Business_DocumentObject

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

Business_DocumentObjectID

part of: Business_DocumentObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Advanced_Ship_Notice_ID, Advanced_Ship_Notice_Number, Award_Contract_Amendment_ID, Award_Proposal_ID, Award_Reference_ID, Change_Order_Reference_ID, Customer_Contract_Alternate_Reference_ID, Customer_Contract_Amendment_Reference_ID, Customer_Contract_Intercompany_ID, Customer_Contract_Reference_ID, Customer_Invoice_Adjustment_Reference_ID, Customer_Invoice_Reference_ID, Document_Number, Expense_Report_Reference_ID, Good_Delivery_ID, Goods_Delivery_Run_ID, Internal_Service_Delivery_Document_Number, Internal_Service_Delivery_ID, Inventory_Count_Sheet_Reference_ID, Inventory_Par_Count_Reference_ID, Inventory_Pick_List_Reference_ID, Inventory_Return_Reference_ID, Inventory_Ship_List_Reference_ID, Inventory_Stock_Request_Reference_ID, PO_Acknowledgement_Number, PO_Acknowledgement_Reference_ID, Procurement_Card_Transaction_Verification_ID, Purchase_Order_Reference_ID, Receipt_Number, Request_for_Quote_Award_ID, Request_for_Quote_ID, Request_for_Quote_Response_ID, Requisition_Number, Requisition_Template_ID, Return_to_Supplier_ID, Spend_Authorization_ID, Student_Sponsor_Contract_ID, Supplier_Acknowledgement_Number, Supplier_Contract_Amendment_ID, Supplier_Contract_History_ID, Supplier_Contract_ID, Supplier_Invoice_Adjustment_Reference_ID, Supplier_Invoice_Contract_ID, Supplier_Invoice_Reference_ID, Supplier_Invoice_Request_Document_Number, Supplier_Invoice_Request_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".   
@parent_id  string  [1..1]  Contains a unique identifier for an instance of a parent object   
@parent_type  WID, Document_Number, Purchase_Order_Reference_ID  [1..1]  The unique identifier type of a parent object   
top
 

Business_Document_Attachment_with_External_Option_Data

part of: Put_Procurement_Document_Attachment_Request
Encapsulating element containing all Business Document Attachment data.
 
Parameter name Type/Value Cardinality Description Validations
@Content_Type  string (80)   [1..1]  Text attribute identifying Content Type of the Attachment.   
@Filename  string (255)   [1..1]  Text attribute identifying Filename of the Attachment.   
@Encoding  string  [1..1]  Text attribute identifying Encoding of the Attachment.   
@Compressed  boolean  [1..1]  Boolean attribute identifying whether the Attachment is compressed.   
File_Content  base64Binary  [0..1]  File content in binary format.   
Comment  string  [0..1]  Comment   
External  boolean  [0..1]  Field to mark the attachments that can are shared with Suppliers.   
Validation Description
If a file name is specified for a Financial Attachment, File Content and Content Type are required.   
top
 

Business_DocumentReferenceEnumeration

part of: Business_DocumentObjectID
Base Type
string
top
 

Base Type
string

top