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

Notifications

Announcements

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
    137 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

News and Announcements

Season of Giving Solutions is Here!

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#3
YUN ZHU Profile Picture

YUN ZHU 748 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans