Skip to end of banner
Go to start of banner

Check-in REST Services

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here.

On this page:

Check-in assets with filter

Method

PUT

URL

/rest/jip-api/1.0/asset-operations/check-in.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": 1589443129179
  }
}
 Sample response:
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 214,
  "pagingInfo" : null
}

Check-in selected assets

Method

PUT

URL

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

 Request body:
{
  "operation": 1,
  "sync": false,
  "assetIds": [
    94,
    95
  ]
}
 Sample response:
{
  "success" : true,
  "errorCode" : null,
  "errorMessage" : null,
  "data" : 215,
  "pagingInfo" : null
}


  • No labels