Getting exchange rates from a JSON web service in Business Central

  Рет қаралды 6,077

Erik Hougaard

Erik Hougaard

Күн бұрын

Пікірлер: 31
@michaelkraithat4852
@michaelkraithat4852 3 жыл бұрын
Thanks Erik, always wanted to know how to obtain data from JSON external web services… now I can apply this format to other area of BC as needed. Awesome video. 👏🏽
@stevet.7218
@stevet.7218 2 жыл бұрын
The content is on point as always - thanks so much Erik! Regards from Austria
@eduschimu
@eduschimu 2 жыл бұрын
Thank you for this video! Very helpful.
@oldsing-a-longsongs965
@oldsing-a-longsongs965 Жыл бұрын
Good video. One question. Can this also be done in the normal Business Central GUI using Data Exchange Definition, Currency Exchange Rate Services etc.. ? Rather than in an extension?
@Hougaard
@Hougaard Жыл бұрын
You can try, not all formats can be consumed by the standard service
@oldsing-a-longsongs965
@oldsing-a-longsongs965 Жыл бұрын
Is there a tutorial for that?
@michaelkraithat4852
@michaelkraithat4852 3 жыл бұрын
If another Rest API provider do not provide ‘date’ in the rest call. How do I replace your current set up to take the todays date instead? Hope this makes sense.
@Hougaard
@Hougaard 3 жыл бұрын
Depends on the other web service?
@michaelkraithat4852
@michaelkraithat4852 3 жыл бұрын
@@Hougaard thank, just realised that the other web service will required a paid service to have Date shown and base currencies. Now it’s working fine after getting the paid version. Much appreciated for replying. Keep making cool videos. 👍🏼
@anujchaudhary6985
@anujchaudhary6985 3 жыл бұрын
In my condition i did not find the root element of the Json file what should i do ?? please tell
@Hougaard
@Hougaard 3 жыл бұрын
How does your json look?
@anujchaudhary6985
@anujchaudhary6985 3 жыл бұрын
Thanks for your reply Erik...but i solved it that was a Array json which have 5 key elements
@siddharthbhavsar3295
@siddharthbhavsar3295 3 жыл бұрын
I am getting this { "success": false, "error": { "code": 101, "type": "missing_access_key", "info": "You have not supplied an API Access Key. [Required format: access_key=YOUR_ACCESS_KEY]" } } while accessing the website so how can I overcome this issue ?
@Hougaard
@Hougaard 3 жыл бұрын
No idea? I have ever seen that error? Check here github.com/openratesapi/openrates
@siddharthbhavsar3295
@siddharthbhavsar3295 3 жыл бұрын
@@Hougaard thank you
@anujchaudhary6985
@anujchaudhary6985 3 жыл бұрын
@@siddharthbhavsar3295 Same error brooo.....Did u find the solution???/
@siddharthbhavsar3295
@siddharthbhavsar3295 3 жыл бұрын
@@anujchaudhary6985 yes I found the solution by using given link from EH.
@anujchaudhary6985
@anujchaudhary6985 3 жыл бұрын
@@siddharthbhavsar3295 EH??. Please share with me that link
@guidorobben6259
@guidorobben6259 3 жыл бұрын
Nice one. Maybe also make an video how to update to a json webservice?
@ayoubbns6903
@ayoubbns6903 3 жыл бұрын
Thank you very much for the video, could you please tell me why i am not able to convert jsonTken to JsonObject?
@Hougaard
@Hougaard 3 жыл бұрын
yourtoken.AsObject() doesn't work?
@ayoubbns6903
@ayoubbns6903 3 жыл бұрын
@@Hougaard Thanks for the reply:: yeh indeed it dosen't work but I have used -rates.SelectToken(recCurr.Code, CodeCurr) instead and looks good now
3 жыл бұрын
Great Erik. I love your videos. They are crystal clear and they solve a lot of doubts. Just one question. What about if you need to authenticate to the web service with Basic Auth? Ta.....
@Hougaard
@Hougaard 3 жыл бұрын
Then you need to add an Authorization header.... to the HttpMessasgeRequest
@cnclover
@cnclover 3 жыл бұрын
Thank you! Can you tell as about events in your next video's?
@Hougaard
@Hougaard 3 жыл бұрын
Which ones?
@cnclover
@cnclover 3 жыл бұрын
@@Hougaard Events, which switch off standard code and working your extension code.
@10GIZChipashvili
@10GIZChipashvili 3 жыл бұрын
Thank you, I found this video very usefull
@PerfumoPeru
@PerfumoPeru 2 жыл бұрын
It's not free anymore :(
@Hougaard
@Hougaard 2 жыл бұрын
I know, I think you can find another video on the channel where I switch to another provider.
FlowFields, the superpower inside Business Central.
25:45
Erik Hougaard
Рет қаралды 10 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Use RecordRefs to create a Search App in Business Central
29:10
Erik Hougaard
Рет қаралды 4,5 М.
Become a Business Central API Superhero
16:20
Dennis Fredborg
Рет қаралды 4 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 671 М.
UI Hacks with Javascript in Business Central
24:01
Erik Hougaard
Рет қаралды 7 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН