# Salesforce (v2)

Information note **Salesforce extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Salesforce tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-salesforce).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

Information note **Keep up with the latest Salesforce updates** with the [Salesforce Integration Changelog](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce/changelog).

## Salesforce integration summary

Stitch’s Salesforce integration replicates data from your Salesforce account. When setting up a Salesforce integration in Stitch, you can select one of the following Salesforce APIs to replicate your data:

* [Salesforce Lightning Platform REST API (v61.0)](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm)
* [Salesforce Bulk API (v61.0)](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm)

Each API has its own advantages and disadvantages, such as support for compound fields and specific objects. Learn more [in the setup guide](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#bulk-vs-rest-api).

## Salesforce feature snapshot

A high-level look at Stitch's Salesforce (v2) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on August 17, 2023 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-salesforce](https://github.com/singer-io/tap-salesforce) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Salesforce

### Salesforce setup requirements

To set up Salesforce in Stitch, you need:

* **To verify your object access.** Stitch will only be able to access and replicate the objects that the user setting up the integration has access to. Before beginning, we recommend verifying that you have access to everything you want to replicate.

* **To verify your API access.** To use Stitch’s Salesforce integration, your Salesforce account must have Web Service API access enabled.

  Some editions of Salesforce include Web Service API access while others don’t. Info about this feature can be found on [Salesforce’s plan details page](https://www.salesforce.com/editions-pricing/sales-cloud-b/) in the **Connect sales info to any app** section, located near the bottom of the page.

  Contact Salesforce support if you’re unsure about your Salesforce plan’s API access.

### Step 1: Set trusted IPs in Salesforce

Depending on how your Salesforce instance is set up, you may need to whitelist Stitch’s IP addresses. In Salesforce, this is referred to as “setting trusted IPs”.

Complete this step before proceeding with the rest of the setup, or you may encounter connection issues.

* [Step 1.1: Verify your Stitch account’s data pipeline region](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#verify-stitch-account-region)

* [Step 1.2: Set Stitch’s IP addresses as trusted IPs](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#set-trusted-ips)

#### Step 1.1: Verify your Stitch account's data pipeline region

The IP addresses you’ll whitelist depend on the [**Data pipeline region** your account is in](https://help.qlik.com/en-US/stitch/security/supported-data-pipeline-regions).

1. [Sign into your Stitch account](https://app.stitchdata.com/), if you haven’t already.

2. Click **User menu (your icon) &gt; Edit User Settings** and locate the **Data pipeline region** section to verify your account’s region.

3. Locate the list of IP addresses for your region:

   * [North America region IP addresses](https://help.qlik.com/en-US/stitch/security/stitch-ip-addresses#north-america-ip-addresses)

   * [Europe region IP addresses](https://help.qlik.com/en-US/stitch/security/stitch-ip-addresses#europe-ip-addresses)

Keep this list handy - you’ll need it in the next step.

#### Step 1.2: Set Stitch's IP addresses as trusted IPs

Next, you’ll add the IP addresses you retrieved in the [previous step](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#verify-stitch-account-region) to your Salesforce instance’s trusted IP list. [The instructions in this Salesforce article](https://help.salesforce.com/articleView?id=security_networkaccess.htm&type=0) will walk you through how to do this in Salesforce.

**Note**: Because Stitch’s IPs are exact IP addresses and not ranges, the same IP address must be entered in the **Start IP Address** and **End IP Address** fields in Salesforce.

### Step 2: Add Salesforce as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Salesforce** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Salesforce” would create a schema called `stitch_salesforce` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. If the instance you want to connect to Stitch is a **sandbox**, check the **Connect to a Sandbox Environment** box.

### Step 3: Configure Stitch's Salesforce API Usage

Usage of the Salesforce API depends on two factors:

1. The type of API used for data extraction (Bulk vs REST), and
2. The amount of standard API quota your account has. An API quota refers to the total number of API requests that can be made in a given period of time.

Stitch’s Salesforce integration allows you to control both of these settings so you can replicate data as you see fit.

* [Step 3.1: Select extraction API](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#bulk-vs-rest-api)

* [Step 3.2: Define standard API quota usage limits](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#configure-standard-api-quota-usage)

#### Step 3.1: Select extraction API

If you’re not sure which API you should use, take a look at the brief comparison below. Consider how much data you need to replicate, how often you require updates, how many additional apps are connected to your Salesforce instance, and so on.

Information note **Note**: The extraction API you select cannot be changed after the integration is saved.

Once you’ve decided, click radio button next to the API you want to use.

|  | **REST API** | **Bulk API** |
| --- | --- | --- |
| **Good for replicating** | Small data sets, more frequently<br><br>**Note:** Due to the design of Salesforce’s REST API, tracking a large number of columns in a single object can lead to replication issues. See [this guide](https://help.qlik.com/en-US/stitch/troubleshooting/salesforce-replication-too-many-columns) for more info. | Large data sets, less frequently<br><br>While the Bulk API allows for a greater number of tracked fields, Salesforce only allows each batch to be 5MB. |
| **API quota** | Total usage is calculated by your organization type, the type of licenses held, and the number of licenses.<br><br>Refer to [Salesforce’s documentation](https://developer.salesforce.com/docs/atlas.en-us.210.0.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm) for more info. | **Limited to 10,000 batches per day,** regardless of the standard API quota.<br><br>Refer to [Salesforce’s documentation](https://developer.salesforce.com/docs/atlas.en-us.210.0.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_bulkapi.htm) for more info. |
| **Structure sync**<br><br>the Help icon<br><br>The first step in the replication process, where Stitch looks for changes to the structure of your data, such as new objects or fields. | Uses the REST API and standard API quota. | Uses the Bulk API, REST API and standard API quota. |
| **Data extraction**<br><br>the Help icon<br><br>The second step in the replication process, where Stitch queries for and extracts data from a source. | Uses the REST API standard API quota. | Uses the Bulk API and Bulk API quota. Each query to an object uses one (1) batch, even if no data is replicated from the object.<br><br>If you have any other apps using the Salesforce API, you may consume your quota more quickly. |
| **Compound fields**<br><br>the Help icon<br><br>A compound field is a field that is comprised of other fields. Ex: An address field made up of street, city, state, etc. | Supported | [Unsupported by the Bulk API](https://help.salesforce.com/articleView?id=000204592&type=1).<br><br>Tracking the individual fields that make up a compound field - such as `street`, `city`, `state`, for a compound `address` field - will yield the same data. |
| **Unsupported objects**<br><br>the Help icon<br><br>Objects not available for replication through Stitch due to Salesforce API limitations. | The following objects require a querying strategy that Stitch doesn’t currently support. [Read more here](https://github.com/singer-io/tap-salesforce/blob/master/Blacklisting.md#query-restricted-objects).<br><br><ul> <li> <p>Announcement</p> </li> <li> <p>CollaborationGroupRecord</p> </li> <li> <p>ContentDocumentLink</p> </li> <li> <p>ContentFolderMember</p> </li> <li> <p>DataStatistics</p> </li> <li> <p>EntityParticle</p> </li> <li> <p>FieldDefinition</p> </li> <li> <p>FlexQueueItem</p> </li> <li> <p>IdeaComment</p> </li> <li> <p>OwnerChangeOptionInfo</p> </li> <li> <p>PicklistValueInfo</p> </li> <li> <p>PlatformAction</p> </li> <li> <p>RelationshipDomain</p> </li> <li> <p>RelationshipInfo</p> </li> <li> <p>SearchLayout</p> </li> <li> <p>SiteDetail</p> </li> <li> <p>UserEntityAccess</p> </li> <li> <p>UserFieldAccess</p> </li> <li> <p>Vote</p> </li></ul><br><br>The following objects are incompatible with querying. [Read more here](https://github.com/singer-io/tap-salesforce/blob/master/Blacklisting.md#query-incompatible-objects).<br><br><ul> <li> <p>Any <code>*ChangeEvent</code> object</p> </li> <li> <p>ActivityHistory</p> </li> <li> <p>AggregateResult</p> </li> <li> <p>AttachedContentDocument</p> </li> <li> <p>CombinedAttachment</p> </li> <li> <p>ContentBody</p> </li> <li> <p>EmailStatus</p> </li> <li> <p>FeedLike</p> </li> <li> <p>FeedTrackedChange</p> </li> <li> <p>FeedSignal</p> </li> <li> <p>FolderedContentDocument</p> </li> <li> <p>ListViewChartInstance</p> </li> <li> <p>LookedUpFromActivity</p> </li> <li> <p>Name</p> </li> <li> <p>NoteAndAttachment</p> </li> <li> <p>OpenActivity</p> </li> <li> <p>OutgoingEmail</p> </li> <li> <p>OutgoingEmailRelation</p> </li> <li> <p>OwnedContentDocument</p> </li> <li> <p>ProcessInstanceHistory</p> </li> <li> <p>UserRecordAccess</p> </li></ul> | **In addition to the objects listed in the REST API column**, the objects listed below are also unsupported by the Bulk API. [Read more here](https://github.com/singer-io/tap-salesforce/blob/master/Blacklisting.md#unsupported-objects).<br><br><ul> <li> <p>AcceptedEventRelation</p> </li> <li> <p>AssetTokenEvent</p> </li> <li> <p>AttachedContentNote</p> </li> <li> <p>CaseStatus</p> </li> <li> <p>ContentFolderItem</p> </li> <li> <p>ContractStatus</p> </li> <li> <p>DeclinedEventRelation</p> </li> <li> <p>EventWhoRelation</p> </li> <li> <p>PartnerRole</p> </li> <li> <p>QuoteTemplateRichTextData</p> </li> <li> <p>RecentlyViewed</p> </li> <li> <p>SolutionStatus</p> </li> <li> <p>TaskPriority</p> </li> <li> <p>TaskWhoRelation</p> </li> <li> <p>TaskStatus</p> </li> <li> <p>UndecidedEventRelation</p> </li></ul> |

#### Step 3.2: Define standard API quota usage limits

Next, you’ll define the percentage of your standard API quota Stitch is allowed to use. If these limits are reached, Stitch will pause replication and resume when additional quota becomes available.

Information note **Note**: Even if you choose the Bulk API for extraction, Stitch still requires usage of Salesforce’s REST API to detect changes and additions to objects and fields.

Before defining these limits, we recommend reviewing your overall API usage in Salesforce to ensure Stitch or other apps won’t be negatively impacted. This [Salesforce Salesforce topic](https://success.salesforce.com/answers?id=90630000000DOzAAAW) can help you locate your current API quota and usage.

|  | Description | Example |
| --- | --- | --- |
| **Max Percentage of<br><br>total standard API quota** | The percentage of your total API quota Stitch is allowed to use per 24 hour period.<br><br><br><br>**Note**: This includes API usage from other apps. | If set to **80%** and the quota is 10,000 calls 24 hour period:<br><br><br><br>10,000 x .8 = 8,000<br><br><br><br>Stitch will replicate data up until 8,000 calls are used across all your connected apps. |
| **Max Percentage of<br><br>standard API quota per job** | The percentage of your total standard API quota Stitch is allowed to use per replication job. | If set to **10%** and the quota is 10,000 calls:<br><br><br><br>10,000 x .1 = 1,000<br><br><br><br>Stitch will use up to 1,000 calls per replication job. |

Once you know what you want Stitch’s maximum allowed standard API percentages to be, enter them as whole numbers (ex: `80` for 80%) into their respective fields.

### Step 4: Define new field selection

By default, when new fields are added to Salesforce objects, Stitch will automatically detect and begin replicating data from them.

If you prefer to track new fields manually, uncheck the **Replicate new fields automatically** checkbox. **Note**: This setting cannot be changed after the integration is saved.

Information note

**Data for new fields in already-replicating tables**

Data in new fields in already-replicating tables will only be available for records added or updated **after** the column is tracked, whether they’re tracked manually or automatically. **This is only applicable to tables using Key-based Incremental Replication.**

To backfill columns - or get data for a new field into existing rows - you’ll need to queue a full re-replication of the table by resetting its Replication Key values on the **Table Settings** page.

### Step 5: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Salesforce integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Salesforce’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 6: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Salesforce integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 7: Authorize Stitch to access Salesforce

1. Next, you’ll be prompted to sign into your Salesforce account.
2. A screen asking for authorization to Salesforce will display. **Note that Stitch will only ever read your data.**
3. Click **Allow.**
4. After the authorization process successfully completes, you’ll be redirected back to Stitch.
5. Click **All Done**.

### Step 8: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Salesforce integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. **Optional**: To define a table’s [Replication Method](https://help.qlik.com/en-US/stitch/replication/replication-methods), click **Table Settings** on the right side of the page.

   Whenever possible, Stitch will default to using [Key-based Incremental Replication](https://help.qlik.com/en-US/stitch/replication/replication-methods/key-based-incremental). In these cases, the table’s Replication Key will be automatically selected and cannot be changed.

   To change the table’s Replication Method:

   1. Select the Replication Method you want the table to use. **Note**: Some tables can only be replicated using [Full Table Replication](https://help.qlik.com/en-US/stitch/replication/replication-methods/full-table). Key-based Incremental Replication will be greyed out when this is applicable.

   2. Click **Update Settings**.

5. Repeat this process for all the tables and columns you want to replicate.

6. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Salesforce, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Salesforce table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 2** of this integration.

This is the latest version of the Salesforce integration.

Stitch currently supports the replication of the majority of Salesforce objects, with the exception of those listed in the [**Unsupported Objects** row of this table](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#bulk-vs-rest-api).

To ensure we can provide you with up-to-date documentation, this section will only cover a few of the most popular tables Stitch’s Salesforce integration offers.

See the [Salesforce Object Reference](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_list.htm) guide for info on objects not listed here, including the fields available in each object.

### Custom Salesforce object and field replication

Stitch’s Salesforce integration supports the replication of custom objects and fields.

Custom object and field names are appended with `__c` to make identification easier. For example: `AE_Assignment__c` or `Assignment_Group_Name__c`

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### account

The `account` table contains info about the individual accounts (organizations and persons) involved with your business. This could be a customer, a competitor, a partner, and so on.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | systemModStamp |
| **Useful links** | [Salesforce documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_account.htm#! "Opens in new tab: Salesforce documentation")<br><br><br>[account schema on GitHub](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce "Opens in new tab: account schema on GitHub") |

account table foreign keys

| Join account with | on |
| --- | --- |
| [contact](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#contact) | ```<br>account.id = contact.accountId<br>```<br><br>```<br>account.ownerId = contact.ownerId<br>``` |
| [lead](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#lead) | ```<br>account.id = lead.convertedAccountId<br>```<br><br>```<br>account.ownerId = lead.ownerId<br>``` |
| [opportunity](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#opportunity) | ```<br>account.id = opportunity.accountId<br>```<br><br>```<br>account.ownerId = opportunity.ownerId<br>``` |
| [user](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#user) | ```<br>account.id = user.accountId<br>```<br><br>```<br>account.ownerId = user.id<br>```<br><br>```<br>account.ownerId = user.delegatedApproverId<br>```<br><br>```<br>account.ownerId = user.managerId<br>``` |

account table schema

| **accountNumber**<br><br><br>STRING |
| --- |
| **accountSource**<br><br><br>STRING |
| **annualRevenue**<br><br><br>NUMBER |
| **billingAddress**<br><br><br>STRING |
| **billingCity**<br><br><br>STRING |
| **billingCountry**<br><br><br>STRING |
| **billingCountryCode**<br><br><br>STRING |
| **billingGeocodeAccuracy**<br><br><br>STRING |
| **billingLatitude**<br><br><br>INTEGER |
| **billingLongitude**<br><br><br>INTEGER |
| **billingPostalCode**<br><br><br>STRING |
| **billingState**<br><br><br>STRING |
| **billingStateCode**<br><br><br>STRING |
| **billingStreet**<br><br><br>STRING |
| **cleanStatus**<br><br><br>STRING |
| **connectionReceivedId**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **dunsNumber**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **industry**<br><br><br>STRING |
| **isCustomerPortal**<br><br><br>BOOLEAN |
| **isDeleted**<br><br><br>BOOLEAN |
| **isPartner**<br><br><br>BOOLEAN |
| **isPersonAccount**<br><br><br>BOOLEAN |
| **jigsaw**<br><br><br>STRING |
| **lastActivityDate**<br><br><br>DATE-TIME |
| **lastReferenceDate**<br><br><br>DATE-TIME |
| **lastViewedDate**<br><br><br>DATE-TIME |
| **masterRecordId**<br><br><br>STRING |
| **naicsCode**<br><br><br>STRING |
| **naicsDescription**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **numberOfEmployees**<br><br><br>NUMBER |
| **operatingHoursId**<br><br><br>STRING |
| **ownerId**<br><br><br>STRING |
| **ownership**<br><br><br>STRING |
| **parentId**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **photoUrl**<br><br><br>STRING |
| **rating**<br><br><br>STRING |
| **recordTypeId**<br><br><br>STRING |
| **salutation**<br><br><br>STRING |
| **shippingAddress**<br><br><br>STRING |
| **shippingCity**<br><br><br>STRING |
| **shippingCountry**<br><br><br>STRING |
| **shippingCountryCode**<br><br><br>STRING |
| **shippingGeocodeAccuracy**<br><br><br>STRING |
| **shippingLatitude**<br><br><br>INTEGER |
| **shippingLongitude**<br><br><br>INTEGER |
| **shippingPostalCode**<br><br><br>STRING |
| **shippingState**<br><br><br>STRING |
| **shippingStateCode**<br><br><br>STRING |
| **shippingStreet**<br><br><br>STRING |
| **sic**<br><br><br>STRING |
| **sicDesc**<br><br><br>STRING |
| **site**<br><br><br>STRING |
| **systemModStamp**<br><br><br>DATE-TIME |
| **tickerSymbol**<br><br><br>STRING |
| **tradeStyle**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **website**<br><br><br>STRING |
| **yearStarted**<br><br><br>STRING |

### contact

The `contact` table contains info about your contacts, who are individuals associated with accounts in your Salesforce instance.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | systemModStamp |
| **Useful links** | [Salesforce documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contact.htm "Opens in new tab: Salesforce documentation")<br><br><br>[contact schema on GitHub](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce "Opens in new tab: contact schema on GitHub") |

contact table foreign keys

| Join contact with | on |
| --- | --- |
| [account](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#account) | ```<br>contact.accountId = account.id<br>```<br><br>```<br>contact.ownerId = account.ownerId<br>``` |
| [lead](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#lead) | ```<br>contact.accountId = lead.convertedAccountId<br>```<br><br>```<br>contact.id = lead.convertedContactId<br>```<br><br>```<br>contact.ownerId = lead.ownerId<br>``` |
| [opportunity](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#opportunity) | ```<br>contact.accountId = opportunity.accountId<br>```<br><br>```<br>contact.ownerId = opportunity.ownerId<br>``` |
| [user](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#user) | ```<br>contact.accountId = user.accountId<br>```<br><br>```<br>contact.id = user.contactId<br>```<br><br>```<br>contact.ownerId = user.id<br>```<br><br>```<br>contact.ownerId = user.delegatedApproverId<br>```<br><br>```<br>contact.ownerId = user.managerId<br>``` |

contact table schema

| **accountId**<br><br><br>STRING |
| --- |
| **assistantName**<br><br><br>STRING |
| **assistantPhone**<br><br><br>STRING |
| **birthdate**<br><br><br>DATE |
| **canAllowPortalSelfReg**<br><br><br>BOOLEAN |
| **cleanStatus**<br><br><br>STRING |
| **connectionReceivedId**<br><br><br>STRING |
| **connectionSentId**<br><br><br>STRING |
| **department**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **doNotCall**<br><br><br>BOOLEAN |
| **email**<br><br><br>STRING |
| **emailBouncedDate**<br><br><br>DATE-TIME |
| **emailBouncedReason**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **firstName**<br><br><br>STRING |
| **hasOptedOutOfEmail**<br><br><br>BOOLEAN |
| **hasOptedOutOfFax**<br><br><br>BOOLEAN |
| **homePhone**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **isDeleted**<br><br><br>BOOLEAN |
| **isEmailBounced**<br><br><br>BOOLEAN |
| **isPersonAccount**<br><br><br>BOOLEAN |
| **jigsaw**<br><br><br>STRING |
| **lastActivityDate**<br><br><br>DATE-TIME |
| **lastName**<br><br><br>STRING |
| **lastReferenceDate**<br><br><br>DATE-TIME |
| **lastViewedDate**<br><br><br>DATE-TIME |
| **leadSource**<br><br><br>STRING |
| **mailingAddress**<br><br><br>STRING |
| **mailingCity**<br><br><br>STRING |
| **mailingCountry**<br><br><br>STRING |
| **mailingCountryCode**<br><br><br>STRING |
| **mailingGeocodeAccuracy**<br><br><br>STRING |
| **mailingLatitude**<br><br><br>INTEGER |
| **mailingLongitude**<br><br><br>INTEGER |
| **mailingPostalCode**<br><br><br>STRING |
| **mailingState**<br><br><br>STRING |
| **mailingStateCode**<br><br><br>STRING |
| **mailingStreet**<br><br><br>STRING |
| **masterRecordId**<br><br><br>STRING |
| **middleName**<br><br><br>STRING |
| **mobilePhone**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **otherAddress**<br><br><br>STRING |
| **otherCity**<br><br><br>STRING |
| **otherCountry**<br><br><br>STRING |
| **otherCountryCode**<br><br><br>STRING |
| **otherGeocodeAccuracy**<br><br><br>STRING |
| **otherLatitude**<br><br><br>INTEGER |
| **otherLongitude**<br><br><br>INTEGER |
| **otherPhone**<br><br><br>STRING |
| **otherPostalCode**<br><br><br>STRING |
| **otherState**<br><br><br>STRING |
| **otherStateCode**<br><br><br>STRING |
| **otherStreet**<br><br><br>STRING |
| **ownerId**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **photoUrl**<br><br><br>STRING |
| **recordTypeId**<br><br><br>STRING |
| **reportsToId**<br><br><br>STRING |
| **salutation**<br><br><br>STRING |
| **suffix**<br><br><br>STRING |
| **systemModStamp**<br><br><br>DATE-TIME |
| **title**<br><br><br>STRING |

### lead

The `lead` table contains info about your leads, who are prospects or potential Opportunities.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | systemModStamp |
| **Useful links** | [Salesforce documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_lead.htm "Opens in new tab: Salesforce documentation")<br><br><br>[lead schema on GitHub](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce "Opens in new tab: lead schema on GitHub") |

lead table foreign keys

| Join lead with | on |
| --- | --- |
| [account](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#account) | ```<br>lead.convertedAccountId = account.id<br>```<br><br>```<br>lead.ownerId = account.ownerId<br>``` |
| [contact](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#contact) | ```<br>lead.convertedAccountId = contact.accountId<br>```<br><br>```<br>lead.convertedContactId = contact.id<br>```<br><br>```<br>lead.ownerId = contact.ownerId<br>``` |
| [opportunity](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#opportunity) | ```<br>lead.convertedAccountId = opportunity.accountId<br>```<br><br>```<br>lead.convertedOpportunityId = opportunity.id<br>```<br><br>```<br>lead.ownerId = opportunity.ownerId<br>``` |
| [user](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#user) | ```<br>lead.convertedAccountId = user.accountId<br>```<br><br>```<br>lead.convertedContactId = user.contactId<br>```<br><br>```<br>lead.ownerId = user.id<br>```<br><br>```<br>lead.ownerId = user.delegatedApproverId<br>```<br><br>```<br>lead.ownerId = user.managerId<br>``` |

lead table schema

| **PostalCode**<br><br><br>STRING |
| --- |
| **address**<br><br><br>STRING |
| **annualRevenue**<br><br><br>NUMBER |
| **city**<br><br><br>STRING |
| **cleanStatus**<br><br><br>STRING |
| **company**<br><br><br>STRING |
| **companyDunsNumber**<br><br><br>STRING |
| **connectionReceivedId**<br><br><br>STRING |
| **convertedAccountId**<br><br><br>STRING |
| **convertedContactId**<br><br><br>STRING |
| **convertedDate**<br><br><br>DATE-TIME |
| **convertedOpportunityId**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **countryCode**<br><br><br>STRING |
| **currencyIsoCode**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **division**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **emailBouncedDate**<br><br><br>DATE-TIME |
| **emailBouncedReason**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **firstName**<br><br><br>STRING |
| **geocodeAccuracy**<br><br><br>STRING |
| **hasOptedOutOfEmail**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **industry**<br><br><br>STRING |
| **isConverted**<br><br><br>BOOLEAN |
| **isDeleted**<br><br><br>BOOLEAN |
| **isUnreadByOwner**<br><br><br>BOOLEAN |
| **jigsaw**<br><br><br>STRING |
| **lastActivityDate**<br><br><br>DATE-TIME |
| **lastName**<br><br><br>STRING |
| **lastReferenceDate**<br><br><br>DATE-TIME |
| **lastViewedDate**<br><br><br>DATE-TIME |
| **latitude**<br><br><br>INTEGER |
| **leadSource**<br><br><br>STRING |
| **longitude**<br><br><br>INTEGER |
| **masterRecordId**<br><br><br>STRING |
| **middleName**<br><br><br>STRING |
| **mobilePhone**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **numberOfEmployees**<br><br><br>INTEGER |
| **ownerId**<br><br><br>STRING |
| **partnerAccountId**<br><br><br>STRING |
| **phone**<br><br><br>STRING |
| **photoUrl**<br><br><br>STRING |
| **rating**<br><br><br>STRING |
| **recordTypeId**<br><br><br>STRING |
| **salutation**<br><br><br>STRING |
| **scoreIntelligenceId**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **stateCode**<br><br><br>STRING |
| **status**<br><br><br>STRING |
| **street**<br><br><br>STRING |
| **suffix**<br><br><br>STRING |
| **systemModStamp**<br><br><br>DATE-TIME |
| **title**<br><br><br>STRING |
| **website**<br><br><br>STRING |

### opportunity

The `opportunity` table contains info about your opportunities, which are sales or pending deals.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | systemModStamp |
| **Useful links** | [Salesforce documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunity.htm "Opens in new tab: Salesforce documentation")<br><br><br>[opportunity schema on GitHub](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce "Opens in new tab: opportunity schema on GitHub") |

opportunity table foreign keys

| Join opportunity with | on |
| --- | --- |
| [account](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#account) | ```<br>opportunity.accountId = account.id<br>```<br><br>```<br>opportunity.ownerId = account.ownerId<br>``` |
| [contact](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#contact) | ```<br>opportunity.accountId = contact.accountId<br>```<br><br>```<br>opportunity.ownerId = contact.ownerId<br>``` |
| [lead](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#lead) | ```<br>opportunity.accountId = lead.convertedAccountId<br>```<br><br>```<br>opportunity.id = lead.convertedOpportunityId<br>```<br><br>```<br>opportunity.ownerId = lead.ownerId<br>``` |
| [user](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#user) | ```<br>opportunity.accountId = user.accountId<br>```<br><br>```<br>opportunity.ownerId = user.id<br>```<br><br>```<br>opportunity.ownerId = user.delegatedApproverId<br>```<br><br>```<br>opportunity.ownerId = user.managerId<br>``` |

opportunity table schema

| **accountId**<br><br><br>STRING |
| --- |
| **amount**<br><br><br>NUMBER |
| **campaignId**<br><br><br>STRING |
| **closeDate**<br><br><br>DATE-TIME |
| **connectionReceivedId**<br><br><br>STRING |
| **connectionSentId**<br><br><br>STRING |
| **currencyIsoCode**<br><br><br>STRING |
| **description**<br><br><br>STRING |
| **expectedRevenue**<br><br><br>NUMBER |
| **fiscal**<br><br><br>STRING |
| **fiscalQuarter**<br><br><br>INTEGER |
| **fiscalYear**<br><br><br>INTEGER |
| **forecastCategory**<br><br><br>STRING |
| **forecastCategoryName**<br><br><br>STRING |
| **hasOpenActivity**<br><br><br>BOOLEAN |
| **hasOpportunityLineItem**<br><br><br>BOOLEAN |
| **hasOverdueTask**<br><br><br>BOOLEAN |
| **id**<br><br><br>STRING |
| **isClosed**<br><br><br>BOOLEAN |
| **isDeleted**<br><br><br>BOOLEAN |
| **isExcludedFromTerritory2Filter**<br><br><br>BOOLEAN |
| **isSplit**<br><br><br>BOOLEAN |
| **isWon**<br><br><br>BOOLEAN |
| **lastActivityDate**<br><br><br>DATE-TIME |
| **lastReferenceDate**<br><br><br>DATE-TIME |
| **lastViewedDate**<br><br><br>DATE-TIME |
| **leadSource**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **nextStep**<br><br><br>STRING |
| **ownerId**<br><br><br>STRING |
| **pricebook2Id**<br><br><br>STRING |
| **pricebookId**<br><br><br>STRING |
| **probability**<br><br><br>INTEGER |
| **recordTypeId**<br><br><br>STRING |
| **stageName**<br><br><br>STRING |
| **syncedQuoteId**<br><br><br>STRING |
| **systemModStamp**<br><br><br>DATE-TIME |
| **territory2Id**<br><br><br>STRING |
| **totalOpportunityQuantity**<br><br><br>NUMBER |
| **type**<br><br><br>STRING |

### user

The `user` table contains info about the users in your organization.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | systemModStamp |
| **Useful links** | [Salesforce documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_user.htm "Opens in new tab: Salesforce documentation")<br><br><br>[user schema on GitHub](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce "Opens in new tab: user schema on GitHub") |

user table foreign keys

| Join user with | on |
| --- | --- |
| [account](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#account) | ```<br>user.accountId = account.id<br>```<br><br>```<br>user.id = account.ownerId<br>```<br><br>```<br>user.delegatedApproverId = account.ownerId<br>```<br><br>```<br>user.managerId = account.ownerId<br>``` |
| [contact](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#contact) | ```<br>user.accountId = contact.accountId<br>```<br><br>```<br>user.contactId = contact.id<br>```<br><br>```<br>user.id = contact.ownerId<br>```<br><br>```<br>user.delegatedApproverId = contact.ownerId<br>```<br><br>```<br>user.managerId = contact.ownerId<br>``` |
| [lead](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#lead) | ```<br>user.accountId = lead.convertedAccountId<br>```<br><br>```<br>user.contactId = lead.convertedContactId<br>```<br><br>```<br>user.id = lead.ownerId<br>```<br><br>```<br>user.delegatedApproverId = lead.ownerId<br>```<br><br>```<br>user.managerId = lead.ownerId<br>``` |
| [opportunity](https://help.qlik.com/en-US/stitch/integrations/saas/salesforce#opportunity) | ```<br>user.accountId = opportunity.accountId<br>```<br><br>```<br>user.id = opportunity.ownerId<br>```<br><br>```<br>user.delegatedApproverId = opportunity.ownerId<br>```<br><br>```<br>user.managerId = opportunity.ownerId<br>``` |

user table schema

| **aboutMe**<br><br><br>STRING |
| --- |
| **accountId**<br><br><br>STRING |
| **address**<br><br><br>STRING |
| **alias**<br><br><br>STRING |
| **badgeText**<br><br><br>STRING |
| **bannerPhotoUrl**<br><br><br>STRING |
| **callCenterId**<br><br><br>STRING |
| **city**<br><br><br>STRING |
| **communityNickname**<br><br><br>STRING |
| **companyName**<br><br><br>STRING |
| **contactId**<br><br><br>STRING |
| **country**<br><br><br>STRING |
| **countryCode**<br><br><br>STRING |
| **defaultCurrencyIsoCode**<br><br><br>STRING |
| **defaultDivision**<br><br><br>STRING |
| **defaultGroupNotificationFrequency**<br><br><br>STRING |
| **delegatedApproverId**<br><br><br>STRING |
| **department**<br><br><br>STRING |
| **digestFrequency**<br><br><br>STRING |
| **division**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **emailEncodingKey**<br><br><br>STRING |
| **emailPreferencesAutoBcc**<br><br><br>BOOLEAN |
| **employeeNumber**<br><br><br>STRING |
| **extension**<br><br><br>STRING |
| **fax**<br><br><br>STRING |
| **federationIdentifier**<br><br><br>STRING |
| **firstName**<br><br><br>STRING |
| **forecastEnabled**<br><br><br>BOOLEAN |
| **fullPhotoUrl**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **isActive**<br><br><br>BOOLEAN |
| **isPortalEnabled**<br><br><br>BOOLEAN |
| **isPortalSelfRegistered**<br><br><br>BOOLEAN |
| **isPrmSuperUser**<br><br><br>BOOLEAN |
| **isProfilePhotoActive**<br><br><br>BOOLEAN |
| **jigsawImportLimitOverride**<br><br><br>INTEGER |
| **languageLocaleKey**<br><br><br>STRING |
| **lastLoginDate**<br><br><br>DATE-TIME |
| **lastName**<br><br><br>STRING |
| **lastReferenceDate**<br><br><br>DATE-TIME |
| **lastViewedDate**<br><br><br>DATE-TIME |
| **latitude**<br><br><br>INTEGER |
| **localeSidKey**<br><br><br>STRING |
| **longitude**<br><br><br>INTEGER |
| **manager**<br><br><br>STRING |
| **managerId**<br><br><br>STRING |
| **mediumBannerPhotoUrl**<br><br><br>STRING |
| **middleName**<br><br><br>STRING |
| **mobilePhone**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **offlineTrialExpirationDate**<br><br><br>DATE-TIME |
| **phone**<br><br><br>STRING |
| **portalRole**<br><br><br>STRING |
| **postalCode**<br><br><br>STRING |
| **profileId**<br><br><br>STRING |
| **receivesAdminInfoEmails**<br><br><br>BOOLEAN |
| **receivesInfoEmails**<br><br><br>BOOLEAN |
| **senderEmail**<br><br><br>STRING |
| **senderName**<br><br><br>STRING |
| **signature**<br><br><br>STRING |
| **smallBannerPhotoUrl**<br><br><br>STRING |
| **smallPhotoUrl**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **stateCode**<br><br><br>STRING |
| **street**<br><br><br>STRING |
| **suffix**<br><br><br>STRING |
| **systemModStamp**<br><br><br>DATE-TIME |
| **timeZoneSidKey**<br><br><br>STRING |
| **title**<br><br><br>STRING |
| **userPermissionsCallCenterAutoLogin**<br><br><br>BOOLEAN |
| **userPermissionsChatterAnswersUser**<br><br><br>BOOLEAN |
| **userPermissionsInteractionUser**<br><br><br>BOOLEAN |
| **userPermissionsJigsawProspectingUser**<br><br><br>BOOLEAN |
| **userPermissionsKnowledgeUser**<br><br><br>BOOLEAN |
| **userPermissionsLiveAgentUser**<br><br><br>BOOLEAN |
| **userPermissionsMarketingUser**<br><br><br>BOOLEAN |
| **userPermissionsMobileUser**<br><br><br>BOOLEAN |
| **userPermissionsOfflineUser**<br><br><br>BOOLEAN |
| **userPermissionsSFContentUser**<br><br><br>BOOLEAN |
| **userPermissionsSiteforceContributorUser**<br><br><br>BOOLEAN |
| **userPermissionsSiteforcePublisherUser**<br><br><br>BOOLEAN |
| **userPermissionsSupportUser**<br><br><br>BOOLEAN |
| **userPermissionsWorkDotComeUserFeature**<br><br><br>BOOLEAN |
| **userPreferencesAcitivityRemindersPopup**<br><br><br>BOOLEAN |
| **userPreferencesApexPagesDeveloperMode**<br><br><br>BOOLEAN |
| **userPreferencesContentEmailAsAndWhen**<br><br><br>BOOLEAN |
| **userPreferencesContentNoEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisCommentAfterLikeEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisMentionsCommentEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisProfPostCommentEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableAllFeedsEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableBookmarkEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableChangeCommentEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableEndorsementEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableFeedbackEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableFileShareNotificationsForApi**<br><br><br>BOOLEAN |
| **userPreferencesDisableFollowersEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableLaterCommentEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableLikeEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableMentionsPostEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableMessageEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableProfilePostEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableRewardEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableSharePostEmail**<br><br><br>BOOLEAN |
| **userPreferencesDisableWorkEmail**<br><br><br>BOOLEAN |
| **userPreferencesEnableAutoSubForFeeds**<br><br><br>BOOLEAN |
| **userPreferencesEventRemindersCheckboxDefault**<br><br><br>BOOLEAN |
| **userPreferencesHideBiggerPhotoCallout**<br><br><br>BOOLEAN |
| **userPreferencesHideCSNDesktopTask**<br><br><br>BOOLEAN |
| **userPreferencesHideCSNGetChatterMobileTask**<br><br><br>BOOLEAN |
| **userPreferencesHideChatterOnboardingSplash**<br><br><br>BOOLEAN |
| **userPreferencesHideHideSecondChatterOnboardingSplash**<br><br><br>BOOLEAN |
| **userPreferencesHideS1BrowserUI**<br><br><br>BOOLEAN |
| **userPreferencesHideSfxWelcomeMat**<br><br><br>BOOLEAN |
| **userPreferencesJigsawListUser**<br><br><br>BOOLEAN |
| **userPreferencesLightningExperiencePreferred**<br><br><br>BOOLEAN |
| **userPreferencesPathAssistantCollapsed**<br><br><br>BOOLEAN |
| **userPreferencesReminderSoundOff**<br><br><br>BOOLEAN |
| **userPreferencesShowCityToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowCityToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowCountryToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowCountryToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowEmailToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowEmailToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowFaxToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowFaxToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowManagerToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowManagerToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowMobilePhoneToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowMobilePhoneToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowPostalCodeToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowPostalCodeToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowProfilePicToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowProfilePicToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowStateToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowStateToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowStreetAddressToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowStreetAddressToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowTitleToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowTitleToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowWorkPhoneToExternalUsers**<br><br><br>BOOLEAN |
| **userPreferencesShowWorkPhoneToGuestUsers**<br><br><br>BOOLEAN |
| **userPreferencesSortFeedByComment**<br><br><br>BOOLEAN |
| **userPreferencesTaskRemindersCheckboxDefault**<br><br><br>BOOLEAN |
| **userRoleId**<br><br><br>STRING |
| **userType**<br><br><br>STRING |
| **username**<br><br><br>STRING |