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

Unable to see employees added using the API

(0) ShareShare
ReportReport
Posted on by 5

Hi 

I have a Dynamic 365 Business Central account and I have tried the Employee related APIs listed here : https://docs.microsoft.com/en-us/dynamics-nav/api-reference/v1.0/resources/dynamics_employee

While I was trying the APIs, I have created employees for different companies I could retrieve.
I was able to retrieve the employee records as well using the GET API.
But when I check on the UI I'm unable to see the employees I have added.

{
"@odata.context": "https://api.businesscentral.dynamics.com/v2.0/218d0f51-38c4-4524-b240-b5b3670f51ec/Test/api/v1.0/$metadata#companies(dcd55d18-11a8-eb11-bb60-00155df3a615)/employees",
"value": [
{
"@odata.etag": "W/\"JzQ0O0Z5bDNaYlI2bHAyTnpTWWllRllqWTdrZmZnWXdIeUZ4ZUluay9ZS3AvK2M9MTswMDsn\"",
"id": "fa71e822-1fb7-eb11-9b52-000d3af01f5e",
"number": "AH",
"displayName": "SimranTest2 Hill",
"givenName": "SimranTest2",
"middleName": "",
"surname": "Hill",
"jobTitle": "Production Assistant",
"phoneNumber": "4465-4899-4643",
"mobilePhone": "4564-4564-7831",
"email": "",
"personalEmail": "test@xyz.com",
"employmentDate": "2001-06-01",
"terminationDate": "0001-01-01",
"status": "Active",
"birthDate": "1973-12-12",
"statisticsGroupCode": "",
"lastModifiedDateTime": "2021-05-17T14:49:53.347Z",
"address": {
"street": "677 Fifth Avenue",
"city": "New York",
"state": "",
"countryLetterCode": "",
"postalCode": "10022"
}
},
{
"@odata.etag": "W/\"JzQ0OzZIZUxBdkU4UHl0b21LU1BKRzYzNSthT2NsN2NyWm5DdkdoUmhzZ0JyMnc9MTswMDsn\"",
"id": "5085c14d-13a8-eb11-bb60-00155df3a615",
"number": "EH",
"displayName": "Ester Henderson",
"givenName": "Ester",
"middleName": "",
"surname": "Henderson",
"jobTitle": "Secretary",
"phoneNumber": "4465-4899-4643",
"mobilePhone": "4564-4564-7831",
"email": "",
"personalEmail": "eh@cronus-demosite.com",
"employmentDate": "1996-06-01",
"terminationDate": "0001-01-01",
"status": "Active",
"birthDate": "1963-12-12",
"statisticsGroupCode": "",
"lastModifiedDateTime": "2021-04-28T11:17:39.787Z",
"address": {
"street": "5 Russel Street",
"city": "",
"state": "",
"countryLetterCode": "",
"postalCode": ""
}
}
.....
}

Screenshot-2021_2D00_06_2D00_07-at-7.06.13-PM.png
I have the same question (0)
  • JAngle Profile Picture
    133 on at

    Are you accessing the same tenant, database and company from the UI as used in the api call? If you get a 200 message back from the api the records will be there.

  • SimranKhokkar Profile Picture
    5 on at

    Yes I am accessing the correct company and I have a single account. By tenant do you mean the environment?

    Also there are some default employees present and I'm able to retrieve those records, so certainly the tenant, database and company have to be correct.

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 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans