Return Linked Entity IDs in API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bradaks
    Active Community Member
    • Aug 2017
    • 251

    Return Linked Entity IDs in API

    Good day all,

    Is there a way to get the linked entity IDs via the API? I have a many to many relationship and I cannot get the API to pull any of this information. Thanks so much!
  • dimyy
    Active Community Member
    • Jun 2018
    • 569

    #2
    Try to use request like account - contacts:

    /api/v1/Account/5b8faebcd089708af/contacts?primaryFilter=&select=id

    '5b8faebcd089708af' - Account ID

    Comment

    • bradaks
      Active Community Member
      • Aug 2017
      • 251

      #3
      dimyy The problem with this is we are trying to get all records returned. We have a custom entity that has a many-to-many relationship with Contacts. When we pull the api for that custom entity there are no contacts pulled.

      Comment

      • bradaks
        Active Community Member
        • Aug 2017
        • 251

        #4
        Has anyone figured this out? Thanks!

        Comment

        Working...