Using .NET to download an Attachment
This is probably already in the discussions, but I can't seem to find a way to query the discussions.
Anyway, in .NET, I can query for an attachment and get all the information except for the content. In the documentation, there are attributes to the Attachment field, but I can't seem to specify them in .NET or determine the Content Id.
Here is the example query. The part in red is what I cannot figure out in .NET.
<ListOfAccount xmlns="urn:/crmondemand/xml/account"> <Account> <AccountId>1QA2-L9DZG</AccountId> <Description>Account with attachment</Description> <Location>Toronto</Location> <AccountName>Test Account</AccountName> <ListOfAttachment> <Attachment> <DisplayFileName>My sales analysis</DisplayFileName> <FileNameOrURL>Analysis</FileNameOrURL> <FileExtension>xml</FileExtension> <Description></Description>