Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to archive C4C all attachment to local server

Hi expect,

Is there any way I can archive C4C attachment to local server?

Please advise.

Thank

Raymond

Former Member
Former Member replied

Hello Raymond

for example if you search for the opportunity using odata service - you will get result something like this

<link href="OpportunityCollection('00163E04B6021EE2B3C2A1CEA2FDAFE1')/OpportunityAttachment" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OpportunityAttachment" type="application/atom+xml;type=feed" title="OpportunityAttachment"/>

<m:properties>

<d:AccountID>10005</d:AccountID>

<d:AccountName m:type="c4codata.ENCRYPTED_LONG_Name">

<d:languageCode>E</d:languageCode>

<d:content>FutureVision</d:content>

</d:AccountName>

<d:AccountUUID>00163E03-A070-1ED2-8B9D-AF815863501D</d:AccountUUID>

<d:ApprovalStatusCode>1</d:ApprovalStatusCode>

<d:ApprovalStatusCodeText>Not Started</d:ApprovalStatusCodeText>

<d:CategoryCode/>

<d:CategoryCodeText/>

here you can find the link for attachement for a particular opportunity like shown below -

https://<c4c tenant./sap/byd/odata/v1/c4codata/OpportunityCollection('00163E04B6021EE2B3C2A1CEA2FDAFE1')/OpportunityAttachment

if you follow this link you will get attachments in base64 encoded binary.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question