0 Replies Latest reply on May 25, 2017 2:44 PM by Ja Shia

    Get object info (name, date created, etc) from reference field or primary key id field?

    Ja Shia



      I am building a script which performs a few calls using the Marketo REST API. An example URL would be:




      In this call I am able to retrieve reference IDs for the lead. Each ID is referencing another model/object in our database. I can see this information in our database view, and it looks something like this for leadRevenueStageId:


      Revenue Cycle Model: Revenue Model > SQL


      in non editable fields.


      Using the leadId and a parentId (reference field), how do I return the referenced object or information? Any help would be much appreciated.


      Thank you.