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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Using New Web Service - Deferral Schedules

(0) ShareShare
ReportReport
Posted on by 1,105

I created a new web service to the "Deferral Schedule" Page (Page # 1702). When I call into the service, I get the following:

api.businesscentral.dynamics.com/.../DeferralSchedule

    "error": {
        "code""Internal_RecordNotFound",
        "message""The Deferral Header does not exist. Identification fields and values: Deferral Doc. Type='Purchase',Gen. Jnl. Template Name='',Gen. Jnl. Batch Name='',Document Type='0',Document No.='',Line No.='0'  CorrelationId:  0ea67eba-2905-4bb6-8be0-840383fd6b51."
    }
I've also tried passing in the various parameters:
api.businesscentral.dynamics.com/.../DeferralSchedule Doc. Type=Sales&Gen. Jnl. Template Name=&Gen. Jnl. Batch Name=&Document Type=2&Document No.=CB00234&Line No.=10000
I get the same error.
I feel like the parameter names are incorrect, but I can't figure out how to get the correct names. Any help would be greatly appreciated. Thanks in advance!!
I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    150 on at

    Parameter names should have underscores, so Doc_Type and they are case sensitive too. Do a GET to establish and understanding of the parameters or check the custom page and use the caption value

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,870 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,138 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 915 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans