0 Replies Latest reply on Jun 8, 2016 10:26 PM by e6a29a9266da48998829ab3ccb602111f8b38099

    How to get custom objects

      Hi,

       

      Below is the description of my custom object (I have removed few of the fields for simplicity). What should be my request JSON if I have to query on tenantId?

       

      {

            "name": "subscription_c",

            "displayName": "Subscription",

            "idField": "marketoGUID",

            "dedupeFields": [

              "subscriptionidentifier"

            ],

            "searchableFields": [

              [

                "subscriptionidentifier"

              ],

              [

                "marketoGUID"

              ],

              [

                "tenantid"

              ]

            ],

            "relationships": [

              {

                "field": "tenantid",

                "type": "child",

                "relatedTo": {

                  "name": "Lead",

                  "field": "originatingTenantID"

                }

              }

            ],

            "fields": [

              {

                "name": "loginUserName",

                "displayName": "Login User Name",

                "dataType": "string",

                "length": 255,

                "updateable": true

              },

              {

                "name": "subscriptionidentifier",

                "displayName": "SubscriptionIdentifier",

                "dataType": "string",

                "length": 255,

                "updateable": true

              },

              {

                "name": "tenantid",

                "displayName": "TenantID",

                "dataType": "string",

                "updateable": true

              }

            ]

          }