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 Single Data Record as Format
AI-generatedSummary
Load a single data record from a specified smap and version, formatted as JSON, PDF, or XML, optionally marking the record as exported.
Inputs
- API (required) — Select the API scope to use: 'intern' or 'preview'. This example covers the 'intern' API.
- Smap ID (required) — The identifier of the smap to load data from.
- Version (required) — The specific version of the smap to target.
- Record ID (required) — The unique identifier of the data record to load.
- Output Format (required) — Format to retrieve the record in: JSON, PDF, or XML.
- Use Default — Whether to ignore any uploaded app template and use a newly generated default template.
- Mark as Exported — If set to true, marks the fetched data record as exported in the backend system.
Output shape
A single formatted data record, returned as JSON data, a PDF file, or XML content depending on the selected output format.
The output format influences the response data type: JSON returns parsed JSON, PDF returns a binary file, and XML returns XML content. If 'Mark as Exported' is enabled, the record's exported status is updated accordingly.