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

Syncs

Set Salesforce Bulk API access

POST
/v1/workspaces/{workspace_id}/bases/{base_id}/apps/{app_id}/bulk-api-access

Switches the Salesforce Bulk API on or off for one app of a sync.

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
action*SwitchAction

ON to read and write the Salesforce app through its Bulk API, OFF for its REST API

Value in"ON""OFF"
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>/bulk-api-access

app_id*App Id
bulk_api_access*Bulk Api Access
Set Salesforce Bulk API access
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/apps/string/bulk-api-access?region=besg' \  -H 'Content-Type: application/json' \  -d '{  "action": "ON"}'
{  "app_id": "<app_id>",  "bulk_api_access": false}