See Stacksync in action with a solution architect. Book a demo ↗
Syncs

Syncs

Set the Salesforce full table scan frequency

POST
/v1/workspaces/{workspace_id}/bases/{base_id}/apps/{app_id}/full-table-scan-frequency

Sets how often every record of Salesforce tables with formula fields is read again: Salesforce changes a formula field without changing the record's modified date, so only a full read catches it. Tables left out keep their frequency.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

base_id*string

The sync.

Formatuuid
app_id*string

One of the sync's two apps, as listed in the sync's apps.

Query Parameters

region*Regions

The region of the sync

Value in"besg""usnv"

Request Body

application/json
  1. body
tables*array<>

The tables to set; the app's other tables keep their frequency

Items1 <= items
validate_only?Validate Only

Run every check of the write and answer 204 without writing: a refused write answers the error the write would

Defaultfalse

Response Body

OK

application/json
  1. response

POST /bases/<base_id>/apps/<app_id>/full-table-scan-frequency: every table of the app with formula fields

app_id*App Id
tables*array<>
Set the Salesforce full table scan frequency
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/apps/string/full-table-scan-frequency?region=besg' \  -H 'Content-Type: application/json' \  -d '{  "tables": [    {      "table_mapping_id": "<table_mapping_id>",      "full_table_scan_frequency_in_seconds": 3600    }  ]}'
{  "app_id": "<app_id>",  "tables": [    {      "table_mapping_id": "<table_mapping_id>",      "table_name": "<table_name>",      "full_table_scan_frequency_in_seconds": 0    }  ]}