1C Kodyaz icon

1C Kodyaz

1C:Enterprise serveri ilə işləmək üçün vahid node — kəşf, oxu, izləmə, yazma və toplu emal

JSON Strukturunu Öyrən

AI-generated

Summary

Retrieve the JSON field structure of a selected 1C object by fetching sample records to illustrate field names, types, and example values for use in building POST request bodies.

Inputs

  • Obyekt (required) — Specify the 1C object whose JSON structure you want to learn (e.g., Справочник/Kontragent or Документ/AlışSənədi). This can be selected from metadata or entered manually with a strict format.
  • Nümunə Sayı — Set how many sample records to read to determine the JSON schema structure. Reading more samples provides a better schema but up to a maximum of 5.

Output shape

a single item containing a JSON object

Returns a JSON object including the entity path, total records count, number of samples read, a schema dictionary with fields as keys and their types and example values as values, plus the sample records themselves. If no records exist, returns a message indicating the structure could not be determined.

Examples

Example 1: Learn JSON structure of a 1C object

Set operation to 'JSON Strukturunu Öyrən', select an object, and optionally define number of sample records to read.

Links

Discussion