AccountGetAttachmentTabEx Method
This method enables you to get the details of attachments available in the Attachment tab of an Account item in CampusNexus CRM in XML format.

Namespace:  AccountService
 

Syntax
C#
public long GetAttachmentTabEx(
	long objectType,
	long objectID,
	long tabID,
	out string strXML,
	out string error
)

Parameters

objectType
Type: SystemInt64
[in] The ID of the Account Object.
objectID
Type: SystemInt64
[in] The ID of the Account item for which the Attachment Tab details must be retrieved.
tabID
Type: SystemInt64
[in] The ID of the Attachment Tab associated with the Account Object.
strXML
Type: SystemString
[out] The XML format of the attachment details available in the Attachment tab. This XML contains the name of the attachment, comments about the attachment, the text content of the attachment, a boolean value to indicate if the attachment needs to be deleted and the ID of the attachment. The value of the attachments XML is blank if there are no attachments available in the Attachment Tab.
error
Type: SystemString
[out] The error messages returned when the get operation fails.

Return Value

Type: Int64
The GetAttachmentTabEx method returns 0 if the get operation is successful and a negative value if the operation fails.
See Also