Actions85
- Account Actions
- Bricks Actions
- BricksDefinition Actions
- DataSource Actions
- DataSourceDefinition Actions
- DataSourceVersion Actions
- Groups Actions
- Helper Actions
- Scenarios Actions
- Smaps Actions
- SmapsData Actions
- Create Task for Given Version
- Delete Records of Version
- Delete Single Data Record
- Fill Template With Dummy Data
- Generate Dummy Record
- Get All Files Meta Data for Specific Data Record
- Load All Data Records for All Versions
- Load All Data Records for All Versions as Format
- Load All Data Records for Current Published Version
- Load All Data Records for Current Published Version as Format
- Load All Data Records for Given Major Version
- Load All Data Records for Given Major Version as Format
- Load All Data Records for Given Version
- Load All Data Records for Given Version as Format
- Load File for Specific Data Record
- Load Single Data Record
- Load Single Data Record as Format
- SmapsDefinition Actions
- SmapsNotification Actions
- SmapsTasks Actions
- SmapsVersions Actions
- Templates Actions
- UserImport Actions
- Users Actions
- UsersTokens Actions
SmapsData → Load All Data Records for Given Version
AI-generatedSummary
Load all data records for a specified smap ID and version, optionally filtering by record state and output format, with the option to mark loaded records as exported.
Inputs
- API — Selects the API scope, either 'Intern' or 'Preview'. This operation requires the 'Intern' scope.
- Smap ID (required) — The ID of the smap whose data records are to be loaded.
- Version (required) — The specific version of the smap for which to load all data records.
- Mark as Exported — Boolean flag to mark the loaded records as exported (true) or not (false). Defaults to false.
- Output Format — The desired output format of the data records: JSON (default), PDF, or XML.
- Record State Filter — Filters data records to those with a specific state: 'New' (default), 'Exported', or 'Incomplete'.
Output shape
a list of data records for the given smap ID and version, formatted as specified (JSON, PDF, or XML).
The returned list includes records filtered by the specified state if given. If 'Mark as Exported' is true, the retrieved records are updated to the exported state. Supports only the 'Intern' API scope.
Examples
Example 1: Load all new data records for smap ID '12345' and version '1.0' in JSON format without marking them as exported.
Set API to 'Intern', provide smapId='12345', version='1.0', leave 'Mark as Exported' false, output format 'JSON', and state filter 'New'.