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...
Suggested Answer

Business Central Opportunity - 5124 web service ,creating line item is not working

(0) ShareShare
ReportReport
Posted on by

Hi I hav created a web service Opportunity - 5124 and publish, was able to create opportunity but not able to create line items through API post method.

REQ-

{
    "Description""Test test",
    "Contact_No""CT000004",
    "Salesperson_Code""JO",
    "Priority""Normal",
    "Sales_Cycle_Code""NEW",
    "OppCardControl25": [
        {
            "Entry_No"3,
            "Active"true,
            "Action_Taken""Won",
            "Sales_Cycle_Stage"0,
            "Sales_Cycle_Stage_Description""",
            "Days_Open"0,
            "Estimated_Value_LCY"5500,
            "Calcd_Current_Value_LCY"5500,
            "Completed_Percent"100,
            "Chances_of_Success_Percent"100,
            "Probability_Percent"100,
            "Close_Opportunity_Code""CONSULT_W"
        }
    ]
}
  • Suggested answer
    JAngle Profile Picture
    159 on at

    In the regular UI you cannot do that so the web service does the same. If you want to bypass the regular UI logic you’ll need a custom page or api page - latter being the preference at this point in time

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 739 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 462 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 406 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans