Skip to main content
Community site session details

Community site session details

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

Not able to get response and QR code for my Json data

(3) ShareShare
ReportReport
Posted on by 80
Can any one help me, please  Urgent
 
=====================
 
I am  not getting response neither QR code
I have valid JSON input.
 
Please  help
With lines of code corrected, I am using token for authentication.
 
  • Suggested answer
    YUN ZHU Profile Picture
    85,982 Super User 2025 Season 1 on at
    Not able to get response and QR code for my Json data
    Hi, If you are going to display HTML in BC, hopefully the following information will give you some tips.
     
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    20,949 Most Valuable Professional on at
    Not able to get response and QR code for my Json data

    Hi, good day
    I hope this can help you, and give you some hints.

    Parse HTML TABLE Header and Body

    Best Regards
    Gerardo

  • KK-21020735-0 Profile Picture
    80 on at
    Not able to get response and QR code for my Json data
    With the following code I am getting HTML output
    not able to get JSON out put
    ====================
     ClientHeaders := Client.DefaultRequestHeaders();
            ClientHeaders.Clear();
            ClientHeaders.Add('Accept', 'application/json');         // for expected response
            ClientHeaders.Add('Authorization', 'Bearer ' + mrasetup."Bearer Token");   // if t
    ===========================================
    Please advice how to json output like this
    -------------------------------------
    {"responseId":"LT17502206653768363156982","responseDateTime":"20250618 08:24:25","requestId":"8d9d26f0-35ee-44b3-b8a2-e0d5ee050e38","status":"SUCCESS","environment":"TEST","infoMessages":null,"errorMessages":null,"fiscalisedInvoices":[{"invoiceIdentifier":"103253","irn":"STD28UD-7182c5fc-f752-3af9-af31-d23f27b1b981","qrCode":"iVBORw0KGgoAAAANSUhEUgAAAV4AAAFeAQAAAADlUEq3AAACAklEQVR4Xu2ZMZbCMAxEzaOg5Ag+yh6NHC1HyRFSUvDWqxk5Qcs+9tFEbmaagPxFM29kO5T2uR7ltfKPBEcJjhIcJThKcJTgKMFRHV6Lq1rl1Mpttg/t29bmvnATnA9f+JjrejG4TV/L9V72rtYED4EfsCkssR0VMxddgsfBvlTg4JmxEjwebvczvhuDiuCxMB9YMuMoDr0WgiY4G3agwDj4RQf5oS8IzoefuhdPU/Oj2i8JjjocdgfpF/adCd9s6IWdSHA+zBDZEkfcFiLvwhh8GYyCM+BGm7j02C417mDvogTnwrj1m5boF6zETrQPPcG58L14iPzWj3w9bzeFvyM4G+b52Yxbrl6eqwet8cz2EivBSbD7ZUKIvIux6r8jeAyMWDFN8Gveu1q3UnA+7IeBUlEJQw9W+lsawSNgGNfgYE8TrbT2FbcbwWPgE2Zd9Sry1UfcwiunS3AyjMlWjOkOAkalOwhPBafDcNDfydgSLph+0zShi5DgXHiXT7YJ+WL7VqEEp8Lcbkx1xU7kseKHub45Pws+HvbKXFEpOD9f8Z6fDv6JleAs+OnXthOdt1nX8yV4GNyZ2q3EpQYdgkfC8AtM6f/so/19rAQfCvNh8HbTbDwVWL449ASPgGEW/WLX9GUOFlg5o0pPBWfDn0lwlOAowVGCowRHCY4SHHUg/AO1xTF3/J2dzwAAAABJRU5ErkJggg==","status":"SUCCESS","warningMessages":null,"errorMessages":null}]}
    ---------------------------
  • KK-21020735-0 Profile Picture
    80 on at
    Not able to get response and QR code for my Json data
    Actually , my Question was different.
    Sohail, You have already answered  for my another post.
    My Problem is  that I am working on e-Invoice concepts
    we  submit invoice data to middleware  , in turn it gives Html file without QR code.
    we should collect QR code and store in table to print Invoice for customer.
    in reply we are getting HTML file/data neither QR nor Json
     
    check the file attached. tell me where the mistake
    Warm Regards
     
     
     
  • Suggested answer
    Sohail Ahmed Profile Picture
    4,829 on at
    Not able to get response and QR code for my Json data
    Adding more details : https://yzhums.com/56046/
     
     
    ✅ Mark this answer as verified if it helps you
  • Suggested answer
    YUN ZHU Profile Picture
    85,982 Super User 2025 Season 1 on at
    Not able to get response and QR code for my Json data
    I think I saw a similar question yesterday.
    First of all, it is not clear what format the QR Code you obtained is, and your requirements are not very clear.
    Hope the following can give you some helps.
    Dynamics 365 Business Central: Generate barcode through external services/APIs (Telepen, Swiss QR Code, QR codes with colors, images or text……)
     
    Thanks.
    ZHU
  • Suggested answer
    RockwithNav Profile Picture
    7,241 on at
    Not able to get response and QR code for my Json data
    Preety long code, Is there any error message?

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans