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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Employee/Manager link to Department

(1) ShareShare
ReportReport
Posted on by 7

Hi There

I need some help working out who the manager is for a department using the web api.

When I get the info of the endpoint: https://mydomain.sandbox.operations.dynamics.com/data/Departments I get the following:

"@odata.etag""W/\"JzE4MzE4ODI3MDYsNjg3MTk1MjEyMjY7MCwwOzEsNjg3MTk0NzcxMzYn\"",
            "PartyNumber""000002782",
            "PrimaryContactPhoneIsMobile""No",
            "PrimaryAddressDescription""",
            "PrimaryContactEmailIsIM""No",
            "Name""Software Developer",
            "PrimaryContactEmailPurpose""",
            "Memo""",
            "PartyType""OperatingUnit",
            "PrimaryContactFax""",
            "PrimaryContactFaxExtension""",
            "PrimaryContactPhoneDescription""",
            "PrimaryContactTelexDescription""",
            "PrimaryAddressCountryRegionId""",
            "PrimaryAddressStreet""",
            "PrimaryContactFacebook""",
            "PrimaryAddressCity""",
            "OrganizationType""OperatingUnit",
            "PrimaryContactURLPurpose""",
            "PrimaryContactURLDescription""",
            "PrimaryAddressValidTo""1900-01-01T00:00:00Z",
            "PrimaryContactEmail""",
            "PrimaryContactTwitter""",
            "PrimaryContactTelex""",
            "AddressLocationRoles""",
            "PrimaryContactURL""",
            "PrimaryContactPhonePurpose""",
            "PrimaryContactFaxPurpose""",
            "PrimaryAddressZipCode""",
            "SearchName""Software Developer",
            "PrimaryContactFacebookDescription""",
            "Language""",
            "PrimaryContactFacebookIsPrivate""No",
            "OperatingUnitTypes""OMDepartment",
            "PrimaryContactTwitterIsPrivate""No",
            "PrimaryAddressCounty""",
            "PrimaryContactTelexPurpose""",
            "PrimaryContactTwitterDescription""",
            "PrimaryContactFacebookPurpose""",
            "KnownAs""",
            "PrimaryAddressState""",
            "PrimaryContactLinkedInIsPrivate""No",
            "PrimaryContactTwitterPurpose""",
            "PrimaryAddressValidFrom""1900-01-01T00:00:00Z",
            "PrimaryContactLinkedIn""",
            "PrimaryContactLinkedInPurpose""",
            "PrimaryContactFaxDescription""",
            "PrimaryContactPhoneExtension""",
            "PrimaryContactPhone""",
            "PrimaryContactEmailDescription""",
            "PrimaryContactLinkedInDescription""",
            "PrimaryAddressCountryRegionISOCode""",
            "OperatingUnitNumber""253"
On the platform I have a manager for this Department but cannot see it in the api. Is there a different end point i should be looking at?

Any help would be appreciated.
Regards
I have the same question (0)
  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi JacquesSA,

    Are you looking for department manager or employee's manager?

    If you are looking for employee's manager then you can see below post.

    paragchapre.com/.../

    If you can show me where you can find the department manager then I can help you to find the right API's.

  • JacquesSA Profile Picture
    7 on at

    Hi Parag

    Thank you for getting back to me.

    I'll only have time tomorrow to look at it in detail and will revert back. That however is getting data from the tables.

    I'm currently using the OData web api found at mydomain.sandbox.operations.dynamics.com/.../, so I'm limited to the endpoints available there.

    If you dont mind, please let me know in the meantime as to where I can find the department manager as well.

    Thank you.

    Regards

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 518 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 431

#3
Adis Profile Picture

Adis 280 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans