Skip to Content

Import permissions from SAP Marketing Cloud

Hello community

I hope you're doing well and safe,

Please i want to know if there's a way to export permissions from SAP Marketing,

BR,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 16, 2020 at 06:04 PM

    Hi Soufiane Chaibi. Yes, you can do that using the API_MKT_CONTACT_SRV. You can find the documentation here.

    An example GET URL for a specific contact could be something like this:

    https://{tenant_url:port}/sap/opu/odata/sap/API_MKT_CONTACT_SRV;v=0002/ContactOriginData(ContactOrigin='<CONTACT_ORIGIN>',ContactID='<CONTACT_ID>')/MarketingPermissions?$format=json

    You can also see some other examples here.

    Let me know if you need more help. Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 16, 2020 at 06:50 PM

    Hey Soufiane,

    in addition to what Bruno already mentioned, if you have to extract large data amount to provide it to external systems (not only permission data), check that blog on CX Works.

    Therefore the Cloud Data Integration API is used.

    For your example you could use the CDS View I_MKT_EXPLICITPERMISSION. A call to check the metadata would look like this https://my123456-api.s4hana.ondemand.com/sap/opu/odata4/sap/cdi_cds/cdi_cds/sap/i_mkt_explicitpermission/0001/$metadata

    BR Tobias

    Add a comment
    10|10000 characters needed characters exceeded