Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.13
Sv translation
languageru

Описание: метод нужен для получения сведений о состоянии одной выгрузки.

Характеристики метода: GET.

Ресурс: xapi/etalonTable/{id}.

Параметры:

  • id – fingerprint_id редактируемого объекта.

Например: etalonTable/0123456789ABCDEF

Блок кода
languagetext
titleТело ответа:
collapsetrue
{
    "FINGERPRINT_ID":    "string",
    "TYPE":              "string",
    "SOURCE":            "string",
    "DISPLAY_NAME":      "string",
    "NOTE":              "string",
    "CONDITION_COLUMNS": "string",
    "CREATE_DATE":       "string",
    "CHANGE_DATE":       "string",
    "STATUS":            "string"
    "content":           [
        {
            "CONTENT_ID":   "string",
            "CHECKSUM":     "string",
            "CONTENT_SIZE": "integer",
            "CONTENT_MIME": "string"
        }
    ]
}

Поле STATUS может иметь следующие значения:

  • sending – отправка данных на компилятор;
  • sent – данные отправлены на компилятор, и начинается компиляция;
  • compiling – идёт идет компиляция документа;
  • compiled – документ готов;
  • saving – идет сохранение;
  • ready – документ сохранёнсохранен, готов для дальнейшего внесения в него изменений и не блокирует применение конфигурации;
  • fatal_error – произошла ошибка во время сохранения документа, и операция не может быть повторена или продолжена;
  • duplicate – произошло дублирование данных content (можно продолжать загружать содержимое);
  • not_match_delimiter – строки в выгрузке не содержат разделителя символов (COMMA или TAB);
  • wrong_column_count – количество колонок в строке не совпадает с количеством колонок, которое было указано при создании выгрузки;
  • error – временная ошибка, можно попробовать ещё еще раз через некоторое время (лучше через час);
  • max_words - превышено допустимое количество слов;
  • max_columns - превышено допустимое количество столбцов.
Sv translation
languageen

Description: the method is required to get information about the state of a single unloading.

Method features: GET.

Ресурс: xapi/etalonTable/{id}.

Parameters:

  • id – fingerprint_id of the object being edited.

Example: etalonTable/0123456789ABCDEF

Response

Блок кода
languagetext
titleThe response body:

{

collapsetrue
{

    "FINGERPRINT_ID":    "string",


    "TYPE":              "string",


    "SOURCE":            "string",


    "DISPLAY_NAME":      "string",


    "NOTE":              "string",


    "CONDITION_COLUMNS": "string",


    "CREATE_DATE":       "string",


    "CHANGE_DATE":       "string",


    "STATUS":            "string"


    "content":           [


        {


            "CONTENT_ID":   "string",


            "CHECKSUM":     "string",


            "CONTENT_SIZE": "integer",


            "CONTENT_MIME": "string"


        }


    ]


}

The status field can have the following values:

  • sending – sending data to the compiler;
  • sent – data has been sent to the compiler, and compilation has been started;
  • compiling – the document is being compiled;
  • compiled – the document is ready;
  • saving – the document is being saved;
  • ready – the document has been saved, it is ready for further changes and does not block applying the configuration;
  • fatal_error – an error occurred when saving the document, the operation cannot be repeated or continued;
  • duplicate – the content data is duplicated (loading the content can be continued);
  • not_match_delimiter – rows in the unloading do not contain delimiters (COMMA or TAB);
  • wrong_column_count – the number of columns in the row does not match the number of columns that was specified when creating the unloading;
  • error – a temporary error, you can try the operation again in some time (better in an hour);
  • max_words - the maximum number of words is exceeded;
  • max_columns - the maximum number of columns is exceeded.