Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Reading JSON Payload from Postman to Business Central

(1) ShareShare
ReportReport
Posted on by
Hi All,
 
I am facing an error when trying to post a JSON payload from POSTMAN to Business Central.
 
I have copied the function "ReadJSON" from https://www.dvlprlife.com/2022/12/dynamics-365-business-central-read-a-json-file-with-al/ and using the same customer payload on the page.
 
Please attached the screenshots.
 
The error being encountered is below:
{
    "error": {
        "code": "BadRequest",
        "message": "The parameter 'Customer' in the request payload is not a valid parameter for the operation 'ExperimentsAPI_ReadJSON'.  CorrelationId:  49c0c920-0585-4dc6-9fe2-6bdddb2db9e7."
    }
}
 
Can anyone please advise or help. Thank you.
 
Regards,
AN
  • gdrenteria Profile Picture
    gdrenteria 13,116 Most Valuable Professional on at
    Reading JSON Payload from Postman to Business Central

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

    Codeunit API’s in Business Central – Kauffmann @ Dynamics 365 Business Central

    Best Regards
    Gerardo

  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 6,394 Moderator on at
    Reading JSON Payload from Postman to Business Central
  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 47 on at
    Reading JSON Payload from Postman to Business Central
    Hi, 
     
    Your procedure is expecting a string named JsonObjectText but you are sending with the name "Customer" in the payload.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans