relationshipType api rest

Hi community,

I'm trying to get the list of all the relationshipTypes of an ItemType thanks to the REST API.

Is this possible ?

Thanks for any help !

Arnaud

Parents Reply
  • Hi Arnaud,

    I see the confusion now. You're querying the "airbus_cabin" ItemType. What you actually want to do is query the "ItemType" ItemType. The airbus_cabin itemtype has no relationship titled relationshipType, and therefore you're getting this empty array. It's also important to note that the ID you need to pass in is the ID of the airbus_cabin itemtype.

    Also appending ?$select=name to the end of that query will make it easier to parse. 

    AJ

Children