Forum Discussion
Hi Arnaud,
You should be able to do this by querying the "ItemType" ItemType, and returning the "relationshipType" relationship. More in depth information about how to create queries like this can be found in this blog post.
AJ
- Former_Member6 years agoAccelerator III
Hi Sebastian,
Thank you for the answer, I'm already using this blog but I didn't find the answer... What is the url used to perform this task ? I already tried plenty of things.
I should start with : localhost/.../
But then how can I add "relationshipType" to get the list I need ?
I often get the error message "notImplemented".
Best regards
- cogres6 years agoCreator III
Hi Arnaud,
your request should look something like this
GET <URI for your Aras Installation>/server/odata/ItemType('<ID for the ItemType you want to query>')/RelationshipType
You will need to replace <URI for your Aras Installation> in the URI with the path for your Aras installation (like http://localhost/InnovatorServer) and the given <ID for the ItemType you want to query> with the ID of the ItemType you want to know the RelationshipTypes for.
Is this what you need?
- Former_Member6 years agoAccelerator III
Hi cogres,
Probably, but it returns "value": [].
I have an url like this one :
Airbus_cabin_configuration('AB0358B1D3774D77AC507CA1F857F42E')/RelationshipType
It should return Cabin_seat, Cabin_Lavatory ... that are saved in "RelationshipTypes" in the ItemType, but it doesn't. I don't understand what is wrong.
Best regards.