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

Find Field Name When posting thru API

(1) ShareShare
ReportReport
Posted on by 154
i'm trying to locate the actual field name I should use in my API journal post.
 
When I send my API t add a journal line I include a json object list of names and values.
Where can I find all the field names I should use in my JSON Object..
 
Example:
 
 Dim postdataje As New JObject
  postdataje.Add(/lineNumber/, /1000/)
  postdataje.Add(/department/, /ADM/)
 
I couldn't find (/department/, /ADM/) as the correct field name.
 
Thanks
 
 
 
I have the same question (0)
  • Aaron Bauldree Profile Picture
    19 on at
    A quick suggestion is to go into one of your journals and make an entry, ensuring you include data in the fields you're interested in, but don't post it. This way, you'll have lines stored in your journal. Once you have that, you can call the API to view all the records in the journal. This should help you identify the correct field names.

    You can also see the field names by looking at the page definition.
  • Suggested answer
    Dynamics_Decoded_Gokul Profile Picture
    483 on at
    Hi

    If your using Department as Dimension. then caption in the field may not be the same at the table. so ensure you add the field name as same in the table elements 

    Example for dimensions - "Shortcut Dimension 1"

    Thanks 
    Gokul
  • DS-15051354-0 Profile Picture
    154 on at
    Thanks for the suggested idea. I will try that

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,045 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans