Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Check-in assets with filter

MethodPUT
URL/rest/jip-api/1.0/asset-operations/check-in.json


Code Block
titleRequest Body
collapsetrue
{
  "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": 1589443129179
  }
}


Code Block
titleSample Response
collapsetrue
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 214,
  "pagingInfo" : null
}


Check-in selected assets

MethodPUT
URL/rest/jip-api/1.0/asset-operations/check-in.json


Code Block
titleRequest Body
collapsetrue
{
  "operation": 1,
  "sync": false,
  "assetIds": [
    94,
    95
  ]
}


Code Block
titleSample Response
collapsetrue
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 215,
  "pagingInfo" : null
}