web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to use AddItemCampaignRequest using web api in MS CRM 2016

(0) ShareShare
ReportReport
Posted on by

Hello There,

We are trying to associate Marketing List to a Campain using web API in MS CRM 2016 and while normal association it doesn't allows, can someone guide us how to use AddItemCampaignRequest using web API in ms CRM.

We tried below request but it shows error-"Request message has unresolved parameters."

Request:-

api/data/v8.1/campaigns(8168F9A2-7027-E811-80FA-6C626DCF4746)/Microsoft.Crm.AddItemCampaignRequest

Parameters:

{

"CampaignId": "8168F9A2-7027-E811-80FA-6C626DCF4746",
"EntityId" :"2B46C447-2A75-E811-A2C8-F8BC12A3DCEC",
"EntityName": "list"
}

Thank you!

Bhausaheb Patil

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Check my post how to use AddItemCampaign action in WebApi - butenko.pro/.../how-to-add-item-to-campaign-using-webapi

  • Community Member Profile Picture
    on at

    Thank you so much, it worked.

    Can you please advise where we can find the help this type of transaction for web API?

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I'm not sure what the question is. I just checked /api/data/v8.1/$metadata , found AddItemCampaign action there and experimented. You can find here what I tried - butenko.pro/webapi-examples-index

  • Community Member Profile Picture
    on at

    Hello Andrew,

    Can you also suggest how can I use "RemoveItemCampaignActivity" action using web api to remove the association of list with CampaignActivity?

    Similarly, I wanted a sample for "DistributeCampaignActivity".

    Regards,

    Hrishikesh Joshi.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans