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

Announcements

No record found.

News and Announcements icon
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 154
I want to create a Journal Entry using ODATA. Is that possible? How would I create it in my sandbox.?
 
Thanks
  • Suggested answer
    Gerardo Rentería García Profile Picture
    27,623 Super User 2026 Season 2 on at
  • DS-15051354-0 Profile Picture
    154 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
    103,712 Super User 2026 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
    154 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 741 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 514 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 336 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans