Skip to main content


Business Central forum
Suggested answer

How to Expand contactInformation on REST API

Posted on by 4

I'm trying to get the contactInformation object on a Contact object on the REST API in BC.  with url /https:/{{Environment}}/api/v2.0/companies({{CompanyId}})/contacts?$expand=contactInformation/

This is giving this error:

{/error/:{/code/:/Application_DialogException/,/message/:/id type not specified.  CorrelationId:  3ba38e95-5c91-4169-b813-05caf38a52cb./}}Any help would be great!  TIA
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 62,631 Super User on at
    How to Expand contactInformation on REST API
    Hi, This requires setting Related Id first.
    For exmple$expand=contactInformation($filter=relatedId eq 09acf76a-a414-ef11-9f88-000d3a50c332)
    Hope this helps.
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 12,820 User Group Leader on at
    How to Expand contactInformation on REST API
    You need to choose the contact using id and then use expand.
    How to use $expand -
    Saurav Dhyani
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 4,071 Super User on at
    How to Expand contactInformation on REST API
    I certainly haven't had any problems getting the contact list with this URL.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,737 Super User

Martin Dráb Profile Picture

Martin Dráb 225,254 Super User

nmaenpaa Profile Picture

nmaenpaa 101,146


Featured topics

Product updates

Dynamics 365 release plans