RetrieveBusinessHierarchyBusinessUnit Function

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Retrieves all business units from the business unit hierarchy.

This Web API function corresponds to the organization service RetrieveBusinessHierarchyBusinessUnitRequest.

RetrieveBusinessHierarchyBusinessUnit function does not require any parameters.

This function is composable. You can append OData system query $select option to the RetrieveBusinessHierarchyBusinessUnit function to control the data returned.

Bound Entities

Bound functions are invoked by appending the action name to the URI representing an entity or collection.

EntityType

Binding Type

businessunit EntityType

entity

Return Type

The RetrieveBusinessHierarchyBusinessUnit function returns the following value.

Type

Nullable

Description

Collection(businessunit EntityType)

false

Contains the results from the RetrieveBusinessHierarchyBusinessUnit function.

See Also

Use Web API functions
Web API EntityType Reference
Web API Action Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright