AnsweredAssumed Answered

Filter type for relationships inside rest API call

Question asked by Rohan Gholap on Apr 1, 2016

I am using rest api for fetching data inside relationships.

Following way I am fetching the data.

 

https://{home url}//rest/v10/metadata?OAuth-Token=a0840d6d-8cc0-3321-39e6-56fe38b31180&type_filter=relationships

 

Using this API call, I am getting whole metadata under relationships but I want to get specific relationship data.

 

{

   "relationships":    {

      "account_activities":       {

         "join_key_lhs": "parent_id",

         "join_key_rhs": "activity_id",

         ----

         ----

      },

      "account_calls":       {

         "lhs_key": "id",

         "lhs_module": "Accounts",

      -----

      -----

      },

     }

}

 

I want to get data inside only "account_activities". So is there any filter type available ?

Outcomes