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

Find Field Name When posting thru API

(1) ShareShare
ReportReport
Posted on by 152
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
    463 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
    152 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

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,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans