Smapone icon

Smapone

Interact with the Smapone API

Actions85

SmapsData → Load Single Data Record as Format

AI-generated

Summary

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.

Links

Discussion