Hi everyone!
I am using Microsoft.OData.Client and Microsoft.Dynamics.DataEntities to programmatically access elements from D365 using OData, such as access Sales Orders and creating them.
I would like to access a customer's addresses, with all address information including some customisation fields that we have included. Using the D365 portal, this can be done by viewing all customers, finding the desired customer and clicking on them, viewing their details (there is a subsection called Addresses), clicking Advanced, and a list of all address details are presented as shown below:
Using the OData library, how can this information be accessed? I have tried to get the customer object using Customers, CustomersV2, and CustomersV3 Entities, but none of them have a list of addresses that I can access. Is there another way?
Thanks in advance!