Announcements
Hi Folks,
I have one of the scenario where I am creating a header and lines in one shot using business central custom API.
I tried to refer couple of blogs example:
https://www.kauffmann.nl/2021/01/06/batch-calls-with-business-central-apis-3-tips-and-tricks/
https://www.kauffmann.nl/2020/05/05/deep-insert-with-business-central-apis/
https://www.kauffmann.nl/2020/12/18/batch-calls-with-business-central-apis-1-basic-operation/
But I am unable to get correct response.
This is the body I am passing
Below is the response I am receiving
Kindly advise what is the correct step to use batch and deep insert together.
I followed same steps using business central standard API but still receiving same response.
Hi
The example which you gave is for the Deep insert.
I want to use batch and deep insert together in one single request.
I want to create a Purchase Header and multiple lines together in one shot how would I be able to achieve this?
Hi
I'll give you an example using the standard salesInvoices API
GET:
this is the response
POST:
insert in the body request this for example:
André Arnaud de Cal...
293,361
Super User 2025 Season 1
Martin Dráb
232,516
Most Valuable Professional
nmaenpaa
101,158
Moderator