Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Execute multiple requests in a single database transaction with OData and PHP

Posted on by Microsoft Employee

I have an application developed in PHP which is already able to execute requests onto Microsoft Dynamics CRM using OData.

Now, what I need is to execute requests in a single database transaction by using a single web service method call. Here's the related Microsoft developer documentation stating how to achieve this with C#: Sample: Execute multiple requests in transaction

How can I implement this behavior with PHP and OData?

*This post is locked for comments

  • Verified answer
    Shaminderpal Singh Profile Picture
    Shaminderpal Singh 1,565 on at
    RE: Execute multiple requests in a single database transaction with OData and PHP

    Hi,

    You can use batch in ms crm web api and add all your operations in changesets.

    Refer this-docs.microsoft.com/.../execute-batch-operations-using-web-api

    -Shaminder

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans