SysDeleteCatalogItem
Delete an existing Item catalog
Service | Operation |
---|---|
itemCatalog | SYS_DELETE_CATALOG_ITEM |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var defId = "sword001";
var version = 1;
var forceDeleteAnyState = False;
var itemCatalogProxy = bridge.getItemcatalogServiceProxy();
var postResult = itemCatalogProxy.SysDeleteCatalogItem(defId, version, forceDeleteAnyState);
{
"service":"itemCatalog",
"operation":"SYS_DELETE_CATALOG_ITEM",
"data":{
"defId":"sword001",
"version":1,
"forceDeleteAnyState":false
}
}
JSON Response
{
"status" : 200,
"data" : null
}
Method Parameters
Parameter | Description |
---|---|
defId | The unique id of the item definition. |
version | Version of catalog item to delete. For any version, specify -1. |
forceDeleteAnyState | false - Delete only if the item is in Revoked or Draft state. true - delete item irrespective of the state. |