Forum Discussion

tanjum_shaikh_altegra_se's avatar
3 months ago
Solved

For API GET call, not receiving item type in the payload for custom part.

Hi, We have following scenario, If I do a get call for Part or Requirement, I'm receiving the respective item-types id as  'itemtype':'id' in payload. But if I do get call for a custom Item I'm not...
  • christopher_gillis's avatar
    3 months ago

    Hello,

    My best guess for this behavior is that the re_Requirement and Part ItemTypes are Poly Sources for a bigger Poly ItemType . At the very least, OOTB both of these ItemTypes have Secure Social enabled on them which automatically  makes them poly sources of the SSVCItems Poly ItemType.

    If there's a strong reason you need the itemtype ID in your responses, you can try enabling Secure Social on your custom ItemType. That worked in a quick test in my local instance. If you don't need the itemtype ID though, you can safely ignore this difference in functionality.

    - Chris