2 Replies Latest reply on Aug 10, 2016 3:57 PM by drlang316

    API call to get Assets by Client ID or Username

    leecarpenter

      I'm trying to format my API call to return the Assets assigned to a client by looking up by Client ID or Username. The following is what I get when searching: /ra/Assets?qualifier=(client.id=1)&username=***&password=***

       

      sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol. (client.id = 1) failed because attribute identified by key 'client.id' was not reachable from from entity 'Asset'.

       

      I suspect it has to do with the returned value being an array of clients. Is there a way to get this information to return?

       

      Thank you in advance