AccountUpdateAttachmentTab Method |
This method enables you to update or delete attachment details available in the Attachment tab of an Account item in CampusNexus CRM.
Namespace: AccountService
C#
public long UpdateAttachmentTab( long accountID, long tabId, ref AttachmentData[] attachments, out string error )
Parameters
- accountID
- Type: SystemInt64
[in] The ID of the Account for which you want to update or delete the attachment details available in the Attachment Tab of the Account. - tabId
- Type: SystemInt64
[in] The ID of the Attachment Tab associated with the Account Object. - attachments
- Type: Talisma.Server.CommonAttachmentData
[ref] An array of the AttachmentData[] structure. This array contains the name of the attachment, comments about the attachment, the text content of the attachment, the boolean value to indicate if the attachment needs to be deleted,and the unique ID for the attachment. - error
- Type: SystemString
[out] The error messages returned when the update, or delete operation fails.
Return Value
Type: Int64The UpdateAttachmentTab method returns 0 if the operation is successful and a negative value if the operation fails.
