FruxonDocs
ApiIntegration config sandbox

Bulk-import simulated entities into the sandbox.

Inserts a batch of simulated entities in a single call. Useful for seeding a sandbox from a fixture file. Existing entities with the same composite key are not overwritten; they are skipped (or returned with their existing payload, depending on configuration).

POST
/v1/tenants/{tenant}/integrations/{integration}/configs/{config}/sandbox:import
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

integration*string

The integration the sandbox belongs to.

config*string

The integration config id whose sandbox to write to.

Formatuuid
tenant*string

The tenant identifier

The batch of entities to import.

entities*|null
[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08/sandbox:import" \  -H "Content-Type: application/json" \  -d '{    "entities": [      {        "entityType": "string",        "entityId": "string",        "payload": "string"      }    ]  }'
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "entityType": "string",
    "scope": "string",
    "entityId": "string",
    "payload": "string",
    "tombstoned": false,
    "createdAt": 0,
    "modifiedAt": 0
  }
]
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}