Add support for bulk record delete

This commit is contained in:
Denis Arh
2020-02-18 09:11:17 +01:00
parent dffeba1cb9
commit 1da269abc7
8 changed files with 246 additions and 35 deletions
+22
View File
@@ -972,6 +972,28 @@
]
}
},
{
"name": "bulkDelete",
"method": "DELETE",
"title": "Delete record row from module section",
"path": "/",
"parameters": {
"post": [
{
"type": "[]string",
"name": "recordIDs",
"required": false,
"title": "IDs of records to delete"
},
{
"type": "bool",
"name": "truncate",
"required": false,
"title": "Remove ALL records of a specified module (pending implementation)"
}
]
}
},
{
"name": "delete",
"method": "DELETE",
+22
View File
@@ -269,6 +269,28 @@
]
}
},
{
"Name": "bulkDelete",
"Method": "DELETE",
"Title": "Delete record row from module section",
"Path": "/",
"Parameters": {
"post": [
{
"name": "recordIDs",
"required": false,
"title": "IDs of records to delete",
"type": "[]string"
},
{
"name": "truncate",
"required": false,
"title": "Remove ALL records of a specified module (pending implementation)",
"type": "bool"
}
]
}
},
{
"Name": "delete",
"Method": "DELETE",