Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Web service API - Patching Direct Debit Collection Entries

(0) ShareShare
ReportReport
Posted on by 5

Hi there,

I am trying to generate the Direct Debit Export for a 3rd party company. Creating the file is not the issue, but after it has been generated I was hoping to update the status field on the 

Direct Debit Collect. Entries entity to "File Created".
I am using Oauth2 to authenticate and calling the respective API setup in Web Services:
Header:
{
  "Content-Type""application/json;IEEE754Compatible=true",
  "If-Match""*"
}
Body:
{
  "Status""File Created"
}
The result being returned is:
{
  "error": {
    "code""BadRequest",
    "message""Control 'Status' is read-only.  CorrelationId:  *****."
  }
}
  • Wightfibre Profile Picture
    5 on at
    RE: Web service API - Patching Direct Debit Collection Entries

    Thank you so much :-)

    I don't suppose you have an easy way to replicate the existing Direct Debit Collections Entries page in order to set this to editable?

  • Suggested answer
    JAngle Profile Picture
    83 on at
    RE: Web service API - Patching Direct Debit Collection Entries

    In the UI that field can’t be edited by a user. Using that page as a web service will give the same result. You need a dedicated API page or codeunit to fulfil this requirement

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,009 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans