web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Using ODATA to create a Journal Entry

(1) ShareShare
ReportReport
Posted on by 152
I want to create a Journal Entry using ODATA. Is that possible? How would I create it in my sandbox.?
 
Thanks
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,373 Most Valuable Professional on at
  • DS-15051354-0 Profile Picture
    152 on at
    Thanks that helped. I do have a question I want to create a new Journal so it looks like I first have to obtain a Journal Object is that correct. Sorry I am pretty new to this stuff.
     
    looking at the doc. I found the following to create a new Journal.
     
    POST https://{businesscentralPrefix}/api/v2.0/companies({id})/journals
     
    not sure what the id's represents in companies{id}. Is that just the enviroment name such as a sandbox I have setup in BC?
     
    If not where do I get the id?
  • Suggested answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at
    Hi, no, this is the Company's ID. You can get it by Get companies API.
     
    Hope the following helps.
    Standard API for Dynamics 365 Business Central SaaS (Get, Post, Patch, Delete and Basic query parameters – filter, orderby, select…)
     
    Thanks.
    ZHU
  • DS-15051354-0 Profile Picture
    152 on at
    Thanks you been a big help. It worked great.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans