Retrieve all data objects

Retreives all data objects for the tenant.

Request Method Service URL

GET

/api-metadata/v1/{access-key}/metadata/tables

Request Headers

Content-Type=application/json

Request URL Example

http://{AccountURL}/api-metadata/v1/e2a7a0df2410470d85ef69c8dad2bdb8/metadata/tables

Response Body Example

[
  {
    "tenantId": 100,
    "name": "Subscription",
    "versionTS": 1579112491089,
    "active": true,
    "lastModifiedBy": "system",
    "createdTS": 1562190911732,
    "bucketingStrategy": {
      "fieldName": "ID",
      "numberOfBuckets": 4
    },
    "tablePrimaryKey": "ID",
    "sourceAttribute": "SourceSubscriptionID",
    "scope": "DW",
    "insertOnly": false,
    "tableId": "Subscription",
    "categoryId": "Product",
    "resourceName": "subscriptions"
  },
  {
    "tenantId": 100,
    "name": "Social Identity",
    "versionTS": 1579112491838,
    "active": true,
    "lastModifiedBy": "system",
    "createdTS": 1562190912166,
    "bucketingStrategy": {
      "fieldName": "ID",
      "numberOfBuckets": 4
    },
    "tablePrimaryKey": "ID",
    "sourceAttribute": "SourceSocialIdentityID",
    "scope": "DW",
    "insertOnly": false,
    "tableId": "SocialIdentity",
    "categoryId": "Profile",
    "resourceName": "socialidentities"
  },
  {
    "tenantId": 100,
    "name": "Social Engagement",
    "versionTS": 1579112492900,
    "active": true,
    "lastModifiedBy": "system",
    "createdTS": 1562190912869,
    "bucketingStrategy": {
      "fieldName": "ID",
      "numberOfBuckets": 4
    },
    "tablePrimaryKey": "ID",
    "sourceAttribute": "SourceSocialEngagementID",
    "scope": "DW",
    "insertOnly": false,
    "tableId": "SocialEngagement",
    "categoryId": "Behavioral",
    "resourceName": "socialengagements"
  }
...
  }
]

Learn more

Data Objects API

Sitemap