How to make a simple API call with a json reply in Business Central

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

2:40 "Now it's working like...

Never change, Erik.

notsuchabadguy
Автор

Thanks for making this video, helped me a lot!

jaserghasemi
Автор

Erik thanks again. Great explanation and thanks for sharing your experience and skill-set. Very interested to see how to parse more complex scenario and using the other Json datatypes like JsonArray. Wow keep up the very good work!

ibrahiemrasoelbaks
Автор

You saved my life thank you so much¡¡¡

soogood
Автор

Wonderfull video Erik. i'm waiting for other videos, in particular for BC Saas (ex upload files etc..)

eniine
Автор

Hi,
In my 'Response', there is no 'body' in it, just 'header'. Therefor no value or 'ip' field in it (ResponseTxt is empty). And it set IP is default value (127.0.0.1).
I am newbie, please help me when you have free time.
Anyway, thanks Erik!

shinyakiritani
Автор

Hi Erik, how can I call a REST API with Basic Authentication in BC. i was trying to find the syntax in httpclient but I could find any.

Emprosys
Автор

Thank you!
Could you please share some tips and tricks about working with Media?

antdte
Автор

Thank you for this video.
Do you know how to create deep insert api for OData? Is that possible without dotnet, and complex types which used dotnet?
I try to figure how, but without success. I want to get all item variants from item variants, item categories from item categories, for every item. But when I insert information from that pages, as a part on header Item page, as result I get only fields from 'header' page.

hariskorac
Автор

Thank you for the video. Do we get the real public Ip if we run within docker ?

anotherdev
Автор

Hi Erik, Do you have any videos on using Business Central Admin Center API? I can use Business Central API but I can't make it work trying to use the Admin Center API.

syscondev
Автор

Hi Erik is there any specific format available if i want to pass data in httpcontent with content type because when i add data in json or text i am getting response like value is not found so is it any format available which i need to follow?

tejalpanchal
Автор

Hi Erik,
Thanks for the knoledge, can you please share how we pass body(In Json format) request in API call

yogeshsonawane
Автор

The docs say the httpclient methods are asynchronous. How do I handle async in AL?

joeycarlisle
Автор

How can we access 2nd element 5th item instead of 1st element like array inside array in the place of 'ip' if we do have one more nested json element in this code only

akashram
Автор

00:03 Learn how to make a simple API call in Business Central
01:45 How to make a simple API call with a json reply in Business Central
03:20 To make a simple API call with a JSON reply in Business Central, we need to create a 'get ip' function and an HTTP client.
04:54 Making a simple API call in Business Central
06:27 The video discusses creating a JSON object and retrieving a specific field from it.
07:48 Creating a JSON token called result and accessing its value as text.
09:19 Retrieve JSON token from a specific field and convert it to a text value.
10:47 Calling a simple API in Business Central

KasimNaqvi
Автор

hello sir,
can you guide me how can i get Quickbooks API in business central

ScrollwithSpyder
Автор

Thanks, but I get 127.0.0.1 as my IP address. How can I connect my docker to my local network?

kenozakesy
Автор

Can you show how to post BC data to an external API?

pablohigueros
Автор

Can you please share an example of POST method with body as json.
As i'm still struggling in it.
Not getting where to pass request in the api call.

shailamodi