URL: /api/v1
Method: POST
Команда | Запрос | Дополнительные предварительные действия |
---|---|---|
cleanup | "command" : { "plm_type_code": ${user_cube}, "state": ${cleanup}, //удалить записи из мультисферы "cube_id": string, //CubeIdShort, или UUID_1, идентификатор очищаемой мультисферы "cleanup": CleanUp //механизм очистки мультисферы } |
Команда | Ответ |
---|---|
cleanup_rp | "command" : { "plm_type_code": ${user_cube}, "state": ${cleanup_rp} } |
Значение идентификатора CubeIdShort см. в разделе CubeDesc в таблице «Описание параметров» на странице «user_cube / Действия над мультисферами».
Структура параметра CleanUp также описана в указанной таблице.
Пример запроса:
{ "state": 0, "session": "", "queries": [ { "uuid": "dc969c81-50638633-d67c9059-f2354318", "command": { "plm_type_code": 208, "state": 58, "cube_id": "fb0c1d80", "cleanup": { "querying_datasources": [ { "datasource_id": "484f64ea", "query": "select [key] from DIFF_data.dbo.dkamyzin_delete_and_increment where [key]=26", "field_id": "3deff8c4" } ], "start_update_after": true } } } ] }
Пример ответа:
{ "plm_type_code": 208, "state": 59 }