Page tree
Skip to end of metadata
Go to start of metadata

Delete assets with filter

MethodDELETE
URL/rest/jip-api/1.0/asset-operations/delete-assets.json
Request Body
{
  "operation": 2,
  "sync": false,
  "queryIndexParam": {
    "querySource": "GENERIC_SEARCH",
    "searchType": "basic",
    "listType": "detail",
    "queryIndexSearchParams": [
      {
        "field": "form.name",
        "keywords": [
          "Sample"
        ],
        "fieldType": "LIST"
      }
    ],
    "pageNumber": 1,
    "pageSize": 15,
    "sortDirection": "asc",
    "sortField": "asset.name",
    "sortType": "STRING",
    "respTime": 1589443505893
  }
}
Sample Response
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 217,
  "pagingInfo" : null
}

Delete selected assets

MethodDELETE
URL/rest/jip-api/1.0/asset-operations/delete-assets.json
Request Body
{
  "operation": 1,
  "sync": false,
  "assetIds": [
    94,
    95
  ]
}
Sample Response
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 216,
  "pagingInfo" : null
}
  • No labels