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...
Answered

Odata service to access timesheets lines/detail

(0) ShareShare
ReportReport
Posted on by 5

I started a Microsoft Business Central trial period to test various Odata services (for example read and write "Sales order" "Jobs" and "Timesheet" objects) in preparation for a new installation. I need to understand if an integration is possible with our existing software.

Some services are working ok: reading the list of the Jobs returns the expected result, but the Timesheet object is returning an empty list.

I performed the setup as per the documentation: defined timesheet administrator, resources, Jobs.

Via browser application I can also create timesheet entries and approve them, but the service (object ID 951/952) keep giving back an empty response.

I've defined the odata services through the "Web services" page setup:

created two services of type "Page", object ID 951 and 952, set the Published flag.

Posting a GET HTTP request in Postman with the URL:

api.businesscentral.dynamics.com/.../Timesheet952

gives the following response

{
    "@odata.context": "">api.businesscentral.dynamics.com/.../$metadata,
    "value": []
}

I'd like to understand if

  • whether the timesheet integration is feasible or not
  • if the trial account has any limitations (I have found no informations in this sense)
  • what can I do to understand what's going wrong (any log or checks i can investigate)

Thanks for any help

MB

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    If the credentials are correct and you're working on the right company, you should see data.

    The integration is possible, my suggestion is to create a dedicated API page (very easy to create with AL) instead of publishing the id 950/951 pages.

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

#2
YUN ZHU Profile Picture

YUN ZHU 931 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