CRM On Demand - Web Services Integration (MOSC)

MOSC Banner

Using .NET to download an Attachment

edited Nov 27, 2011 6:27AM in CRM On Demand - Web Services Integration (MOSC) 1 commentAnswered
 Hello,

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>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center