| Sv translation | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Описание: метод предназначен для обновления содержимого выгрузки. Все записи эталонной выгрузки будут удалены, и после этого добавится новая запись. Данный метод можно использовать для первичного наполнения.
Характеристики метода: POST, асинхронный. Ресурс: Параметры:
Например: Content-type тела запроса должно быть не Content-Disposition, который будет содержать файл, должно должен иметь поле Возможные значение ошибок поля CONTENT:
В случае успеха – код возврата «200» и тело ответа:
После получения кода возврата «200» нужно взять поле FINGERPRINT_ID и по нему проверять состояние выгрузки, пока статус не перейдет в состояние ready.
|
| Sv translation | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Description: the method is required to update the unloading contents. All entries of the sample unloading will be deleted, and then, a new entry will be added. This method can be used for the initial filling of the unloading.
Methods features: POST, asynchronous. Resource: xapi/etalonTable/{id}/content/replace. Parameters:
Example: enatalonTable/0123456789ABCDEF/content/replce Content-type of the request body should be not
Content-Disposition that will include the file should have the Possible values of errors for the CONTENT field:
In case of success – the return code is "200" and the response body is as follows:
After getting the "200" return code, you should take the FINGERPRINT_ID field and use it for the checking the unloading state, until the state changes to "ready".
|