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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Possible to deep insert on custom table and to get response from bound action?

(0) ShareShare
ReportReport
Posted on by

Hi!

I wonder...

We know that you can create a custom API and create Data trough deep insert calls.

We now have the case that we would need a Create call in which all records will be create and at the end we would receive one single base64 string with all the created records in it.

The POST call to business central should look something like this:

  • The request creates several new QR-Label records with the mentioned data underneath.
  • The individual records correspond to a single label, all created labels must finally be received in a single Base64 string as response.
{
    "sequence": "10000",
    "createLabelPDF": [
        {
            "itemNo": "100003",
            "quantity": 5, 
            "showSalesPrice": true,
            "showProductImage": true,
            "showQRCode": true,
            "copies": 5,
            "type": "50100"
        },
        {
            "itemNo": "100005",
            "quantity": 8, 
            "showSalesPrice": true,
            "showProductImage": true,
            "showQRCode": true,
            "copies": 1,
            "type": "50100"
        },
        {
            "itemNo": "1000010",
            "quantity": 1, 
            "showSalesPrice": true,
            "showProductImage": true,
            "showQRCode": true,
            "copies": 3,
            "type": "50112"
        }
    ]
}

response something like:

{
    "value": "JVBERi0xLjcNJcjIyMjIyMgNMSAwIG9iagpbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXQ0KZW5kb2JqCjIgMCBvYmoKPDwvVHlwZS9QYWdlL1BhcmVudCA5IDAgUi9NZWRpYUJveFswIDAgMjgzLjQ2NSAxMDQuODgyXS9Db250ZW50cyA4IDAgUi9SZXNvdXJjZXM8PC9Qcm9jU2V0IDEgMCBSL1hPYmplY3Q8PC9JbT...
Is this possible ?
Thank you so much for your help
I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

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 July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 524 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 399 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 354 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans