User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.apiDelete

## Overview This is a script function that allows you to delete records and Wikis using an Ajax POST request. ## How To Use ##### JavaScript ``` $p.apiDelete({ id: <Record ID>, done: <Optional Processing>, fail: <Optional Processing>, always: <Optional Processing> }); ``` ## Description Of Each Parameter |Parameter name|Description| |:--|:--| |Record ID|Record ID to operate on| |Optional processing|Processing when API communication is successful (done: required), when it fails (fail: optional), and when it is completed (always: optional)| ## How To Write ##### JavaScript ``` $p.apiDelete({ id: 123, done: function (data) { console.log(data); }, fail: function (data) { console.log(data); }, always: function (data) { console.log(data); } }); ``` ## Sample Code [FAQ: Sample code: I want to delete another record when the status becomes complete](/manual/faq-delete-complete-record)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.