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

  • Community Member Profile Picture
    on at
    RE: How to use AddItemCampaignRequest using web api in MS CRM 2016

    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.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to use AddItemCampaignRequest using web api in MS CRM 2016

    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
    RE: How to use AddItemCampaignRequest using web api in MS CRM 2016

    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
    RE: How to use AddItemCampaignRequest using web api in MS CRM 2016

    Hello,

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans